Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

What is the difference between Component, Helper and Behavior in CakePHP

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

Use of “npm start” command in nodejs

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

How to change the background color of even elements in the list?

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

How to Create RESTful API using NodeJS & MongoDB

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

How to shuffle an array in javascript?

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

Token Based Authentication using Postman as Client and Web API 2 as Server

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

Facebook OAuth Authentication using Java

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

How to list the visitor to your website using PHP

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

How to set the partner's sale currency in OpenERP (Odoo) ?

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

How to implement zip compression in .Net ?

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,

1 144 408
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: