Good questions. I guess, like always: it depends...

I use Stripes to make a webapp/website that has generated HTML pages, 
enhanced with JavaScript components. But if you don't need that kind of 
flexibility, say you just want to build a constrained windows like 
application in you're browser, then tools like GWT might make you're more 
productive.

Thus when using Stripes, you would keep generating HTML pages, but the 
JavaScript part stays mostly static, only loading data and other dynamic 
stuff will need to be generated in Stripes templates. Possibly you also need 
to program Ajax resolutions in stripes to handle asynchronous request from 
you're pages. But most JavaScript will be static, just like you're Java 
code. So you basicaly need to program in two platforms (Javascript and Java)

BTW. I don't use ExtJS, I've looked into it, and it looks very nice but also 
seems constrained and not very flexible. That maybe fine for developing a 
Windows like application, but not for a website that needs full layout 
control and be SEO friendly. We decided to use YUI as a JavaScript component 
framework. It has many widgets, a bigger customer base and it's open source.


"Grzegorz Krugly" <[email protected]> wrote in 
message news:[email protected]...
> Karen, thanks for clarification. I think I'll go with JSPs + ExtJS.
>
> I'm not clear on just one thing -- all the examples I've seen have empty
> html <body> and everything is generated by JavaScript. How would I go
> about creating something like a dashboard - in JSPs I have been able to
> create quite sophisticated templating mechanism with layout templates,
> placeholders and content chunks. Will I have to generate JavaScript code
> pieces to do the same in ExtJS? Has anyone an experience in creating
> apps in this different paradigm -- more application-like than page-like?
>
> Best regards,
> Grzegorz
>
> KR pisze:
>> Grzegorz,
>>
>> You can use ExtJS without any problems with Stripes. ExtJS is just a
>> JavaScript widget library you can add to any HTML page, both static and
>> server side generated. That means you can use it in you're stripes JSP 
>> pages
>> without any problems, just as you uses any other JavaScript library (YUI,
>> JQuery, etc). The only time you need to integrate with Stripes is when 
>> you
>> do Ajax calls from JavaScript, for this you can use the Stripes
>> JavaScriptResolution.
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
> 30-Day
> trial. Simplify your report design, integration and deployment - and focus 
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july 




------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to