Featured
-
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Best 5 Lightweight PHP Frameworks for REST APIs Development
Are you ready to develop the Rest AP
by ankur.kumar -
PHP: Full-Stack Framework vs Micro Framework
A web framework can be described as a software fra
by ankit.bhatia -
How to get facebook profile picture by Facebook App
If you would like to get your profile picture in f
by vivek.rastogi -
Creating RESTful API in cakephp
This tutorial will help you to learn how to create
by pushpendra.rawat
Tags
How to send email in cakephp2.x?
Sometimes we are required to send mails in our cakephp application.
To setup in cakephp lets follow these steps :
1. In your EmailConfig class at /app/Config/email.php set the email configuration. Use this class to con...
Associations (Linking Models together) in cakephp
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. ...
Remember Me using Cookie in CakePHP
Remember Me using Cookie
We can remember username and password by using Cookie. As we know cookie resides in a browser and used to store user data and other informations.
We will remember username and password by using cookie when user chec...
How to create your own helper in cakephp
In our application there are situations, where we need presentational logic which will be shared between many views, elements, or layouts. For this purpose cakephp provides view helpers.
Some of them are:
CacheHelper, Form...
Php - Design Patterns
Design Patterns: Hello Readers, This is a small blog on design patterns , hope this blog will help you to understand this topic. Microsoft design pattern Theory is, "The document introduces patterns and then presents them in a repository, or...
Multiple File Upload in cakephp
Multiple File Upload in cakephp by one user and save the images name in one column in database :
Hello readers, This is a small blog on how to upload multiple file in cakephp. This is very simple and useful code, hope this code...
Implementing Pagination in CakePHP
Pagination:
It is used to limit the number of records to be displayed in a page. In cakephp we can easily implement pagination. We can use pagination by putting the following code in controller:
public $paginate = [
'li...
CakePHP 2.0 with Twitter Bootstrap
Hello nerds,
If you want to start your new CakePHP project with Twitter Bootstrap set with it, you can follow the steps as following:-
Step 1: You need to Download CakePHP and Twitter Bootstrap versions. You can easily download them from ...
Bind Model in cakephp
In one of my project I have two table with simple relation
Division (id, title) - hasMany Staff
Staff (id, division_id, name, jobtitle)
So. Now I need to get some info like: I need to get all Staff where birthday today, and get r...
How to create profile url in cakephp?
Hello readers !
Few days back I was facing issue to make public profile page in cakephp. And want to hide controller and action name from url for this I used the below code in routes.php and its work fine.
Router::connect(
'/:usernam...