### API change recommendations per the 1.3 hit list
- `FormHelper::select()` - roll `$showEmpty` parameter into `$attributes` array as `'empty'`, to match `FormHelper::input()` (et al.) API
- Same with `day()`, `year()`, `month()` and friends
- `HtmlHelper::para()` - roll `$escape` parameter into `$attributes` array
- `HtmlHelper::link()` - officially deprecate `$escapeTitle` parameter, as it has been in
## Bake could use some updates
Baking all views or all models or all controllers
{{{
cake bake view all
cake bake controller all
cake bake model all
}}}
These extra commands come up quite a bit and I think the `view all` can be really useful in the future with additional bake templates being created. Also its an often requested feature, so will be nice to have.
### Bake UI
I think some of the
## Method Housekeeping
## Extra Method List
### Model
#### Aliases for del()
* remove()
* delete()
The remove() and del() methods have been removed in the 1.3-misc branch; delete() is now canonical.
#### Duplicate getxxxID
* getInsertID
* getLastInsertID
These methods are aliases for each other.
* getID
At first glance looks like an alias for `$this->id` However, getID() is
#Javascript Structure RFC
**3 things need to be addressed in CakePHP in how it handles JavaScript:**
1. JavaScript needs to be structured enough to enable code collaboration and sharing on the bakery, etc.
2. JavaScript needs variables to be generated from the server.
3. JavaScript needs a plugin system to allow drop-in components like everything else in cake
_
##Possible Solution
Having a controller
##I18n Formatting
### Goals
One should be able to format numbers, currencies and time according to the user's language settings or by a manually provided language.
One should be able to normalize formatted numbers, currencies and time strings.
### Use Case A
**Table**: images (title, width, height)
**Model**: Image
**Controller**: ImagesController
**Controller Action**: index
**View**:
Ajax Helper Rebuild
#Js Helper rebuild
So as discussed many times I would want to rebuild the Ajax helper to make it more extensible and allow for greater compatibility with other non-prototype libraries. Originally I planned on making these changes directly to the AjaxHelper. However, gwoo suggested I make these changes to the unfinished JsHelper instead. I was planning on implementing an adapter system similar to how the toolbar
### This is an RFC for a deployment shell command
Example config (config/deployment_config.php):
{{{
class DeploymentConfig {
var $source = array(
'type' => 'git',
'host' => 'git@thechaw.com:cakephp.git'
);
var $servers = array(
'dev' => array(
'type' => 'web',
'environment' => 'dev',
'host' => 'dev.mysite.com',
'login' => 'nate',
'password' =>
