
Search In
Hello Friends,
Generally lots of programmer get confuse why we have three different things Component, Helper and Behavior in CAKEPHP while its seems to work same. Well the answer is yes all three items in CakePHP do the same kind of job, it extend c
In this small tutorial we will learn how we use the “npm start” command in node.js.Let us create a simple node application using express framework:
npm install -g express-generator
express mynodeapp
cd mynodeapp/ && npm insta
We can change the background color of the members of the list using filter() function in jQuery.
Note: The filter() function matches each element with the supplied selector and creates a subset of the matching elements.
Let us understand wit
So the first question will come in your mind is, What is REST?
Well, REST is an abbreviation for “representational state transfer”. It is an architectural style and also can be defined as an approach to communication that is
To shuffle(randomize) an array in javascript, there is an algorithm called Fisher-Yates devised and Don Knuth popularized algorithm.
Below is the code for using it:-
Arr.prototype.shuffle = function() {
var input = this;
for (var i = input
When we are going to develop a web application which contains restricted resources then we have major issue related to authentication and authorization for accessing those restricted resources. We all know the concept of cookie based authentica
Hi,
This blog is to help you to get Facebook Authentication through OAuth using Java. As Facebook is not offering any SDK for Java clients so with the use of a Json parser we are going to develop a small web application in order to use&nbs
Hello Reader's if you want to know the users which are accessing your website then you can get them by their IP. Lets see the example as below:-
Try this simple PHP function.
<?php
function ip_info($ip = NULL, $purpose = "location", $deep_detec
In below example I have written Python script to the partner's sale currency . Use below python code in .py file :
for order in self.pool.get('pos.order').browse(cr, uid, ids, context=context):
if order.invoice_id:
i
Hi Friends,
Sometimes we need to compress some files programmatically in our code particularly in the case when you are developing any multiple download scenario. We compress the files for following reasons:
1-Compressed files are smaller in size,
