[pLog-svn] r2115 - plugins/trunk/secret/class/security

Mark Wu markplace at gmail.com
Mon May 30 11:54:52 GMT 2005


Hi Ben:

Ah.... I see. That's better ... :D

So, is this kind of coding style mean "Dynamic Loading" that we discussed
long long (1 or 2 months)  time ago ?

I will change the code accodring to your suggest latter. (because ... I am
going home now, :D )

Mark 

> -----Original Message-----
> From: plog-svn-bounces at devel.plogworld.net 
> [mailto:plog-svn-bounces at devel.plogworld.net] On Behalf Of 
> Benjamin Krause
> Sent: Monday, May 30, 2005 7:40 PM
> To: plog-svn at devel.plogworld.net
> Subject: Re: [pLog-svn] r2115 - plugins/trunk/secret/class/security
> 
> mark at devel.plogworld.net wrote:
> 
> > Author: mark
> > Date: 2005-05-30 11:17:34 +0000 (Mon, 30 May 2005) New 
> Revision: 2115
> > 
> > Modified:
> >    plugins/trunk/secret/class/security/secretitemfilter.class.php
> > Log:
> > Fix the bug http://bugs.plogworld.net/view.php?id=542
> 
> Hey Mark,
> 
> i would like to encourage you to reorganize the includes. one 
> of the main speed improvements in 1.1 will be the fact that 
> we only include what we really need. :)
> 
> so instead of placing all includes at the top of the class 
> (which is a good way of coding for non-interpreted 
> languages), i would suggest placing the includes right before 
> the line where the class is used. e.g.
> 
> if( $userName ) {
>      include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
>      $users =& new Users();
>      [...]
> 
> Ben
> 
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn




More information about the pLog-svn mailing list