From dmabe at runningland.com Thu Jan 12 12:21:14 2006 From: dmabe at runningland.com (Dave Mabe) Date: Thu, 12 Jan 2006 15:21:14 -0500 Subject: [PBP-pm] Best Practices for HTML::Mason Code Message-ID: I'm working on a project using Mason and am having trouble settling into the "best" way of doing things. For example, do you find yourself using <%perl> blocks or lines with % at the beginning? Any best practices out there for Mason? -- Dave Mabe http://dave.runningland.com My New Book: BlackBerry Hacks http://www.amazon.com/exec/obidos/tg/detail/-/0596101155/runningwatch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/pbp-pm/attachments/20060112/1dab533a/attachment.html From autarch at urth.org Thu Jan 12 14:35:34 2006 From: autarch at urth.org (Dave Rolsky) Date: Thu, 12 Jan 2006 16:35:34 -0600 (CST) Subject: [PBP-pm] Best Practices for HTML::Mason Code In-Reply-To: References: Message-ID: On Thu, 12 Jan 2006, Dave Mabe wrote: > I'm working on a project using Mason and am having trouble settling into the > "best" way of doing things. > > For example, do you find yourself using <%perl> blocks or lines with % at > the beginning? > > Any best practices out there for Mason? There have been threads along these lines on the Mason-users list at various times. I wrote a chapter in the Mason book that touches on some similar topics, which is available at http://www.masonbook.com/book/chapter-10.mhtml There's also this page on MasonHQ: http://www.masonhq.com/?MasonStyleGuide, which I created a long time ago. I was hoping others would add to it, but AFAICT that hasn't happened. I'd love to get more ideas onto that page in particular. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/