4 ms·
If you're a Perl programmer, there is HTML::Mason. It's what Schachter used for del.icio.us, IFAIK. I've been using it for some time. It has it's pros and cons.
by Todd 20y ago
If you're a Perl programmer, there is HTML::Mason. It's what Schachter used for del.icio.us, IFAIK. I've been using it for some time. It has it's pros and cons. It's a little off the beaten path (as is Perl these days). None of the cool kids are using it. It's not sexy. But, damn, you can just get so much done with Perl. In spite of myself, I keep going back.
- inklesspen 20y agoIf you like Mason, but you prefer Python to Perl, you might want to look at Myghty: http://www.myghty.org http://www.myghty.org
- Todd 20y agoI must say, this was a revelation. It looks like the author has begun a new streamlined version called Mako: http://www.makotemplates.org/ http://www.makotemplates.org/ The reason I tend to prefer this sort of thing to many of the other templating solutions is that it uses native code instead of custom tokens, which are limiting. It does make for less readable code and muddies the distinction between presentation and implementation. I think it works well, though, for startups building applications in which the majority of people building it are developers. It's just a very quick and powerful way to get the thing doing what you want. The designers can then be free to do more blue-sky design work (without templating code) that can be backported into the project. That being said, it can be very helpful to have a backing object in which to hide the majority of the heavy lifting. Then you can just sprinkle a little code in the template for the final polish.
- inklesspen 20y agoYeah, I frakking LOVE Mako (and to a lesser extent, Myghty). You may be interested to know that bittorrent.com runs on Myghty. It's definitely scalable.
- zzzeek 20y agoyes and i think theyve migrated to Pylons (with Myghty). Pylons before version 0.9 used myghty as its interpretive backend as well (i.e. the framework part of myghty) before they reworked it to be its own thing. Pylons 0.9.5 will also feature Mako as the default template language. - mike, interested to see links from ycombinator in his referrer logs
- far33d 20y agoThis package is really interesting. I originally was drawn to django for a few reasons: it was really well documented, it had a good use history, is all python, and was basically full-stack and took care of the annoyances on the front end (templates) and back end (database). But this suite of tools (pylons + mako + others) seem more flexible.. thanks for the advice. I think I'll still investigate rails, but I have reservations.