skinny 2 update
TRANSCRIPT
![Page 1: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/1.jpg)
Skinny 2 Update
Kaz Sera @seratch
ScalaMatsuri presentation deck style: http://scalamatsuri.org/en/slides/
![Page 2: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/2.jpg)
Skinny Meetup
Welcome to Skinny Meetup Tokyo at Samuraism Inc. http://samuraism.com/about
![Page 3: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/3.jpg)
https://groups.google.com/forum/#!topic/skinny-framework/Ha1oIGsAfac
Skinny 2 was finally released on 19th Nov.
![Page 4: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/4.jpg)
2.0 Upgrade
Upgrading to 2.x is so easy. Let me show you some new things since Skinny 2.
![Page 5: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/5.jpg)
http://skinny-framework.org/documentation/migration-guide.html
![Page 6: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/6.jpg)
From ScalatraTo Skinny Micro
Skinny 2 has moved from Scalatra to its own Servlet layer “Skinny Micro”.
![Page 7: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/7.jpg)
Scalatra DSL compatible. Much improvements on safety when working with Scala Future.
![Page 9: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/9.jpg)
Well-known Scalatra’s DynamicVariable issue.
http://www.slideshare.net/seratch/future-on-servlet-scalaks
DynamicVariable issue
![Page 10: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/10.jpg)
Skinny Micro’s Async controllers are safe enough. https://github.com/skinny-framework/skinny-micro
Async Controllers
![Page 11: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/11.jpg)
Type-safe controllers accepts only ActionResult value as the action method’s result.
https://github.com/skinny-framework/skinny-micro
Type-safe Controllers
![Page 12: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/12.jpg)
Skinny Micro has its own Jetty launcher. You can boot a Web server with single Scala source file.
Single File Web App
![Page 13: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/13.jpg)
json4s 3.3 Compatible
Skinny 2’s JSON utility is compatible with json4s 3.3. 3.3 series will keep binary compatibility.
![Page 14: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/14.jpg)
ScalikeJDBC 2.3 Compatible
Skinny ORM 2.0 is compatible with ScalikeJDBC 2.3. ScalikeJDBC 2.3 will keep binary compatibility too.
![Page 15: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/15.jpg)
Get rid of Yeoman Generator
We got rid of Yeoman Generator for “skinny new” command and skinny upgrade.
![Page 16: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/16.jpg)
No more Node installation issue
We won’t be plagued with Node version issue any more.
![Page 17: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/17.jpg)
DeprecatedJSXTransformer.js
JSXTransformer (React’s JSX transpiler) has been deprecated this summer.
![Page 18: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/18.jpg)
skinny-assets still has JSXTransformer.js. Moving to Babel is recommended by React team.
![Page 19: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/19.jpg)
Renewed Website
The official website is renewed.
![Page 20: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/20.jpg)
Not so many. Just changing styles and adding Google Custom Search. 1.x docs are archived.
![Page 21: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/21.jpg)
• 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.
![Page 22: Skinny 2 Update](https://reader031.vdocuments.us/reader031/viewer/2022021814/58f2ade81a28abb1778b45ab/html5/thumbnails/22.jpg)
Enjoy Skinny 2!
Let’s enjoy Scala programming with Skinny 2!