From: clayton c. <cc...@ca...> - 2001-03-30 14:50:25
|
This is long, so bear with me ... in my portal seeking travels, i ran across TerraCotta (www.terracottasoftware.com) which provides basic infrastucture for site-building. the docs make for good reading. they have a few very interesting features (one of which is that you can automatically download and install features from other terracotta sites - dont ask me about security) in any case one of the issues i was contemplating was one of module dependencies (actually there are two levels of dependency, but i'll just deal with one) lets say david d. developer creates a plugin which mails out notices when concerts are added to the event calendar. well as it stands, we would have to go in and modify the calendar code to accomodate this. also, if he wants to give the 1000th registered member a free subscription to his dead-tree magazine, he'd have to muck about in the code again. and what if he decides to yank the calendar plugin ? well then youve got orphan DB entries to deal with and your other plugins will crash and burn expecting to find something that aint there. one way to handle this is by Alerts ( TC's description and implementation details at www.terracottasoftware.com/tc/doc/alerts ). basically you register interest in events with a callback. when those events occur, your code gets called. these "events" are stored in the database, and you can set up a cron job to process them. they have urgency levels, so a low-disk quota event would get handled before user registration event. They can also be filtered. so in our example the calendar module would call a raise_event() function whenever someone added a new entry (events have associated data, so you can store details). The registration module can raise an event when someone registers. Alerts can get expensive, so we dont do them for very frequently occurring events. Also for efficiency purposes, we can have an events_registered field in the plugins table so that a plugin only needs to raise an event if someone is interested. <question to self>then again, can we manage all of this via cron? but this way we have a greater level control which we can exercise via a web interface</question> just a thought... BTW PHPWeblog uses their html parser to screen user posts. it has a configurable level of screening. Their "Views" feature is an interesting take on block content handling. We should probably look a this too. ----- Original Message ----- From: "Mike Windsor" <wi...@ce...> To: <php...@li...> Sent: Thursday, 29. March 2001 22:16 Subject: [Phpwebsite-developers] Roadmap > Hey, > Was there a meeting scheduled for tomorrow? Is it still on? Will a decision > "roadmap" be laid out tomorrow on March 30? > Just wondering when we will get some direction? Not that I will be much > help but I would like to know if I should continue to follow this project or > find another. Although I have limited code knowledge I would like to began > to learn something maybe about plugins. I've looked at some of the plugins > now and see a little bit about how they work, but it sounds like it might > get changed around a bit. > I've talked to other people who have made forums or weather scripts or > financial scripts and I convinced some of them to take a look at phpWebSite, > they and I believe that the first plugin in any category will more than > likely be the standad in the beginning which will bring more people to their > own script and improve it. I think if you end up debating on the best > approach to long many are going to lose interest and go with the next > version of nuke5 that is going to have "modules", and this project will > lose out. I understand things like this take planning and so forth, but my > wish would be for a very well thought out decision done in a timely matter. > Hopefully we get a sense of direction by this weekend. > Anyway, I'll just sit here with my sharp stick and prod you along <g> > > > winzor > (wanna be) > > > > ----- Original Message ----- > From: "Spiggy TheCat" <th...@me...> > To: <php...@li...> > Sent: Thursday, March 29, 2001 8:14 PM > Subject: [Phpwebsite-developers] about mysql (slightly OT) > > > > people who checked the openacs site, might have stumbled into this (rather > > lengthy with all the comments) article. people at openacs seem to be > really > > against mysql. > > > > http://openacs.org/philosophy/why-not-mysql.html > > > > paivi > > > > > > _______________________________________________ > > Phpwebsite-developers mailing list > > Php...@li... > > http://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > > > > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > http://lists.sourceforge.net/lists/listinfo/phpwebsite-developers |