Modern Web Framework : Play framework

Post on 23-Jan-2015

1.245 views 1 download

Tags:

description

Presentation about modern web framework, Highlighted Play framework and it's feature

Transcript of Modern Web Framework : Play framework

Modern Web Framework Play,haroku,git and bootStrap

Suman adak

TCS Innovation Lab,Kolkata

Popular Java Web Framework

Non Java Web Framework

Play! Framework

It’s fun to code in JAVA

www.playframework.org

Why a New Java Framework?

“Java Framework are created by java developer not web developer”

“Java developer are building Java application not web application”

-Taken from a presentation by Play! Freamwork creator – Guillaume Bort.

What is Cool??

• Download ,unpack and go! • Optimize developer productivity by using convention over configuration. • Stateless MVC Architecture – Play is fully RESTful. No JAVA EE Session!!!!. • Easy Round Trip-No need to deploy to application server each time. Fix the Bug

and hit reload! • Java compilation Error on browser. • Elegant API-Typical stuff built-in. • Asynchronous I/O – service long request rather holding HTTP thread. • Job support. • Testing framework included – Junit and Selenium. • Modular Architecture: A big Plus. • CRUD module: building admin UI easily. • SCALA support. • Heavily Inspired by Ruby on rails and Django.

Architecture

Components

Functionality

• A Clean RESTful framework. • Showing errors in browser!! • CRUD module. • Secure module. • Validation by Annotation. • BootStrap Job. • Job Scheduler. • Simple SMTP mailer. • JSON and XML parser and marshalers. • Persistence layer based on JPA. • Embedded memory database for quick development. • Embedded testing framework. • OpenID and Auth supported. • Automatic file Upload functionality. • Multi environment configuration awareness. • Template engine and module architecture. • Handy library for common task.

Available Modules

• Google App Engine,Heroku,opnshift • PDF Generation • Google Web toolkit • MongoDB • Simple Seach based on Lucene • OpenID and Auth Authentication • Cargo Support. • Maven plugin. • Deadbolt authorization • Elastic search • Facebook Graph API, Facebook Connect,LinkedLn Aouth • Jquery UI • RabitMQ • Redis • More than 100 modules and is growing

Next will be yours!!!

Where to Start?

http://www.playframework.org/documentation/1.2.4/cheatsheet/commandLine

Download from playframework.org and start looking at the test-example folder under Play directory for quickstart.

Cloud Platform

Heroku

• A cloud platform as a service(PaaS)

• polyglot platform

• Super Easy to deploy app.

• Supports Ruby,Java,Node.js,Scala,Clojure,Play,Python

• When facebook says good then It should be good

• “In November 2010, Heroku announced a partnership with Facebook,creating the Heroku Facebook App Package which enable companies—large and small—to quickly and easily create Facebook apps reliably.Said Mike Vernal, Director of the Facebook Platform, "Heroku makes building and scaling Facebook applications easier than ever. Developers can focus on their app, getting it in the hands of millions of Facebook users quickly.“[Source -wikipedia]

BootStrap –CSS Framework

http://twitter.github.com/bootstrap/

Git and gitHub

Let’s Play!!

Thank You for your patience!

Hope U have lot of question!! Hang on here http://groups.google.com/group/play-framework

http://stackoverflow.com/tags/playframework

http://www.playframework.org/community/snippets

Me If I can!!!!

Bye!