[Catalyst] [RFC] SVN and MT Models
Christopher H. Laco
claco at chrislaco.com
Sat Oct 29 15:48:19 CEST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm making the leap, and converting my html/mediawiki/php/MovableType
based site (http://handelframework.com/) to be Catalyst/TT powered.
The wiki will get converted to MojoMojo. That's the easy part. :-)
The demos seciton is already a cat app.
I have an MP1 handler module that takes care of the /source/ page that
browses the SVN repo. That should be easy enough to convert to a Model.
The blog is powered by MovableType. I'll keep the backend admin, but I'm
thinking about writing a model to access MT blog data.
Considering those two models (SVN/MT), what do you think they should
look like?
I was thinking that th SVN model for my purposes only needs a list/ls
and a view/cat, following the basic SVN::Client API. I'm a little unsure
whether I it should just return raw SVN objects, or if it should wrap
then in something a little friendlier; something that take care of the
date formats, and calculates extra information for use in the controller.
For the MT model, I really only need a way to list the entries, and view
the entries. I'll probably stick to using the MT cgis for comment posting.
In either case, I want to make them flexable enough that if they need to
be full blown modles in the future, they can be (like svn checkouts and
diffs from within Cat).
Thoughts?
- -=Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDY32j+66dLHM50ssRAmmGAJ4p/MTkTon9O0iJ8lDRqbNp3HfCHQCeLvJl
Zo/404Qk3lT/hWznJKLYC0g=
=lhQe
-----END PGP SIGNATURE-----
More information about the Catalyst
mailing list