[geeklog-devel] Geeklog 2 questions/comments
Tony Bibbs
tony at tonybibbs.com
Wed Jan 15 17:39:40 EST 2003
On Wed, 15 Jan 2003, Tom Willett wrote:
> 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.
It's 99.99% object oriented ;-)
>
> I like the db object in the current geeklog but would like to see it
> expanded to cover all the functions in lib-database.
We are using PEAR::DB. I think between it and some well thought out data
access objects we can cover this.
>
> 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.
Actually the conceptual pieces of this are in the works. We will have a
'base' plugin class that all plugins should inherit from. That way it
truly leverages the GL kernel and the services it provides.
>
> 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.
You aren't the first person to say that. However, I have not seen a
better alternative to templating. I'm definitely open to ideas.
--Tony
>
>
> --
> Tom Willett
> tomw at pigstye.net
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-devel
>
--
------------------------------------------------------------------------|
Tony Bibbs | "I guess you have to remember that those who don't |
tony at tonybibbs.com | hunt or fish often see those of us who do as |
| harmlessly strange and sort of amusing. When you |
| think about it, that might be a fair assessment." |
| --Unknown |
------------------------------------------------------------------------|
More information about the geeklog-devel
mailing list