[dev] Agora Code and Idea Donation

Chuck Hagenbuch chuck at horde.org
Sun Sep 26 01:05:45 UTC 2010


Quoting Stephan Hohmann <webmaster at dasourcerer.net>:

> Okay... I could throw together a Horde_Content_HTTPCacheable interface along
> with some demo code if you wish. I'm afraid I do not understand Horde_Content
> well enough to contribute directly.

As discussed a bit on IRC, I think Horde_Controller is the place for this.

> How would you run that? Via cron like the alarm system? I am asking because
> I'd like to use this for my BBCode parser as well. I am currently toying
> around with some __destruct magic to gather informations about remote
> resources. A generic queue system would of course be the more elegant
> solution.

What would bbcode use in a queue system? But as for execution model,  
yes, cron is one option, or a dedicated daemon (either custom or  
something like Gearman, RabbitMQ, etc).

> I thought of some generic stats on a public page:
>  - Top 10 users by posts
>  - Top 10 boards by posts
>  - Top 10 threads by posts
>  - Last 10 threads
>  - Averages on posts/d, posts/h and posts/thread
>    The last one could even be used to determine "hot" threads
>    (way better than a static threshold)
>  - An overview over the number of posts within the last seven days
>
> These could go into blocks easily, so users could have the stats on their
> start page that are most interesting to them. The public page could be a
> "static" .php at first. A more sophisticated were to let a site admin
> freely configure blocks.

Cool.

> Oh yes. I'm a bit thrown back by some hardware issues... But things have
> started moving :)
> Btw: I've started a project page for Agora in the wiki. It's obviously
> based on H3's version of Agora. I think I'll get to remove everything
> that is already in H4 by the end of the week.

Any updates here? :)

-chuck


More information about the dev mailing list