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

Ahmad Saleh ahmadfds at gmail.com
Wed Nov 21 05:16:29 EST 2007


Hi Oscar

As you see, it's not exactly completed, just the architecture, and I told
you, I take some ideas from lifetype (not exactly "some" :P ) and optimize
it. I like lifetype architecture and I think who's invent it is a  genius.

I will start writing it's documentation (http://wiki.jopdc.com) soon, and
about the sample application I will add it soon.

About the plugins, in index.php I initiate one object for each system class
(rather than initiate one more than one) and start with pluginsmanager
object, cause the classloader, hooksmanager, langsmanager will use it to get
operations list and plugins hooks and plugins langs.
after initializing others system objects and before initiate controller,
it's call autorun method in pluginsmanager, so if you want to add any
operation or hook at runtime.

there is a sample plugin in System/Plugins dir.

Regards,
    Ahmad

On Nov 21, 2007 11:11 AM, Mark Wu <markplace at gmail.com> wrote:

> Ming:
>
> I personally like to put them into different modules, becasue it is easier
> to navigate in explorer. :P
>
> Mark
>
> > -----Original Message-----
> > From: plog-svn-bounces at devel.lifetype.net
> > [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Tsz
> > Ming WONG
> > Sent: Wednesday, November 21, 2007 2:51 AM
> > To: LifeType Developer List
> > Subject: Re: [pLog-svn] Modularize our action/view/dao and templates
> >
> > On Nov 21, 2007 2:42 AM, Oscar Renalias <oscar at renalias.net> wrote:
> > > 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?
> > >
> >
> > it would be more easy to locate file to view or edit
> >
> > and since the class name is the same as the file name, Class
> > Loader don't have to lower the case the action name everytime
> >
> > example such as mediawiki:
> > http://www.google.com/codesearch?hl=en&q=show:cgkXXFkjkv0:7GlO
>
> pJAQNXE&sa=N&ct=rdl&cs_p=http://prdownloads.sourceforge.net/wikipedia/mediaw
> iki-1.8.3.tar.gz> &cs_f=mediawiki-1.8.3/includes
> >
> >
> > --
> > Best Regards,
> > tszming
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://limedaley.com/mailman/listinfo/plog-svn
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://limedaley.com/pipermail/plog-svn/attachments/20071121/5ffa08ca/attachment.htm 


More information about the pLog-svn mailing list