Category : CakePHP

9 posts

In this post I am going to share useful tip for CakePHP Developer, Few days back i have shared tutorial about How to connect How to connect multiple database in PHP, MYSQLi & PDO. Here I’ll talk about the same thing in CakePHP, In Big web portal they uses multiple database to display data from …
In this post I am going to introduce Top 5 PHP framework for developers, I have compiled these frameworks as per popularity bases among developers, And the list of these framework as per my opinion, Your opinion may be differ, If you think any other php framework should be in list, please let me know …
CakePHP Interview Questions and Answers for fresher + experienced Here we’ll discuss about some basic and advanced cakephp interview questions and answers which are most ask-able questions during interview session, These CakePHP questions and answers will help you to crack CakePHP technical interview round. Question: What is Cakephp? CakePHP is a free, open-source, MVC (Model, …
This tutorial for beginner cakephp developer who just started their journey with cakephp framework. Here i am going to cover how to create component and call it to your controller. Component is small chunk of utility code to perform common action on your cakephp controllers. Cakephp already has some default component but you can also …
Today we are going to talk about email library of cakephp, Cakephp is one of great php framework. It comes with some great useful libraries, So in this tutorial we are only talking about email sending library. First you need to create email template. under app/views/layouts/ you can see the structure below. email/ html/ default.ctp …
Today this post is for cakephp beginner for those people who wants to switch from corephp to any framework, Moving from corephp to framework is good idea because when you will start working on framework your development will be fast because frame works pre-defined plugins and libraries. which we used to create in corephp. There …
In this post we are going to learn how to create paging and shorting in cakephp list page. Create controller PostsController.php class PostsController extends AppController { var $name = 'Posts';   function inbox() { $this->paginate = array( 'conditions' => array('Post.status'=>'1'),'limit' => 10,'order' => array('Post.created_date'=>'desc' ) ); $data = $this->paginate('Posts'); $this->set('result', $data); } Create a element …
Here we are going discuss about how to upload image or file without refresh page in cakephp and jquery. Create controller in cakephp ProfilesController.php class ProfilesController extends AppController { var $name = 'Profiles'; public $uses = array('Profile'); function changeprofilephoto() { $profile_id = “14”; // $path = "../../app/webroot/profilepic/";//set path $valid_formats = array(".jpg", ".png", ".gif", ".bmp", ".jpeg");// …
PAGE TOP