24 Sep 2013, 00:00


Yesterday the Typesafe Activator hit 1.0. If you haven’t heard about it and use scala or the jvm then take five minutes and check it out - its worth it.

What is it?

My recommendation alone not enough and you what to know more about it before installing it? No problems, let me convince you.

Typesafe Activator is a local web & command-line tool that helps developers get started with the Typesafe Platform.

Whats that give you? Basically, a real nice UI in the browser for creating web applications from templates. The templates cover “hello world” in scala to using Akka, Play and Scala to create modern scalable reactive web sites.

Its quick and easy to get going - I chose the Play Reactive Mongo and knockout.js template

In the background it downloads all the resources you need to create the project from the template. Starting a new project is extremely simple and once the project is loaded you get to use the Web UI in anger.

The tutorial

Once loaded, you get the tutorial for this template:

The world is going reactive

Not long ago, response times in the seconds were considered appropriate. Browser refreshes were the norm in web applications. Systems would go down for hours of maintenance, or even be rebooted nightly, and this was ok because people only expected the systems to be up during business hours..

Exciting stuff! So not only can you code, compile and test your application all in the browser - there’s a tutorial to guide you through the various new concepts as well.

The reactive mongo tutorial, gets you up and running using creating a reactive Play web application with a rich front end and scalable backend. It uses Reactive Mongo an asynchronous non blocking scala mongodb driver for the database. The play framework for the webserver, coffeescript and knockout.js for the frontend.

The tutorial walks you through how the various parts of the app work together and links through to the code. Next it sets tasks to update parts of the app, extending it and adding functionality.

This quickly, gets you up to speed, so if you are interested in any of the Typesafe stack then download activator now and you’ll be up and running in minutes!

comments powered by Disqus