Maypole
Yuval Kogman <lists-JLKJG/[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.petal |
|---|---|
| Message-ID | <[email protected]> |
Hi, I created a dirt simple Maypole::View::Petal, which is really nothing special. I'm not enjoying the template conversion, though. Would someone please look at them, and see how to do them? My schedule is becomming too tight to again, and I won't fit it this week. I converted about 30% so far, and you can see some of this working at http://nothingmuch.woobling.org/beerdb Important parts are missing. I just can't eat that TT stuff - it's so ugly, and it uses stuff which is just not right to do under Petal. Something which might resolve the issues I'm having is to port the object/path/?thing extension that Zope's implementation has, which interpolates thing into the path, and then evaluates the path. This is used extensively under Simon Cozens original TT templates. I've used Petal::Utils for some of the template stuff. Note that the reason I use Petal is that my X?HTML is very bad. It would be a good idea for someone to look -- () Yuval Kogman <nothingmuch-JLKJG/[email protected]> 0xEBD27418 perl hacker & /\ kung foo master: /me spreads pj3Ar using 0wnage: neeyah!!!!!!!!!!!
maypole-petal.tar.gz
(application/x-tar-gz, 5.5 KB) - not displayed
signature.asc
(application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFA0GV+VCwRwOvSdBgRApn3AKCGHd46pfbqrgEW0J1OnN2P0RoDIgCdFeUt aQ2sGaUzldYLMAahcsksUuE= =nBUI -----END PGP SIGNATURE-----