Hi Oscar<br><br>First of all, thank you for your interest, and I will be so happy to get any feedback.<br><br>I have just 2 notes:<br>1) In LifeType, config object initialized at least 25 times for each request, whatever it&#39;s cached or not and I think it will not be affect so much by caching, so if you can initialize it just one time, you can increase some of lifetype performance and you will see that.
<br><br>2) If you can separate between locale settings and locale strings, so when you initiate a locale object you will just load it&#39;s settings, and load locale strings just when you need, but this is not enough cause you&#39;re using locale strings in controller level, so if you cache the view or not, the locale strings will be loaded, so I suggest to move the loading of the locale strings to view and just store strings key array in controller.
<br><br><br>Regards,<br>&nbsp;&nbsp;&nbsp; Ahmad<br> <br><div class="gmail_quote">On Nov 23, 2007 11:24 PM, Oscar Renalias &lt;<a href="mailto:oscar@renalias.net">oscar@renalias.net</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">I doubt we&#39;re geniuses in here, we&#39;re just applying common sense to what we do. But thanks for the compliment anyway :-)<div><br></div><div>I also had a look at your idea, it looks interesting and has some potential. Would you have some time to share with us how your approach would be implemented in LT?
</div><font color="#888888"><div><br></div><div>Oscar</div></font><div><div></div><div class="Wj3C7c"><div><br><div><div>On Nov 21, 2007, at 12:16 PM, Ahmad Saleh wrote:</div><br><blockquote type="cite">Hi Oscar<br><br>As you see, it&#39;s not exactly completed, just the architecture, and I told you, I take some ideas from lifetype (not exactly &quot;some&quot; :P ) and optimize it. I like lifetype architecture and I think who&#39;s invent it is a&nbsp; genius. 
<br><br>I will start writing it&#39;s documentation (<a href="http://wiki.jopdc.com" target="_blank">http://wiki.jopdc.com</a>) soon, and about the sample application I will add it soon.<br><br>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. 
<br>after initializing others system objects and before initiate controller, it&#39;s call autorun method in pluginsmanager, so if you want to add any operation or hook at runtime.<br><br>there is a sample plugin in System/Plugins dir. 
<br><br>Regards,<br>&nbsp;&nbsp;&nbsp; Ahmad<br><br><div class="gmail_quote">On Nov 21, 2007 11:11 AM, Mark Wu &lt;<a href="mailto:markplace@gmail.com" target="_blank">markplace@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 Ming:<br><br>I personally like to put them into different modules, becasue it is easier<br>to navigate in explorer. :P<br><div><br>Mark<br><br>&gt; -----Original Message-----<br>&gt; From: <a href="mailto:plog-svn-bounces@devel.lifetype.net" target="_blank">
 plog-svn-bounces@devel.lifetype.net</a><br></div><div>&gt; [mailto:<a href="mailto:plog-svn-bounces@devel.lifetype.net" target="_blank">plog-svn-bounces@devel.lifetype.net</a>] On Behalf Of Tsz<br>&gt; Ming WONG<br>&gt; Sent: Wednesday, November 21, 2007 2:51 AM 
<br>&gt; To: LifeType Developer List<br>&gt; Subject: Re: [pLog-svn] Modularize our action/view/dao and templates<br>&gt;<br></div><div><div></div><div>&gt; On Nov 21, 2007 2:42 AM, Oscar Renalias &lt;<a href="mailto:oscar@renalias.net" target="_blank">
 oscar@renalias.net</a>&gt; wrote:<br>&gt; &gt; Wouldn&#39;t that be a problem with file systems that are not case<br>&gt; &gt; sensitive? At least my HFS+ partition in my OS X laptop is not case<br>&gt; &gt; sensitive, so this could cause issues. 
<br>&gt; &gt;<br>&gt; &gt; What is the advantage anyway?<br>&gt; &gt;<br>&gt;<br>&gt; it would be more easy to locate file to view or edit<br>&gt;<br>&gt; and since the class name is the same as the file name, Class<br>&gt; Loader don&#39;t have to lower the case the action name everytime 
<br>&gt;<br>&gt; example such as mediawiki:<br>&gt; <a href="http://www.google.com/codesearch?hl=en&amp;q=show:cgkXXFkjkv0:7GlOpJAQNXE&amp;sa=N&amp;ct=rdl&amp;cs_p=http://prdownloads.sourceforge.net/wikipedia/mediawiki-1.8.3.tar.gz" target="_blank">
 http://www.google.com/codesearch?hl=en&amp;q=show:cgkXXFkjkv0:7GlO<br>pJAQNXE&amp;sa=N&amp;ct=rdl&amp;cs_p=http://prdownloads.sourceforge.net/wikipedia/mediaw<br>iki-1.8.3.tar.gz</a>&gt; &amp;cs_f=mediawiki-1.8.3/includes 
<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Best Regards,<br>&gt; tszming<br>&gt; _______________________________________________<br>&gt; pLog-svn mailing list<br>&gt; <a href="mailto:pLog-svn@devel.lifetype.net" target="_blank">
pLog-svn@devel.lifetype.net </a><br>&gt; <a href="http://limedaley.com/mailman/listinfo/plog-svn" target="_blank">http://limedaley.com/mailman/listinfo/plog-svn</a><br><br>_______________________________________________<br>
pLog-svn mailing list<br><a href="mailto:pLog-svn@devel.lifetype.net" target="_blank"> pLog-svn@devel.lifetype.net</a><br><a href="http://limedaley.com/mailman/listinfo/plog-svn" target="_blank">http://limedaley.com/mailman/listinfo/plog-svn
</a><br></div></div></blockquote></div><br> _______________________________________________<br>pLog-svn mailing list<br><a href="mailto:pLog-svn@devel.lifetype.net" target="_blank">pLog-svn@devel.lifetype.net</a><br><a href="http://limedaley.com/mailman/listinfo/plog-svn" target="_blank">
http://limedaley.com/mailman/listinfo/plog-svn</a></blockquote></div><br></div></div></div></div><br>_______________________________________________<br>pLog-svn mailing list<br><a href="mailto:pLog-svn@devel.lifetype.net">
pLog-svn@devel.lifetype.net</a><br><a href="http://limedaley.com/mailman/listinfo/plog-svn" target="_blank">http://limedaley.com/mailman/listinfo/plog-svn</a><br></blockquote></div><br>