It's never that clear-cut :)

A server-side framework can speed things up a great deal by handling
less/sass/scss compilation, js minification, template pre-compilation, etc.
all at compile time (and yes, this is how I use scalatra)

It also allows you to work with a much cleaner, DRYer syntax which then
emits code for a framework such as bootstrap.

Plus... You then already have a framework available to produce those
RESTful JSON resources that the client-side stuff will be consuming!



On 9 August 2012 16:50, clay <[email protected]> wrote:

> If your front end devs that are more comfortable with HTML/JS/CSS, why
> don't you use a strictly HTML/JS/CSS front end that talks to Java REST
> services and drop the server-side HTML templating engine?
>
> On Thursday, August 9, 2012 8:56:05 AM UTC-5, [email protected] wrote:
>>
>> I'd like to hear people sharing their experience with java-based webapps
>> and using templates that are not JSP or anything in the
>> JSTL-Velocity-Freemarker world.
>>
>> We're running a few webapps (some spring-based, but not all of them) and
>> from the front-end room we only hear cursing and crying, so to speak.
>>
>> These guys are very good html/css/js developers and had enough of
>> jsp/jstl.
>>
>> We've been trying to de-couple a little bit and started experimenting
>> with other stuff.
>>
>> I personally tried scalate <http://scalate.fusesource.org> and liked it
>> but I'd like to hear more from anybody who's using these things fulltime.
>>
>> Handlebars, Mustache, Angular... you name it. How do they integrate with
>> a java webapp?
>>
>> Also, since we deploy our war on glassfish, how could we set it up so
>> that front-end changes WON'T need re-deploy?
>>
>> ps: Scalate guys suggest to ask this question beforehand: Who edits the
>> templates?<http://scalate.fusesource.org/which.html#Who_edits_the_templates_>
>>  Maybe
>> it's the right question to ask.
>>
>> pps: no, we're not moving to Play or Scala or Rails
>>
>>

-- 
You received this message because you are subscribed to the Google Groups "Java 
Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to