Gone are the days to live with GSPs (server side rendering)

Post on 05-Jul-2015

1.209 views 1 download

description

Developer efficiency has become high priority in IT industry now because of which technologies like Grails, Rails gained a lot of attention. By separating responsibilities properly between backend and frontend, whole team efficiency can be improved drastically along with system performance. I have presented my experiences with one such project where we have used latest JS technologies and REST based architecture to accelerate development at the same time improving system efficiency and flexibility.

Transcript of Gone are the days to live with GSPs (server side rendering)

Gone are the days to live with GSPs(Server side rendering)

Ganesh Gembali

Really ??

Server Side TemplatingB

row

ser

Serv

er

Dat

a St

ore

/greet?id=1Hello

<b><%=name></b>

Id Name1 Ganesh2 Sunil

Hello <b>Ganesh</b

>Hello Ganesh

So what’s the problem?

• Coordination between frontend and backend developers

• Tight coupling

• Heavy payload

• Redundancy

SO?

Client Side TemplatingB

row

ser

Serv

er

Dat

a St

ore

/greet?id=1Hello

<b>{{name}}</b>

Id Name1 Ganesh2 Sunil{ name:”ganesh”}

Template Engine

Hello Ganesh

What’s new in Javascript?

• HTML5

• Tooling to support efficient development

• Frameworks

• Frontend as an engineering vertical

• Text

SOURCE : http://blog.mwaysolutions.com/2013/11/08/client-vs-serverside-rendering-the-big-battle-2/

• Text

SOURCE : http://blog.mwaysolutions.com/2013/11/08/client-vs-serverside-rendering-the-big-battle-2/

• Text

SOURCE : http://blog.mwaysolutions.com/2013/11/08/client-vs-serverside-rendering-the-big-battle-2/

What’s new?

New process of development

• Two teams : Frontend and Backend

• Service contract based on request & response

• Divide responsibilities

• Deploying the applications

Thank you You can always find me at JSChannel Meetup

6+ years of experience with Java and Javascript

Core member of JSChannel

Email : ggembali@gmail.com