[geeklog-devel] Geeklog 2 questions/comments

Tom Willett tomw at pigstye.net
Wed Jan 15 14:09:46 EST 2003


As a little break from work I jotted down some ideas/questions about Geeklog 
2 that I have not see discussed anywhere.

1)  Object Oriented dreams:

How object oriented is Geeklog 2 going to be?  I like the idea of getting a 
collection of member objects much more than doing a database access for this 
information.  This would allow for easy caching of such information and easy 
extension by plugins.  

I like the db object in the current geeklog but would like to see it 
expanded to cover all the functions in lib-database.

Tony mentioned a site wide pm facility.  If this was an object then you 
could have multiple different pm facilities available for use.  

I imagine the system on init creating the core objects and each module on 
init making its extensions to those objects, so that a plugin could change 
the behavior of a core object by extending it.

Plugins as objects -- ooh.  I'll have two forum and one pm object please. Oh 
yeah extend one of my forums with moderation.

My imagination runs wild with oo dreams.  To be honest my oo dreams go 
beyond php's oo capabilities.  But there could and should be things like a 
generic plugin class that each plugin extendes with its own properties and 
methods (I see functions.inc here).

2)  Template System

Is there a better way than the current way for plugins/modules to 
participate in the template system?  This will become critical if most 
functionality becomes a module or plugin.  The reason the current theme 
system works as well as it does is that most of the functionality is in the 
core system.  There has to be a better way but I cannot see it right now.


--
Tom Willett
tomw at pigstye.net



More information about the geeklog-devel mailing list