playframework
Follow
Find tag "dependencies"
228.1K views | +28 today
playframework
A java web framework made by web developers for web developers
Curated by opensas
Your new post is loading...
Your new post is loading...
Scooped by opensas
Scoop.it!

Christopher Hunt on Software Development: Play-ing with WebJars

Christopher Hunt on Software Development: Play-ing with WebJars | playframework | Scoop.it
RT @mikegehard: The asset pipeline in #playframework just got better…
http://t.co/HGOBj5kxah
Thanks @_JamesWard and @typesafe.
more...
No comment yet.
Scooped by opensas
Scoop.it!

Introducing WebJars – Web Libraries as Managed Dependencies

Introducing WebJars – Web Libraries as Managed Dependencies | playframework | Scoop.it

Our web apps are using more and more web libraries like jQuery, Backbone.js and Twitter Bootstrap. The traditional way to use those libraries is to locate & download the JavaScript and CSS source then just copy it into a project. To me this resembles how we used to just copy JAR files into a project’s WEB-INF/lib dir. But why not do with web libraries like we now do with Java libraries and specify them as managed dependencies? This allows us to declaratively set the version, use a consistent version across an application, and easily deal with transitive dependencies. Then we just need web frameworks that can serve static assets from JAR files and we are good to go! Luckily Play 2 and Dropwizard both have out-of-the-box support for this. So I decided to give it a try…

more...
No comment yet.
Scooped by opensas
Scoop.it!

Play 2.0: Akka, Rest, Json and dependencies | Smartjava.org

I've been diving more and more into scala the last couple of months. Scala together with the "Play Framework" provides you with a very effective and quick development environment (as soon as you've grasped the idiosyncrasies of the Scala language, that is). The guys behind the Play framework have been hard at work at the new version Play 2.0. In Play 2.0 scala plays a much more important role, and especially the complete build process has been immensely improved. The only problem so far, I've encountered with Play 2.0 is the lack of good documentation. The guys are hard at work at updating the wiki, but its often still a lot of trial and error to get what you want. Note though, that often this isn't just caused by Play, I also sometimes still struggle with the more exotic Scala constructs ;-)

In this article, I'll give you an introduction into how you can accomplish some common tasks in Play 2.0 using Scala

more...
No comment yet.