Excellent!!!

On Nov 17, 9:17 pm, Gwoo <[EMAIL PROTECTED]> wrote:
> Several people voiced opinions aboutpluginsand in an effort to make
> them more flexible we added the functionality to access models 
> acrosspluginsand the main application in the current 1.2 branch. Use the
> dot notation "Plugin.Model" to access models in the plugin and "Model"
> to access the models of the main app.
>
> To allow us this flexibility we changed how classes are loaded and
> instances created. From the initial tests, these  changes provide some
> nice performance gains while reducing the amount of code needed in
> your application. Keep in mind that with greater flexibility, comes
> greater responsibility to maintain your applications architecture.
>
> ClassRegistry::init(); will return an instance of the class from the
> registry or create and add it to the registry if it does not exist.
> This is particularly useful for models and is used in the current core
> code to create the model instances.
>
> App::import(); will load and cache the location of a file found
> anywhere in the cake install. This is used in place of the load*
> functions previously found in basics.php. You can see in the current
> code that the functions use this class method now.
>
> The api for these methods are currently in alpha state, but will be
> stabilized for beta. You can check out the doc comments for more info.
> The online API,http://api.cakephp.orgwill be updated shortly.
>
> Bake on.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to