An Open-source web application framework you should know - Play!


Download File To Blob Play Framework free - helperautomation
 
So What is Play!... simply Play Framework is a Open-source web application framework. Initial release of the Play Framework was on 2007. Play was created by software developer Guillaume Bort while working at Zengularity SA.

Popularity & Features
This Framework is written in Scala.New versions of play is developed and managed by Lightbend and the community. As of October 2013, the Play is the Most popular Scala project on GitHub and in July 2015, Play was the 3rd most popular Scala library in Github, based on 64,562 Libraries. Not only that 21.3% of the top Scala projects used Play as their framework of choice.

Play is heavily inspired by ASP.NET MVC, Ruby on Rails and Django and is similar to this family of frameworks. Since Play follows the Model–view–controller (MVC) architectural pattern. It aims to optimize developer productivity by using convention over configuration, hot code reloading and display of errors in the browser.

Developer friendly
Play is developer friendly with a built-in testing support. With Play, applications scale predictably due to a stateless and non-blocking architecture. By being RESTful by default, including assets compilers, JSON & WebSocket support, Play is a perfect fit for modern web & mobile applications.

Web Server - HTTP
Due to using Akka HTTP as its web server, Play can service long requests asynchronously rather than tying up HTTP threads doing business logic like Java EE frameworks that don't use the asynchronous support offered by Servlet 3.0. Like Ruby on Rails and Django, Play comes with the concept of modules. Developers that comes from using those frameworks will feel familiar and comfortable using Play.

Play 2
Play 2 uses Scala internally but also exposes both a Scala API, and a Java API that is deliberately slightly different to fit in with Java conventions, and Play is completely inter-operable with Java. Because of that developers that familiar with java can use this without a problem.

How to use play?
Syntax of the Play Framework is look something like this.

Scala
val content = views.html.Application.index(c, o)
With HTML template


@(customer: Customer, orders: List[Order])<h1>Welcome @customer.name!</h1>
<ul>
@for(order <- orders) {
 <li>
@order.title</li>
}
</ul>


Who use this?
Since Play is trusted by many reputable Organizations like Linkedin and Samsung we can say play is hear to stay. Now Play is in it’s version 2.6 and being updated often. So it will be developed to accommodate changes of technology. Not only that play can be used with very popular javascript frameworks like AngularJS, React and Vue.


As shown in this graph Play framework has grown rapidly until 2015 and kept it place since.

So Play framework will grow in the future.

Play Framework

Post a Comment

0 Comments