[pLog-svn] Modularize our action/view/dao and templates

Oscar Renalias oscar at renalias.net
Tue Nov 20 13:42:15 EST 2007


Wouldn't that be a problem with file systems that are not case
sensitive? At least my HFS+ partition in my OS X laptop is not case
sensitive, so this could cause issues.

What is the advantage anyway?

On Nov 20, 2007 6:20 PM, Tsz Ming WONG <tszming at gmail.com> wrote:
> On Nov 19, 2007 8:10 PM, Mark Wu <markplace at gmail.com> wrote:
> >
> > Hi All:
> >
> > I really want to modularize our current code structure. But it maybe break
> > the "backward compatabability" if user change thier code in core level
> > instead of plugin level ..
> >
> > I propose we add a new folder for modules, this folder will include current
> > actions, views, dao of  summary, index and admin ... the new structure looks
> > like:
> >
> > ./class/dao/model.class.php
> > ./modules/index/actions/viewarticlection.class.php
> > ./modules/index/views/viewarticleview.class.php
> > ....
> > ./modules/admin/post/actions/adminnewpostaction.class.php
> > ./modules/admin/post/actions/adminaddpostaction.class.php
> > ./modules/admin/post/views/adminnewpostview.class.php
> > ./modules/admin/post/dao/article.class.php
> > ./modules/admin/post/dao/articles.class.php
>
>
> How about use of case sensitive file name in the next release?
>
> e.g.
>
> instead:
>
> ./modules/admin/post/actions/adminnewpostaction.class.php
>
> but:
>
> ./modules/admin/post/actions/AdminNewPostAction.class.php
>
> More locatable if you have many files under the same directory.
> --
> Best Regards,
> tszming
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>


More information about the pLog-svn mailing list