I was wondering how you manage your Lib classes now in cake2.0
Seems like putting them in /Lib directly is kind of deprecated. They
should belong to a package so to speak.

/Lib/ZodiacLib.php
becomes then (using Misc Package)
/Lib/Misc/ZodiacLib.php

and instead of using
App::import('Lib', 'PluginName.ZodiacLib'):
it is now
App::uses('ZodiacLib', 'Tools.Misc')

But how do you define package names. I find it quite difficult. Some
(like GoogleWeather) could belong in all kinds of packages
(Webservice, Google, Network, ...)
Are there some "basic package names" we should follow? I think it
makes sense to use as less packages as possible to avoid the above
problem.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to