
Search In
render and redirect_to works in the similar way in your web browser , as they both takes you to a new page but the only difference between them is :
When you call render it creates a complete response which is sent to your browser.
If we do
The angularjs $watch, $digest and $apply are essential parts. You must know the difference between them. Here we are going to discuss them.
$watch():
In Angular, you often need to do data binding to modify data. When you do some data binding on $sco
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
If we want to create custom animation than for this purpose jquery animation is used.
jquery animation method syntax is below:-
Syntax :-
$(part to be selected).animate({parameters},speed,callback);
Queue functionality of jquery animate(
It is always good practice to break your code into smaller files which are more meaningful as per the actions being performed in them. Splitting files into smaller one will require us to have some way by which we can call each other as required and e
As we know a class can have any number of objects and each object is different from one another. The thing that distinguish one object from another is the attributes they have. So in order to write and read these attributes we have some methods in Ra
Use of Super Keyword and Mixins In Ruby
Super Keyword
Ruby gives us with a built-in function called super that allows us to call methods which are present in its super class.
The use of inheritance is to make the overridden methods in a subc
Method Overloading
Method overloading can be achieved by declaring two methods with the same name and different signatures. These different signatures can be either
1.Arguments with different data types, eg: method(int a, int b) vs method(St
Hi Reader's,
Welcome to FindNerd,today we are going to discuss helpers in cakephp 2.x.
If we are making any web application in CakePHP then sometimes we have to use helper for extending the functionality of view. Because helper is used for makin
There are n number of situation where we want to call a function before or after an action. In Codeigniter, we can implement this by using Hooks. In-other-word, we can say Hooks are the event which can be called before or after the execution of an ev
