You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Victor Grazi <v....@verizon.net> on 2004/09/15 01:28:00 UTC
Struts development methodology
We are developing an important struts application for a major bank, and we
need some advice on methodology...
Our graphic designers are developing the UI in HTML using Dreamweaver and
Notepad. (They are gifted artists, but they don't much know about Struts or
JSTL).
We also have Java developers who are concurrently creating the Struts
pieces.
Question is - how do you synch up the work of these 2 teams?
One approach would be to give the Java team the html pages and have them
translate the tags to struts. However this becomes difficult to maintain,
because if the graphics team makes a few small changes, the entire page
needs to be retranslated to struts.
Another approach would be to download a Dreamweaver plugin such as FWA
Visual Struts. We tested that approach and we were actually able to get the
tags to render in Dreamweaver. However the artists always need to view the
pages in MS Internet Explorer before signing off, and since the Java
classes don't exist yet, they can't do that.
We considered another approach where we would create an XSLT transform to
transform the html pages to a struts equivalent, and embed struts specific
info into the document using some tags that would not be recognizable to
the browser. However this is difficult since there is not really a 1 to 1
correspondence between tags and attributes.
Ok, so those were our ideas, none of them great.
So can you give us any advice?
Thanks,
Victor
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts development methodology
Posted by Don Brown <do...@gmail.com>.
Why not combine Struts with Velocity:
http://jakarta.apache.org/velocity/tools/struts/
Velocity is really easy to learn and is Dreamweaver-friendly.
Don
On Tue, 14 Sep 2004 19:28 -0400, Victor Grazi <v....@verizon.net> wrote:
> We are developing an important struts application for a major bank, and we
> need some advice on methodology...
> Our graphic designers are developing the UI in HTML using Dreamweaver and
> Notepad. (They are gifted artists, but they don't much know about Struts or
> JSTL).
> We also have Java developers who are concurrently creating the Struts
> pieces.
>
> Question is - how do you synch up the work of these 2 teams?
> One approach would be to give the Java team the html pages and have them
> translate the tags to struts. However this becomes difficult to maintain,
> because if the graphics team makes a few small changes, the entire page
> needs to be retranslated to struts.
>
> Another approach would be to download a Dreamweaver plugin such as FWA
> Visual Struts. We tested that approach and we were actually able to get the
> tags to render in Dreamweaver. However the artists always need to view the
> pages in MS Internet Explorer before signing off, and since the Java
> classes don't exist yet, they can't do that.
>
> We considered another approach where we would create an XSLT transform to
> transform the html pages to a struts equivalent, and embed struts specific
> info into the document using some tags that would not be recognizable to
> the browser. However this is difficult since there is not really a 1 to 1
> correspondence between tags and attributes.
>
> Ok, so those were our ideas, none of them great.
> So can you give us any advice?
>
> Thanks,
> Victor
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts development methodology
Posted by Vic <vi...@portalvu.com>.
Struts works great for this. I assume you have a CVS, and then leverage
the HTML people to write and maintain your JSP pages. They can use the
html input tags or what ever, and DW has plugins for JSP tag libs, any
and all.
The java People can write formbeans that map to the html forms and unit
test CRUD.
The layered development, done all the time just like that.
.V
Victor Grazi wrote:
> We are developing an important struts application for a major bank, and we
> need some advice on methodology...
> Our graphic designers are developing the UI in HTML using Dreamweaver and
> Notepad. (They are gifted artists, but they don't much know about Struts or
> JSTL).
> We also have Java developers who are concurrently creating the Struts
> pieces.
>
> Question is - how do you synch up the work of these 2 teams?
> One approach would be to give the Java team the html pages and have them
> translate the tags to struts. However this becomes difficult to maintain,
> because if the graphics team makes a few small changes, the entire page
> needs to be retranslated to struts.
>
> Another approach would be to download a Dreamweaver plugin such as FWA
> Visual Struts. We tested that approach and we were actually able to get the
> tags to render in Dreamweaver. However the artists always need to view the
> pages in MS Internet Explorer before signing off, and since the Java
> classes don't exist yet, they can't do that.
>
> We considered another approach where we would create an XSLT transform to
> transform the html pages to a struts equivalent, and embed struts specific
> info into the document using some tags that would not be recognizable to
> the browser. However this is difficult since there is not really a 1 to 1
> correspondence between tags and attributes.
>
> Ok, so those were our ideas, none of them great.
> So can you give us any advice?
>
> Thanks,
> Victor
--
Please post on Rich Internet Applications User Interface (RiA/SoA)
<http://www.portalvu.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Struts development methodology
Posted by Guillermo Meyer <gm...@fibertel.com.ar>.
We are also working with Struts in a banking application.
In our case the requeriment was to have skinning capabilities, so we develop
a framework to manage skins and then open sourced it to Xkins (http://xkins.sourceforge.net/)
Our approach is to determine the pieces of the UI. We create a mock page
with all posible combinations and people from graphic designs create that
mock page with all UI elemens. Then, we extract this pieces of pages to
Xkin templates and use taglibs to decorate struts tags in the JSP pages.
These taglibs uses xkins templates. When we need to change a style or a
piece of HTML, we just change the Xkin template. And additionally, if we
need other skin, we create a new one and the application looks completely
different.
Of course, the secret is to determine the "pieces" so that you always can
compose your pages.
Xkins has also XkinsForms that has an implementation of this idea that you
could use and extend to add your own templates.
Xkins templates uses Velocity and you could use other template languages
like groovy or JByte.
HTH
Cheers.
Guillermo.
>-- Mensaje original --
>Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
>Reply-To: victor.grazi@verizon.net
>Subject: Struts development methodology
>To: user@struts.apache.org
>From: Victor Grazi <v....@verizon.net>
>Date: Tue, 14 Sep 2004 19:28 -0400
>
>
>We are developing an important struts application for a major bank, and
we
>
>need some advice on methodology...
>Our graphic designers are developing the UI in HTML using Dreamweaver and
>
>Notepad. (They are gifted artists, but they don't much know about Struts
>or
>JSTL).
>We also have Java developers who are concurrently creating the Struts
>pieces.
>
>Question is - how do you synch up the work of these 2 teams?
>One approach would be to give the Java team the html pages and have them
>
>translate the tags to struts. However this becomes difficult to maintain,
>
>because if the graphics team makes a few small changes, the entire page
>needs to be retranslated to struts.
>
>Another approach would be to download a Dreamweaver plugin such as FWA
>Visual Struts. We tested that approach and we were actually able to get
the
>
>tags to render in Dreamweaver. However the artists always need to view
the
>
>pages in MS Internet Explorer before signing off, and since the Java
>classes don't exist yet, they can't do that.
>
>We considered another approach where we would create an XSLT transform
to
>
>transform the html pages to a struts equivalent, and embed struts specific
>
>info into the document using some tags that would not be recognizable to
>
>the browser. However this is difficult since there is not really a 1 to
1
>
>correspondence between tags and attributes.
>
>Ok, so those were our ideas, none of them great.
>So can you give us any advice?
>
>Thanks,
>Victor
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
________________________________________
FiberTel, el nombre de la banda ancha http://www.fibertel.com.ar
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org