I'm going to take the bait and attempt to answer this email...
José Carlos Sardagna wrote:
Hi, people.
What you think we create a alternative template to use ajax and web
standards.
Why ajax?
Dojo is a great framework ajax, however is very slow to make bussiness
solutions, and i don't think appropiate to use with struts2, because what
the widget dojo do is to make easy a complexy solution with tags html.
The strength of the dojo + S2 integration is how simple it is for a
developer to asynchronously load content into div's on their pages (the
s:div, s:a and s:submit tags and the targets and notifyListeners
attributes). S2 provides tags to simplify the integration of small set
of commonly used dojo widgets, which is convenient, but S2 in no way
prevents you from using other widget or client-side libraries.
Perhaps you can more productive with other widget libraries as compared
to dojo, and if so you are able to go ahead and use them. The
integration of S2 with dojo is, in my opinion, a relatively minor
feature of S2.
So why don't struts2 write the final code, like another tamplates an tags. I
sugest write tags that make the same solution of dojo, without de code
generate in client, or wait the dojo 0.9..is mor smaller e faster.
I don't know why dojo was selected over alternative ajax and widget
frameworks, however I have confidence that the community would have
debated it at great length.
As S2 gains popularity, I anticipate the dojo-based tags will just be
one of several available options. For example, this week an S2 plugin
was released to use the YUI calendar widget. No doubt other developers
will release plugins for other client-side libraries and their favourite
widgets. S2 is in no way forces you to use dojo, it's just convenient
(and productive) to do so at the moment.
Why webStandards?
To make tags without tables for forms fields, for sample, using fiedset,
label.... is make the web page more faster em less code generated.
The S2 'themes' allow the developer to choose whether they want to
hand-craft their html entirely, use traditional xhtml layout (layout
with tables), use 'web standards' (the CSS theme) or create your own
theme. Similarly, you can create or reuse tag libraries, or create your
own S2 tags. Again, S2 does not force you to use web standards, nor
does it prevent you from doing your own thing.
Sorry, my english is terrible.. what you think about it?, is there a
alternative yet for this case? I now you can make tunning in dojo, but de
principle is the same.. you make a tag...that make a widget..that make your
lost money.
My personal reason for investing my time and money into S2 is because I
can achieve higher levels of productivity with it compared to other web
frameworks.
Hope that was helpful and in some way addresses your questions and comments.
regards,
Jeromy Evans
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]