skinny 2 update

22
Skinny 2 Update Kaz Sera @seratch ScalaMatsuri presentation deck style: http://scalamatsuri.org/en/slides/

Upload: kazuhiro-sera

Post on 16-Apr-2017

3.466 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Skinny 2 Update

Skinny 2 Update

Kaz Sera @seratch

ScalaMatsuri presentation deck style: http://scalamatsuri.org/en/slides/

Page 2: Skinny 2 Update

Skinny Meetup

Welcome to Skinny Meetup Tokyo at Samuraism Inc. http://samuraism.com/about

Page 3: Skinny 2 Update

https://groups.google.com/forum/#!topic/skinny-framework/Ha1oIGsAfac

Skinny 2 was finally released on 19th Nov.

Page 4: Skinny 2 Update

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

http://skinny-framework.org/documentation/migration-guide.html

Page 6: Skinny 2 Update

From ScalatraTo Skinny Micro

Skinny 2 has moved from Scalatra to its own Servlet layer “Skinny Micro”.

Page 7: Skinny 2 Update

Scalatra DSL compatible. Much improvements on safety when working with Scala Future.

Page 8: Skinny 2 Update

https://github.com/skinny-framework/skinny-micro

Page 9: Skinny 2 Update

Well-known Scalatra’s DynamicVariable issue.

http://www.slideshare.net/seratch/future-on-servlet-scalaks

DynamicVariable issue

Page 10: Skinny 2 Update

Skinny Micro’s Async controllers are safe enough. https://github.com/skinny-framework/skinny-micro

Async Controllers

Page 11: Skinny 2 Update

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

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

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

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

Get rid of Yeoman Generator

We got rid of Yeoman Generator for “skinny new” command and skinny upgrade.

Page 16: Skinny 2 Update

No more Node installation issue

We won’t be plagued with Node version issue any more.

Page 17: Skinny 2 Update

DeprecatedJSXTransformer.js

JSXTransformer (React’s JSX transpiler) has been deprecated this summer.

Page 18: Skinny 2 Update

skinny-assets still has JSXTransformer.js. Moving to Babel is recommended by React team.

Page 19: Skinny 2 Update

Renewed Website

The official website is renewed.

Page 20: Skinny 2 Update

Not so many. Just changing styles and adding Google Custom Search. 1.x docs are archived.

Page 21: Skinny 2 Update

• 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

Enjoy Skinny 2!

Let’s enjoy Scala programming with Skinny 2!