Re: was: How to add a module?

Joe Stewart <[email protected]> Thu, 6 Nov 2003 10:03:24 -0600
Newsgroups gmane.comp.cms.phpslash.devel
Message-ID <[email protected]>
On Thu, Nov 06, 2003 at 04:01:19PM +0000, Peter Cruickshank wrote:
> On Thursday 06 Nov 2003 3:11 pm, Joe Stewart wrote:
> > On Wed, Nov 05, 2003 at 10:27:54PM +0000, Peter Cruickshank wrote:
> ...
> 
<snip>
> 
> I think it would be useful at some point to turn on the debug in pslNew, and 
> see if objects are being created sensibly. Seemed to me there's a lot of 
> duplicate instantiation going on, and not just of slashDB (tho that's the one 
> with the big implications).
> 

I've been playing with xdebug some too to see where maybe some bottlenecks
are.  Nothing concrete yet except loading all the classes from disk.  This
is where phpaccelerater, apc, etc. provide what php is missing that python
provides built in.

> Still, this has implications for how the basic block engine works - maybe not 
> for now... I think it is due a revist tho - it's been with us since I started 
> being interested in this project, way back in '00. 
> 

yes.  It's very important the  block code is optimized now since it
displays everything.

> One thought for example - I think it would make things run smoother if column 
> was moved from block_options to being it's own field in psl_block - column 
> has got a lot more central to PSL's operations over the years)
> 

At one time this was big on my list.  I can't remember why not now except
that it's easy now to give different choices for individual sites.

Joe

> P
> 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/