On November 24, 2003 03:19 pm, Jesse Erlbaum wrote:
> Hi Josh --
>
> > How is this an improvement over CGI::XMLApplication? Can you get your
> > improvements into C'XA so there isn't a code fork? If there is some
> > reason to not use CGI'XA in favor of C'A'X you should really document
> > that in your pod and provide the pros and cons for each.
>
> IMHO, the author of CGI::XMLApplication should have used
> CGI::Application in the first place.
No bias here. ;->>>
> I think you could have a winner here. When I read about
> CGI::XMLApplication a few months ago I nearly wrote the same thing. The
> only reason I didn't is because I don't use XSLT. ;-) HTML::Template
> rocks.
And this, I think, is where many users have wished for C::A to be
separated from H::T. Then it would make much more sense to graft XML,
H::T, Text::Template, etc., in subclasses:
CGI::Application
+-- CGI::Application::XML
| +-- CGI::Application::XMLtoHTML
| (has the ability to transform XML to HTML via XSLT)
+-- CGI::Application::HtmlTemplate
+-- CGI::Application::TextTemplate
+-- etc.
The theory would be that CGI::Application::HtmlTemplate would be a
drop-in (or near-drop-in) replacement from C::A today.
I've been tempted a number of times to start a new project that
mirrored C::A except tore out H::T, relegating it to a subclass. The
main reason I haven't is simply that I use H::T ;-)
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.