Google 網上論壇首頁
說明 | 登入
群組資訊
會員: 10847
活動: 高度活動
語言: 英文
群組類別:
電腦資訊 > 軟體
電腦資訊 > 程式設計
電腦資訊 > 網際網路
更多群組資訊 »
FAQ    
FAQ is the collection of discussions on common problems & solutions
Feel free to add any useful discussions or solutions.

Once the Cookbook is finished, we may not need this page.
Last Updated: 2008-04-23

Good docs on CakePHP?

Security Notes

Core hacks for bugs(?)

Note: Possibly wait till core devs work on it.

What is the difference between 1.1 and 1.2?

How to have Multi-record input in one form?

Note: This seems to be fixed now

Problem:
CakePHP standard is to have the form fields name to be like data[Model][field]
This works fine when you want to edit a single record with the edit page /edit/\\46lt;id\\46gt;

But, if we want to edit more than one record in a single page, you'd need to set the field names like data[Model[id]][field] But, the current form helper seems to be unusable now for HABTM associations.

Feel free to update if you know any better options/solutions.

How handle Ajax redirection? / How to handle Ajax form?

How to use validation in 1.2?

How to handle tricky HasAndBelongsToMany situations?

How to display more views/blocks in a single page?

  • renderElement- Preferred
  • requestAction

Related discussions:

Performance Issues with requestAction:

How to add webservice support?

How to use MediaView? (How to handle file downloads?)

How to add theme support?

What is behavior?

Helpers are for Views, Components are for Controllers, and Behaviors are for Models. Behaviors meant to change the behavior of models or enhance the models

How to add i18n support?

Translate behavior also could be used for multi-language support.

How to use ACL/Auth? How to handle authorization/authentication?

How to use Cake Test suite? / How to use Unit test?

How to create external/shell script? / How to create script for Cron?

How to define model associations?

How to reduce the number of automagic queries? How to use finderQuery? (Improve query performance)

How to add paginate support for custom queries?

How to retain search param in paging?

How to access component in view?

How to use more than one DB connections (master/slave)?

How to use Set::extract() and what is this "{n}.Model.field" notation?

When will CakePHP become PHP5/6 only?

Why do I get a blank page?

How scalable is CakePHP?

What is a good Editor/IDE to use for CakePHP?

Number displayed under flash messages

  • Don't use echo - Tarique

Editor's Pick:

Interesting projects/source code

History (Reverse chronological)

Until GG provide diff, please add some note about your version

  • Pagination with Filter/Search Box, Version behavior related stuffs, action-based validation, CakePHP super feed, bakesale, dbdesigner2cake
  • Grammar and other cleanup by previous editors
  • Added note to copy and paste link for generating cookbook live pdf as the site blocks remote linking
  • Reverse routing, quarkcms source
  • External/shell script (say for cron)
  • Security note on find(), __() usage on model (better hack), Version behavior, unit test presentation, other CakeFest presentations, web-based baking tool, Hierarchical data database link for TreeBehavior
  • After huge struggle removed spam
  • Samuel's saved PDF Cookbook
  • On the fly PDF version for Cookbook
  • Removed the deleted all in one cookbook zip, link for behavior, cakestencil and Ajax redirection question
  • Security notes, link to all in one page cookbook zip, One-to-many and one-to-one discussion, core hacks
  • Adding "what is this "{n}.Model.field" notation?"
  • Adding Authake in ACL/Others section
  • Cleaned up todos, removed old new markers, added Interesting projects/source codes, cookbook link
  • Snippets for MediaView
  • New stuffs to be added under todo in Editors' Pick
  • Added Tree Behavior :: Basic Usage
  • Included titles for Editor's Pick URL
  • Self-referential model example, self HABTM discussions, othAuth fix for Cake 1.2 pre-Beta
  • Added Snook Elemental Content
  • One more link for Multiple database
  • Minor re-ordering. More highlight to the new CakePHP 1.2 (temp) docs
  • New link/note on __()
  • More HABTM links
  • Moved some of editors pick to proper sections, reordered sections, moved topics that need contributions/solutions to the top, added notice
  • New editor pick links
  • Updated to newer Upload behavior
  • Link to OCPHP presentation
  • ACL/Auth link to Brian Dailey's
  • Updated to better Upload behavior link
  • Set to Tarique's version (higher)
版本: 
2 則關於本網頁的訊息
2008年4月22日,作者:Sliv
Fixed missing HABTM link

Click on http://groups.google.com/group/cake-php/web/faq - or copy &
paste it into your browser's address bar if that doesn't work.
2008年4月15日,作者:Sliv
-Due to google groups bugs, moved latest version of frequent
discussions to this fresh new page - hopefully will fix the bugs.

Click on http://groups.google.com/group/cake-php/web/faq - or copy &
paste it into your browser's address bar if that doesn't work.
建立群組 - Google 網上論壇 - Google 首頁 - 服務條款 - 隱私權政策
©2009 Google