
Install and configure CakePHP 2, build models and controllers with data validation and associations, add authentication and a login form, and enhance with AJAX, pagination, components, elements, and helpers.
Learn how CakePHP, an open source MVC framework with MIT license, provides a structured, secure approach to building PHP web apps with input validation, CSRF protection, and SQL injection prevention.
Explore the model view controller architecture that separates data, presentation, and logic. CakePHP implements this separation with models, views, and controllers handling data access, templates, and request flow.
Explore the CakePHP structure and directory layout, including configuration, controllers, models, libs, plugins, tests, and webroot, and learn to place files in proper folders to keep core intact.
Set up a local web server with a WAMP stack on Windows, including Apache, MySQL, and PHP, and follow installation steps from license acceptance to firewall configuration.
Download CakePHP from the official site, unzip to your document root, configure Apache, restart to refresh, adjust security, create a database config file, and connect to a local test database.
Learn CakePHP naming conventions for controllers, models, and views. Use plural CamelCase for controllers, underscores for files, and foreign keys ending with _id; index is the default action.
Create a custom layout in CakePHP 2 by replacing the default layout with main.ctp, load CSS and images from webroot, and apply dynamic title and content from the home view.
Create your first controller in CakePHP, define the index action, and pass a users array to the view to display a dynamic table of users.
Create your first model by setting up a users table with id, username, password, and name, then build a User model to read data from the table in CakePHP 2.
Modify a cakephp 2 app to display all users from the database, and make user ids clickable to view detailed information using find all, find by id, and read.
Learn how to insert data into a CakePHP 2 app by building a new user registration page, using the form helper, handling post requests, saving data, and displaying flash messages.
Learn how to implement model-side data validation in CakePHP 2, define validation rules for usernames and passwords, and enforce server-side checks to prevent invalid user creation.
Learn how to delete records in CakePHP 2 by implementing the delete method, locating a user by id, handling existence with flash messages, and redirecting to index after deletion.
Learn how to relate models in CakePHP using a has one association between users and user profiles. Save and delete related data across models with dependent deletes.
Explore implementing authentication in a CakePHP 2 app using form authentication, a user model, and encrypted passwords, with beforeFilter access control, login, and logout flows.
Learn how to create and reuse elements in CakePHP 2 to modularize views, render them from a separate file, and pass variables to display a user list.
Learn to create CakePHP helpers that share presentation logic across views, stored in app/view/helpers, and build a simple helper that sums two numbers to demonstrate usage.
Learn to create and reuse CakePHP components across controllers. Declare custom components in the public components array and call a get_username method to set the username after authentication.
Learn to implement pagination in CakePHP 2 using the paginate component in the controller, and render page links with the numbers method in views.
learn to process Ajax requests in CakePHP 2 by building a simple app that fetches the current time via an Ajax call, updating a page div with the result.
Review the course goals and explore topics on the course website, then leave a positive review to show appreciation for watching.
This course is an introduction to web development with CakePHP, the most amazing PHP framework. This course will get you up and running with the CakePHP framework in no time, with everything from an introduction to MVC to building a fully-functional application.
Starting with the basics of installing and configuring CakePHP, you will learn everything from creating a custom theme to custom components developing. We will be diving deep into JavaScript using jQuery to implement AJAX in CakePHP application.
Time is more valuable than money. I prepared this CakePHP tutorial course to be very effective, so you can learn everything you need to know about CakePHP in less time.
This course is for CakePHP version 2.X