- Tutorials
- Blog_tutorial_-_1
- Migration
- Blog_tutorial_-_2
- Book_titles
- Pagination
- Debugging_your_code
- Extending_cake
- Multiple_applications
- Sending_email
- Scaffolding_a_blog
- Sample_layout
- Image_gallery
- Dynamic-image
- Online_editor-fckeditor
- Using_cake_with_drupal
- Cake_with_smarty
- Testing_cake_apps
- Howto_use_rdauth
- Dynamic-menu
- Your_tutorial
- Creating_pdfs
- Creating_pdfs_easy
- Cake_on_ubuntu
- Hello_world
- Complex_model_validation_routines
- User_permissions
- Cake_under_iis
- Advanced_validation
- Sending_email_with_phpmailer
- Change_database_config
- Alternative_installation_locations
- Css_in_ajax
- Css_menus
- Flashing
- Alternate_advanced_validation
- Deep_cakephp
- I18n_v2
- Building_a_cakephp_site_part_-_1
- Loading_sql_with_prefixes
- Building_a_cakephp_site_part_-_2
- Creating_a_dragglable_element
- I18n
- Online_editor-xinha
- Image_gallery_2
- Cake_migrations
- Beginners_only
- Cake_under_iis_without_rewrite
- Acl-access-checking
- Simple_pagination_helper
- Ajax_sortable_list
- Building_a_web_wizard
- Url_rewrite_without_apache
- Duplicate_record_validation
- Litte_german_example
- Authentication_with_rdsimpleauth
- Simple_contextual_help
- Passing_named_parameters
- Advanced_validation
- Calendar_pagination
- Config_in_database
- How_to_toggle_expand-collapse_with_javascript
- Xampp_vhost_config_on_windows
- Time_helper_other_languages
- Routing_for_multilanguage
- How_to_implement_single_table_inheritance
- Thumbnails_with_phpthumb
- Syncronised_session_using_cakeamfphp
- Secure_logins_with_challenge_response
- Config_in_database_2
- Installing_on_macosx
- Tinymce_with_cake
- Persistent_data
- Functional_testing_cake_apps
- Getting_paths_right
Bye, Bye Wiki
With the opening of The Bakery, it is time to say thank you and good bye to this fine wiki that has helped out for so long. The Bakery allows us to organize content a bit easier. Please, help us move the content from this wiki over to the Bakery. Many of the tutorials and code samples here could use some updating. Read the about article submission and review. Thanks for the help.
PS. on October 15, 2006 the wiki will no longer be available.
Resources
The CakePHP Manual
The CakePHP API
The Bakery
the Showcase to see some CakePHP apps in action.
read some french: http://wiki.cakephp.org/fr:documentationfr
- Docs
- 0.10_dev_gotchas
- Method
- Var
- Helpers
- Components
- Functions
- Constants
- Calendar
- Controller
- Dispatcher
- Scaffold
- Model
- Vendors
- Vendors
- Helpers
- View
- Components
- Constants
- Bake
- Functions
- Model
- Controller
- Jumping_on_point
- Understanding_associations
- Installation
- Mod_rewrite
- Installing
- Acl
- Acl
- Yahooui
- Session
- View
- Faq
- Wanted_pages
- Booleans_for_checkboxes
- About
- About
- Cake_conventions
- Active_record
- Databases
- Schmidt
- Themes
- Plugins
- Set
- Dispatcher
- Mssql
- Mvc
- Date
- Model_view_controller
- Uses
Cake Conventions
*tables names are plural and lowercased
*model names singular and CamelCased: ModelName
*model filenames are singular and underscored: model_name.php
*controller names are plural and CamelCased with *Controller* appended: ControllerNamesController
*controller filenames are plural and underscored with *controller* appended: controller_names_controller.php
*associations should use the ModelName, and the order should match the order of the foreignKeys: var $belongsTo = ‘User’;
*foreign keys should always be: table_name_in_singular_form_id: user_id (foreign key) → users (table)
*many-to-many join tables should be named: alphabetically_first_table_plural_alphabetically_second_table_plural ie: tags_users
*columns in many-to-many join tables should be named like other foreign keys ie: tag_id and user_id
*columns named created and modified will automatically be populated correctly
*components should be CamelCased: MyComponent : my_component.php : var $components = array(’MyComponent’); $this→MyComponent→method();
*helpers should be CamelCased: MyHelper: my_helper.php: var $helpers = array(’MyHelper’); $myHelper→method();
Regarding this wiki
Well, its not the easiest wiki, but it handles code really well. You can look at the Recent Changes or to see what pages are available click “Index” button. We are working on a better navigation solution.
to add a tutorial: http://wiki.cakephp.org/tutorials:Your_Tutorial
to add to Docs: http://wiki.cakephp.org/docs:Your_Doc
to add a standalone page: http://wiki.cakephp.org/Your_Page
to learn more about using this wiki read the syntax