scala on rails #rakutentech
Post on 29-Nov-2014
1.382 Views
Preview:
DESCRIPTION
TRANSCRIPT
Scala on Rails The Most Developer-Friendly Web Framework on the JVM
Kazuhiro Sera @seratch 2014/10/25 at Rakuten Technology Conference 2014
Build Concurrent, Distributed Apps
Scala is so powerful. Is it also useful for
usual apps? Absolutely Yes.
Usual Web Apps
Rails is not just a library. It’s a confirmed concept
to build web apps.
So I followed Rails style in the Scala world. Skinny Framework.
The most developer-friendly Web app
framework on the JVM
Installation
Mac OS X・Prerequisite: JDK 1.6 or higher ・Just `brew install skinny`
brew updatebrew install skinny
Windows? No problem!
Windows users are first-class citizens.
Windows / Linux・Prerequisite: JDK 1.6 or higher ・Download blank project from skinny-framework.org ・Or use Yeoman generator
npm install -g yonpm install -g generator-skinnyyo skinny
Todolist App
New Skinny app1
23
Scaffold Generatorplural singular attributes..
DB Migration
Now everything is done
Let’s add new task!
Validations by default
Pagination by default
Statically Typed Rails
Reverse Scaffoldtable_name plural singular
Generates scaffold from existing DB!
More Features for JS-heavy
Apps
Angular Ready!
Scala.js Ready!
Source Maps
Watch Task Runner
The most developer-friendly Web app
framework on the JVM
Begin Scala with Skinny! http://skinny-framework/
top related