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

Search In

Discussion on Group By in Cakephp

Hi Reader's, Welcome to FindNerd, today we are going to discuss Group By in Cakephp In Cakephp web application sometimes we need to fetch data from database according to group field name. So GROUP BY statement is used in conjunction with the agg

Advantage of "loadModel" over "$uses"

Advantage of loadModel over uses While using "$uses", many unrelated model gets loaded. So it's best practice to use it only when it is needed through out the controller. If you only need it randomly then loadModel(). Another way of loading a model

Difference between $uses and $this->loadModel() in CakePHP

 $uses: $uses is  used to load model in a controller. It defines which models the controller has access to by default. We can load multiple models easily using $uses. But it is not a good practice to load all models at once. Best way

How to Make Database Association on Selected Pages In Cakephp

If you want to make Database Association on Selected Pages In Cakephp follow the below steps, Below code can set association where it require and you can also reduce unnecessary queries firing to database. Make function in your model and set your

Model Validation Using cakephp 3.x with Example

As we all know that validation plays an important role in any technology. In cakephp 3.x we will implement either model validation or javascript validation. Steps to implement model validation is as follow. Step 1: Fisrt we have to set the validatio

Naming Conventions in CakePHP

If You are confused in CakePHP naming Conventions this blog helps you more to Understand about the Naming Conventions. All naming Convention Depends on your database table name which should be proper name. When Your are creating CakePHP Project you

How to speed up your CakePHP Website

Hello Readers, These are some techniques to speed up the cakephp website:- 1. Upgrade versions regularly When you work on cakephp website.You need to upgrade your Cake website to the latest version in order to keep it performing at its best. 2.

Cake was unable to write to File cache in cakePhp

Hello All, In this blog we will discuss about the File cache write problem in CakePhp application. Everytime when you install new version of the cakePhp or port your code on to the server you come across this error depicting that the cake is unable

How to set error_reporting on cake php

Hello Friends, If you are new in cakephp you might face issue like error not display on screen rather than a blank screen appear. To avoid this problem you need to open "/var/www/html/nyxmyx/app/Config/core.php" and set variable as below

How to write forward SQL query in cakephp2.x

We might be familiar with the cakephp simple feature which allows us to retrieve and save data in database using find() and save() functions respectively. But there is an another way of writing forward SQL queries in cakephp through which we can wri

1 3 … 18
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Reset Password
Fill out the form below and reset your password: