Emmanuel Feller wrote:
Hi James,

I take a look to your paper and i found it very interesting.
But I am wondering if every code generator are not taking
the problem by a wrong way, because I saw some of them
(your, one on Ted Husted's site, one made in my office, and
few others which wasn't mature) and every code generator are
html based.
They parse the html pages and find the information needed,
so they generate the action needed to populate theses data
into jsp.

But when you start an application you first think to
business logic, so you know which information will be on the
pages.

Most applications are based on requirements, and easy to define those as HTML.


To go backwards from here is what we have see if anyone want's it is not as good aproach.

.V


So why not do generation of code (action, actionform,
jsp and struts-config.xml) from business logic API and the
navigation state diagram ?

I like your paper because it introduced a state diagram, and
i only ever saw it in our internal codegenerator.

I am working on a struts application to dynamically build a
web application. Presentation part should be logic less, so
it logically could be automatically build. In an hour, the
core application should be available and it should not
required lot of tools : only a browser to connect to a
developpement server. An Ant could be packaged into the
codegenerator to deploy for testing into build process. Once
the navigation is ok and it work as you like, you may
download the sources and only at this point do the html
presentation.

This is more natural when you are working on a module for a
big application. Here you can use tiles and all the
productivity features proposed into struts.

I am at your disposition if you want more information. ;)

Regards,
Emmanuel Feller
Senior Developper
Cap Gemini Ernst & Young
+33 2 51 17 35 00 phone 3716
+33 6 23 34 63 39
----- Message d'origine -----
De : "james logsdon" <[EMAIL PROTECTED]>
� : <[EMAIL PROTECTED]>
Envoy� : mercredi 12 mars 2003 15:54
Objet : Re: Opinions on Struts code generator - A zipped
version



Hopefully this works...




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to