Part 1 of the tutorial was straightforward. This covers the basics of creating a simple set of models, views and controllers. The result is a set of web pages which display data in tables and offer add / edit / delete functionality.
The tutorial is written for v1.1 of the framework. I have opted for v1.2 - so there are some differences.
The first difference is in the scaffolding. CakePHP v1.1 provides a PHP script "bake.php" in the cake/scripts directory. This is an interactive process and you've got to respond to the menus to drive the scaffolding.
$ php ../scripts/bake.php
Baking ...
----------------------------------------------------------
Name: app
Path: ~/dev/workspace/cakephp/app
----------------------------------------------------------
[M]odel
[V]iew
[C]ontroller
What would you like to bake? (M/V/C)
>
CakePHP v1.2 has a command script 'cake' in the cake/console directory. This can be given command-line args so that the scaffolding can be completed quickly with a few simple commands:
$ ../console/cake bake all users
This then builds a model, view and controller for the named table in the database.
5 comments:
Amazing post....I get to many things for the post, very helpful and informative for me.
i will again visit in this blog
Amartam is exuberant to announce its new plan to help its clients in India by offering custom based WordPress design solutions.
Visit Here:
Wordpress Website Development Company
Wordpress Development Company
Hire Wordpress Developers
A website is crafted with the aim of making a digital platform to represent the brand. It helps the business to grow in the midst of the customers who cannot make it reach the brand offline.
Visit Here:
Wordpress Website Development Company
Wordpress Development Company
Hire Wordpress Developers
ATS PRISTINE GOLF VILLAS
Ultra Luxurious villas coming in sector 150 Noida with the panoramic views from every rooftop.
Private movie screenings in a basement home theatre all your own with a provision of bar and
a hall attached
9 hole golf course completed.
visit: https://www.atsnewprojects.com/ats-pristine-golf-villas-sector-150-noida-expressway.html
Prestige Group is entering noida with its ultra luxurious apartments with quiescent ambience in the premium sector of Noida i.e. sector 150.Seamless connectivity to all educational hubs, clinics, hospitals, metro stations.You can find grocery shops, retail shops, dairy products and even banks and ATM’s within the walk-in distance.
For further details visit: prestige sector 150 noida
Post a Comment