On 12/8/07, <b class="gmail_sendername">Jesse Vincent</b> &lt;<a href="mailto:jesse@bestpractical.com">jesse@bestpractical.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I&#39;d certainly love to see a patch to replace the ClassLoader (or any<br> other significant part of jifty) with a nice abstraction like this :)</blockquote><div><br>I got back around to playing with this and wanted to post this to the list for others to try out before I made any commits. This has the opportunity to be a fairly horrendous breakage of Jifty if I&#39;ve screwed it up. It passes tests for me on the latest trunk.<br>
<br>Attached you should find a patch that will convert the existing Jifty::ClassLoader to use Class::AutoGenerate, which provides a declarative DSL for code generation that is somewhat similar to Template::Declare. It requires Class::AutoGenerate 0.05 which was only recently uploaded to CPAN, but you can fetch from the PAUSE server or directly from Subversion:<br>
<br><a href="http://svn.contentment.org/svn/trunk/Class-AutoGenerate">http://svn.contentment.org/svn/trunk/Class-AutoGenerate</a><br><br>Cheers,<br>Andrew<br></div><br></div>