
Search In
Breadcrumbs is very useful in navigation. It is defined as a navigation technique that offers link to the home page to the user navigated through to arrive at the current post/page.There are so many plugins that is used to add breadcrumbs in wordpres
An Expression is a combination of operators, constants and variables arranged as per rules of language. It may also include function calls which return values. An expression may consist of one or more operators and zero or more operator to produce va
VTABLE- C++ uses a special form of a runtime method binding to implement virtual functions which is called virtual table. Virtual table is a table of functions used to accomplish function calls in a dynamic binding manner. Virtual binding
RMI stands for Remote Method Invocation to create distributed application in java. In this object access to invoke method (goes to the machine to execute method and returns the result to the other machines). In RMI client invokes the method and
Virtual function is a member function in base class, which is redefined in the derived class.
Virtual function is declared by using the keyword virtual.
Syntax of virtual function:
class main_Class // denotes the base class of virtual func
Attribute routing in MVC is used to call your Web API methods.
You can define the route and theri prefixes so that whenever these API are called you can call it with your defined name.
You can bind the route according to your need b
In PHP files we have weak type-checked content (Weak type-checked means no way to check the variable is of what type). Now, in PHP7 we can check what type variable we are using in our code by using SCALAR TYPE.
Declare scalar type in the starting of
We use $location service or $window to redirect to a new URL. $location exposes the URL to the browsers address bar and makes it available to the application. It reflects the changes either side ,i.e. synchronizes the changes and maintains it between
If we are required to have a custom module and wanted to save some data in magento cache, we will use cache in our custom modules.
To save the data in cache lets see,
$data = array(1,2,3,4);
$id = 'my_mod_id';
$tags = array('collection');
$
With inheritance in ruby we can share parent class behavior to child classes. We can also override these methods in child classes.
A built-in function called super is provided by Ruby. This method allows us to call methods up the inheritance
