
Search In
How to check if record exists in Cakephp 3
I am writing this blog for them who are learning Cakephp 3. This blog will going to help you to find the solution for checking if record exists.
In Cakephp 2 we can check records which exist by usi
Hello Readers,
Below is used to update the single field in CakePHP.
In CakePHP, if we can update the one field into the database to do this w have two methods to update the field.
1> First using savefield() method:
Example:
$this->ModelNa
Discussion on CakePHP 3.0
Welcome to FindNerd. Today our discussion is based on cakePHP. We all knows CakePHP has been launched its version with bulk of changes. If you check CakePHP3 then you can see lots of changes, changes in concept, fil
Association is the relationship between two models. By using associations we can join tables. It is like a glue between different related models. Cakephp provides us very powerful feature of linking models together, just by call of one function. In C
Hi Reader's,
Welcome to FindNerd,today we are going to discuss speed up our CakePHP Website.
When implementing any web application in CakePHP sometimes we observe the application speed very slow and data is not coming in view page and it take
Loading time of the website plays very important role in internet world.Slow loading time of website will cause uninterrupted services and the good loading speed website serves as an indicator of how well things are doing, it will help you to gain mo
Hi Reader's,
Welcome to FindNerd,today we are going to discuss naming conventions in CakePHP.
When implementing a web application in CakePHP, we have to use naming conventions for making any model name and table name etc very carefully.
Firstly
Lets say we have models User and Friend related by User hasMany Friend relation. If we are required to pull out all users along with their female friends then how do we do that?
Usually people think like this :
$this->User->find('all', array
SQL injection is a technique where malicious users can inject the SQL commands /queries into an SQL statement, resulting in false input of the web page and the security of a web application.
Eventually CakePhp already protects the application again
Sometimes the web infrastructure do not share session data with each other. For this reason, sessions may be lost between requests.
Using MySQL effectively ripps out this problem, as all session data is directed to and from the database server rathe