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

Search In

User of Recursive in cakephp

It is used where ample data is fetched from the query and there are numerous levels of associations between your models. we use Recursive like this way. $this->Region->find('all', array('recursive' => 0)); These are levels of Recursive f

Drupal 7 database API

Drupal database abstraction layer allow's the use of different database servers using the same code base i.e it provides with the ability to support multiple database servers easily. The system is built a top PHP's PHP Data Objects database API and

'Failed to open stream: Permission denied' error - Laravel

Some time in Laravel 4.x we will get the error "Failed to open stream: Permission denied" error .When we have no permission then this type of error will occur. So to overcome this problem by using php artisan are: Step: php artisan cache:clear c

Foreach in reverse order

We can use array_reverse function to invert the values of array.This way we can allow them to get reverse order. Ex : - $data = Array( 'ProductA', 'ProductB', 'ProductC', 'ProductD', 'ProductE' ); foreach ( array_reverse($data) as $valu

Event Loop in node.js?

As we know that , Node js is a single threaded application but it also support concurrency based on concept of event and callbacks. Every api that we are doing using node.js are asynchronous and single thread,node js uses asynchronous function ca

How to Clearing floats

A common problem with float-based layouts is that the floats' container doesn't want to stretch up to accomodate the floats. If you want to add, say, a border around all floats (ie. a border around the container) you'll have to command the browsers s

Concept Of AJAX

AJAX----- Asynchronous JavaScript and XML. We use AJAX when we are using the concept of " B to B " or "B to C" B to B -- business to business ........................................// user to website. B to C -- business to costumers...............

SQL query to add column's values, containing null values

Write a sql query to add column's value , containing null values also in records. But the sum of the added columns must be numeric only. Output cannot be null. It can be achieve by two ways. SELECT (COALESCE(Column1, 0) + COALESCE(Column2, 0)) as

ACID property of database

Full form of ACID is Atomicity Consistency Isolation Durability . ACID is the concept that database professional follow while evaluating relational database and application architecture. For a reliable database all of the following attributes should

How to copy entire folder in linux

While working on linux we usually need command to copy folder from one location to another , this can be archived by simple console commands in a simple way : cp -r sourcedir targetdir : Where -r means recursively i.e all the files in a folder For

1 34 363
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: