I'm game for building out this functionality starting October 6th if
nobody beats me to it (I'm heading to TAE). If anyone claims it before
then they're welcome to it.

Owen, if it is worth it to guide off of, can you post the "very basic
shell" you've come up with somewhere?
Nathan Hammond

On Sep 24, 11:41 am, "Owen Winkler" <[EMAIL PROTECTED]> wrote:
> On Wed, Sep 24, 2008 at 8:47 AM, drzax <[EMAIL PROTECTED]> wrote:
>
> > I was actually just wondering today if anyone (Owen?) is actively
> > working to implement something which actually uses the new DB schema.
> > I can't see any code yet that uses it. Maybe I'm looking in the wrong
> > place.
>
> I'm traveling this week, trying to promote Habari a little and learn a
> bit more about the state of blogging in the world.  So I haven't had
> as much time to code as I'd like.  (I'm currently in Seattle - not
> home - between visiting Blog World Expo last weekend and blogOrlando
> this weekend.)
>
> So far, I've only had time to commit changes for the part of the
> schema that adds new functionality to rewrite rules.  This allows
> additional values to be added to the handler vars when a rule matches,
> and should make redirects easier within the system.
>
> The intended changes for tags would remove the existing tags tables
> after shunting their data into the new terms tables.  The linkages
> work basically the same as the existing tags table, except that there
> can be multiple vocabularies, and vocabularies can be tied to
> additional objects other than posts.  The MPTT (modified preorder tree
> traversal) fields allow a vocabulary to be hierarchical.
>
> The intent in code is to create a few classes that handle the new
> term/vocabulary system, and then reduce the existing Tag classes into
> facade classes for the terms classes.  The Tag class would essentially
> call functions in the Term class with preset parameters, which might
> be flexible (stored as options).  The end result is that the Tag
> classes would work exactly like they do now, but store their data in
> the new tables.
>
> The new data structure allows for hierarchical tags and can be marked
> to allow assignment in specific ways, like "use exactly one term in
> this vocabulary per post".  I think that a careful consideration of
> the data structure should reveal how it's used, although obviously
> documentation would be best -- I'm simply not in a position to provide
> that at the moment.
>
> I encourage anyone who would like the challenge to go ahead with
> implementing these classes and not wait for me to do it.  I've started
> a very basic shell at home, but it's not enough to do anything useful
> with.  If we can get some preliminary code in the repo, others can
> help build it out.
>
> Owen
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/habari-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to