Note also that one can currently generate XMLC documents on the fly, albeit
without helper methods for ID's. This will likely be enhanced in XMLC 3.0
where Dynamic proxies will be used to generate the helper methods. At that
point, there will be no real need for the compilation step. Currently, if
you perform compilation with the -for-deferred-parsing, you'll get the
benefits of compiled XMLC pages + dynamic runtime reloading. And when you
do this, the compiled XMLC classes won't contain the markup keeping your
classes as small as possible. The markup is loaded/reloaded at
runtime. Also keep in mind that with XMLC compilation also comes
compile-time checking for the document. You can even have an interface
which documents implement to make sure that designers included all the
appropriate ID's in the document so you are guaranteed to catch any
discrepencies before runtime. Anyway, take a look at David's
articles. They explain a lot.
Jake
At 12:59 PM 12/18/2003 -0700, David H. Young wrote:
Hi John,
For a quick response, check out the article I wrote awhile back at:
http://www.theserverside.com/resources/article.jsp?l=XMLCvsJSP
I've also got an old slide presentation (powerpoint) you can download at
http://www.kspar.net/xmlcIntro.ppt
BTW, I had to approve your posting since this is a monitored list. Feel
free to join the group at
http://xmlc.enhydra.org/project/mailingLists/index.html
Regards,
David
John J. Westerkamp wrote:
Hi,
I am considering using XMLC for a large J2EE project. I currenlty create
HTML pages which are
doctored to include the XSLT commands. From this perspective, I definitely
see the advantage of a simple
HTML page without page designers having to know XSLT. What I do not like,
is seeing a bunch of new Java
classes for every HTML page in my design. I currently use a template base
class to do all of the XML document
generation using Metadata to link the XML tags to variable names in a
Java list object. I only have a single
class that is used to generate all of the documents for every HTML page.
Can I hear some arguments as to
how I can do this with XMLC and why using XMLC would be a better approach?
Thanks!
John Westerkamp
Productivity Network Innovations, LLC
--
David H. Young
SAMBA Holdings, Inc.
Chief Technology Officer
1730 Montaño NW
Albuquerque, NM 87107
505.797.2622 x113
http://www.samba.biz
_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc
|