
Search In
Functions which can retrieve the request object, response object and the next middleware function in the application’s request-response cycle are Middleware.
The concept behind middleware is same as Filters in other languages.
Features
Hello Readers,
Below blog shows the call of the model from one component to another component.
For Example - We have a two different components in Joomla :
>> comp1
comp1->model->m1
model: m1
comp1->controller->c
Rails has a nice way to protect yourself from CSRF attacks through threatening HTML encoding from anything you write between <%= %>. But there is a caution, you want to render HTML from string so you need to tell rails that it should not escape
Sending an e-mail with an attachment through a .net application include these simple steps:-
1)- Use the following namespaces -
using System.Net;
using System.Net.Mail;
using System.IO;
2)- Call the following function where you have to send
.NET has introduced a thread safe dictionary (4.0 onward). Essentially, it does something similar like conventional dictionary plus lock system. Read the MSDN documentation for the same at following link:
http://msdn.microsoft.com/en-us/library/ee37
Here is just one thing to do: create the Python function which is called by the automated action.
The Python function ‘process_demo_check_queue’ will automatically create and update the value called by automated action.
So let us create this in the P
Sometimes wee need to call an API or action to get matching list with the provide keyword in Search box, for this we usually implemente autocomplete feature to input field for searching purpose by doing AJAX call.
Example: In the below example I'm u
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
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
Validating an empty field on submit through JavaScript
As we know in almost all the web applications we have forms which contain text boxes and text fields to input some data and submit it. Sometimes knowingly or unknowingly users can submit the for
