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

Search In

Why to use CakePHP ?

Code generation: CakePHP Framework generates the code automatically using the bake command which enable the developer to execute the bake command. Database: programmer is not required to write Insert, update, select & delete queries because Cake

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

Submitting current timestamp in CakePHP

Hi If you want to send curret_timestamp, you can store it by using function below. DboSource::expression('NOW()'); Lets take an example, save your timestamp in a key 'your_datetime_field' $this->data['SomeModel']['your_datetime_field'] = DboS

What are Hooks in CakePHP ?

Hooks are the functions that we can call before and after doing any task in Models ( database related ). Like after finding data, before saving data etc. e.g beforeSave(), afterSave(), beforeFind(), afterFind() etc. <?php class Classname extends

What are the benefits of Cake PHP frameworks

1.CakePhp is basically a framework which is based on MVC pattern i.e(model view controller). 2.Cakephp have built in validation. 3.Cakephp have fast and flexible php syntax with helpers. 4.Cakephp is very friendly because developer done their code

Naming Conventions in CakePHP- Model, View, and Controller

CakePHP model, view, and controller naming conventions If we have a database with table named users, then following standard Cake PHP naming conventions should be used: 1. For Model filename = User.php classname = User directory = app/model

How to fetch all data from model in cakephp 2.x

In cakephp it allows a beautiful feature that helps in fetching all the data of the Model and set on the view. The fetching can be done in cakephp with the find method and the set function is used to set the data on the view. The find method can be u

Installation process of CakePHP 3.x

Welcome to FindNerd. We are going to discuss the installation process of CakePHP 3.x. You can simply download the CakePHP setup from github or you can download using composer. You need a web server and CakePHP setup to start the installation. Here we

HABTM in cakephp?

HABTM stands for Has And Belongs To Many. Its is a cake php associations that we defined in a models for accesing associated data across different entities over the database tables. Example - A product have more then one tags, and in the same case

How to create global variables in CakePHP?

The majority of the developers, develop skepticism in which, what's the correct place/Page in which they should declare the constant variable in cakephp. Previous going to variable declaration, we must consider that any of us will work over a MVC pl

1 5 18
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: