Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles by Nitya Raut
Page 6 of 16
Standards for maintaining Customer Repository Objects in SAP
In SAP development, proper namespace management is crucial for maintaining Customer Repository Objects. Understanding the distinction between Y-namespace and Z-namespace helps organizations maintain clean, organized development standards. Y-Namespace vs Z-Namespace The Y-namespace is meant to be used for centrally developed solutions or also known as head office while the Z-namespace is used for local developed solutions or also known as branch office. But at the end of day, it all depends on the developer how he uses it. Standard Repository Object Naming Conventions ...
Read MoreOData or Java Services to be consumed by SAP UI5 application
Before I make any proposal, I am assuming that you understand both OData and REST very well. REST is a well-known and accomplished architecture style whereas OData is a protocol for communication. OData resides on top of AtomPub protocol which in turn is based on REST, so overall OData seems to follow REST path only and it is implemented in a similar manner. Understanding the Architecture The relationship between these technologies can be visualized as follows − REST Architecture AtomPub Protocol ...
Read MoreDelete duplicate alphanumeric entries from column data in SQL
You can use regular expressions to remove duplicate consecutive alphanumeric characters from column data in SQL. The REPLACE_REGEXPR function with pattern matching allows you to identify and replace repeated characters with a single occurrence. Syntax The basic syntax for removing duplicate alphanumeric entries using regular expressions is − REPLACE_REGEXPR ('([A-Za-z0-9])\1+' in column_name WITH '\1' OCCURRENCE ALL) Where ([A-Za-z0-9])\1+ is the regex pattern that captures any alphanumeric character and matches one or more consecutive occurrences ...
Read MoreaddEventListener for keydown on HTML5 Canvas
By default, the HTML5 element cannot receive keyboard focus, which means keydown events will not fire on it. To make the canvas focusable and responsive to keyboard events, you need to add the tabindex attribute to the canvas element. Once the canvas has focus (after being clicked or tabbed to), it can listen for keyboard events. Why tabindex Is Needed Keyboard events like keydown, keyup, and keypress only fire on elements that have focus. Since is not a form element, it is not focusable by default. Adding tabindex="0" makes it part of the normal tab order, allowing it ...
Read MoreReplace substring with another substring C++
Here we will see how to replace substring with another substring. It replaces the portion of the string that begins at character pos and spans len characters.The structure of the replace function is like below:string& replace (size_t pos, size_t len, const string& str, size_t subpos, size_t sublen);The parameters are pos: It is an insertion point, str : It is a string object, len : It contains information about number of characters to erase.AlgorithmStep 1: Get the main string, and the string which will be replaced. And the match string Step 2: While the match string is present in the main string: Step 2.1: Replace it with the given ...
Read MoreCreate a StringBuffer object using a reference stored in a variable of type String in Java
To create a StringBuffer Object, we use the following syntax −StringBuffer s=new StringBuffer();When we create a reference to an object, we use the assignment operator. For example, String s1 = ”hi”; String s2 = s1; // s2 is a reference of s1A program to illustrate the creation of a StringBuffer object using a reference stored in a variable of type String is given below −Examplepublic class Example { public static void main(String args[]) { String input = "hey"; String s1 = input; // creating a reference of the String StringBuffer ...
Read MoreMedia object in Bootstrap
Use the .media-object class in Bootstrap to set the media object −Example Bootstrap Example Lolcode Tutorial Introduction LOLCODE is an esoteric programming language inspired by the funny things on the Internet. It is designed to test the boundaries of programming language design.
Read MoreBootstrap alert-danger class
The alert-danger class in Bootstrap is used to set danger action.You can try to run the following code to implement the alert-danger class in Bootstrap −Example Bootstrap Example This is danger action!
Read MoreCreate a blue button (primary) with Bootstrap
Use the .btn-primary class in Bootstrap to create a primary button in Bootstrap that is blue in color −Example Bootstrap Example Click below if you want to know the result: Result
Read MoreAdd a blue background color to simulate a pressed button in Bootstrap
To add a blue background color to simulate a pressed button, use the primary button in Bootstrap as in the following code −Example Bootstrap Example Score Result (2018) Result (2017)
Read More