Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

brentdax (2147)

brentdax
  (email not shown publicly)
http://www.brentdax.com/
AOL IM: Brent Dax (Add Buddy, Send Message)

Just another Perl bigot...

Journal of brentdax (2147)

Monday August 01, 2005
03:33 AM

Kontent Day 29: Refactoring

[ #26004 ]

r17 | brent | 2005-08-01 01:22:00 -0700 (Mon, 01 Aug 2005) | 11 lines
 
Two large refactorings:
  * Extracted path-handling code from Request into separate Path/Component objects.
   Paths can now be used to resolve pages without allocating a renderer and so on.
  * Changed Page, Revision, and Draft into:
                Page                    Revision
                /  \                      /  \
        SavedPage  DraftPage  SavedRevision  DraftRevision
  * DraftRevisions now have classes.
 
This is all preperatory to page creation code.

I also wrote a preliminary version of make_root, which is used to create the tables and initial data structures in a Kontent store.

In other news, I've heard on #perl6 that a new Pugs release will land in about 34 hours. I think I'll release Kontent 0.01 (the alpha preview) not long after, and recommend that people use that release of Pugs; that way I won't have to say "run svn co and hope you get a good version". That gives me a day to get page creation running. Should be doable

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.