Struggling to optimize php/mysql performance

10
Comments

News — After numerous trials and errors meant to increase the sucky performance of this web site, I installed wp-cache and I am testing a semi-static plugin based on Jerome's new version of preformatted.

I understand the end result is tons times faster than LightPress currently allows at present.

Nonetheless, I expect LightPress will be faster when Ludo starts adding caching. I'll likely make the switch at that moment, if it is compatible with my plugins. Unless Michel Fortin persuades me to make the switch to Reflex.

Filed under Blog, WordPress by

Comments on Struggling to optimize php/mysql performance

April 25th, 2005

jerome
9:51 pm #

Denis, thanks for all your help with PreFormatted!

Your plugins will be compatible with LightPress if they are back-end only (or can be made so through PreFormatted). The WP filter/action system, while clever, is also monstrously inefficient. Ludo has done a great job with the LP plugin architecture and is continuing to expand on it.

You'll find that writing frontend plugins for LP is a easy and uses far less code thanks to the template system. I've already written five so far.

jerome
11:09 pm #

(this "subscribe to comments" feature is quite handy)

Plugins can assign template tags or override tags set by the frontend engine. You can also set blocks (a repeatable construct, can be nested too) and replace tags with the content of another template file if you wish.

For example, you could put a tag in your main template `{PLUGIN_SEMIOLOGIC_CONTENT}`. A plugin could then replace this with the contents another template file (i.e. a "tile") or hide it if it's not required in the current context.

Does that make sense?

April 26th, 2005

jerome
12:16 am #

What plugin are you using for this? I don't see it in your list…

The templates are pretty neat and have greatly improved since the first release. The experimental CVS branch shows the direction that LightPress is taking towards very a modular, plugin-driven architecture.

jerome
12:30 am #

Oh, I meant for the comments subscription.

May 2nd, 2005

jerome
6:55 pm #

LightPress 1.0.0 has just been released.