Upload
kazuhiro-sera
View
3.465
Download
0
Embed Size (px)
Citation preview
Skinny 2 Update
Kaz Sera @seratch
ScalaMatsuri presentation deck style: http://scalamatsuri.org/en/slides/
Skinny Meetup
Welcome to Skinny Meetup Tokyo at Samuraism Inc. http://samuraism.com/about
https://groups.google.com/forum/#!topic/skinny-framework/Ha1oIGsAfac
Skinny 2 was finally released on 19th Nov.
2.0 Upgrade
Upgrading to 2.x is so easy. Let me show you some new things since Skinny 2.
http://skinny-framework.org/documentation/migration-guide.html
From ScalatraTo Skinny Micro
Skinny 2 has moved from Scalatra to its own Servlet layer “Skinny Micro”.
Scalatra DSL compatible. Much improvements on safety when working with Scala Future.
https://github.com/skinny-framework/skinny-micro
Well-known Scalatra’s DynamicVariable issue.
http://www.slideshare.net/seratch/future-on-servlet-scalaks
DynamicVariable issue
Skinny Micro’s Async controllers are safe enough. https://github.com/skinny-framework/skinny-micro
Async Controllers
Type-safe controllers accepts only ActionResult value as the action method’s result.
https://github.com/skinny-framework/skinny-micro
Type-safe Controllers
Skinny Micro has its own Jetty launcher. You can boot a Web server with single Scala source file.
Single File Web App
json4s 3.3 Compatible
Skinny 2’s JSON utility is compatible with json4s 3.3. 3.3 series will keep binary compatibility.
ScalikeJDBC 2.3 Compatible
Skinny ORM 2.0 is compatible with ScalikeJDBC 2.3. ScalikeJDBC 2.3 will keep binary compatibility too.
Get rid of Yeoman Generator
We got rid of Yeoman Generator for “skinny new” command and skinny upgrade.
No more Node installation issue
We won’t be plagued with Node version issue any more.
DeprecatedJSXTransformer.js
JSXTransformer (React’s JSX transpiler) has been deprecated this summer.
skinny-assets still has JSXTransformer.js. Moving to Babel is recommended by React team.
Renewed Website
The official website is renewed.
Not so many. Just changing styles and adding Google Custom Search. 1.x docs are archived.
• So easy to upgrade Skinny version
• Already my company’s several services have been moved to 2.0
• No troubles for now, stable enough
Upgrade is so easy. If you have some troubles, please ask me on the Google Group ML or Twitter.
Enjoy Skinny 2!
Let’s enjoy Scala programming with Skinny 2!