Ang18n

Play! Meetup Berlin

Moritz Grauel / @mo_gr

Who am I?

Moritz Grauel

Freelance Developer/Consultant

@mo_gr

mo@notadomain.com

http://moritz.grauel.is/awesome

why are you talking to me?
AngularJS
this is the play usergroup

AngularJS is cool!

...but i18n in AngularJS lacks

Play! to the rescue!

Play! on the server, Angular in the browser
WTF is angular?

15 min Angular Crashcourse

→ Crashcource

AngularJS executive summary

  • Very productive MVC Framework
  • 2-way data binding rocks
  • declarative style
  • DI → very testable
Shameless self-plug

Wanna learn more about Angular?

Good!

I give a workshop

Zaunberg Talks

18.11. in Berlin

Deutsch

6.5h AngularJS Workshop

→ Link

...ask me later

The Application

Ang18n

Simple ToDo App

Hosted on Heroku

Code on github

Client

AngularJS Frontend

single-page

CoffeeScript

LESS

Server

Play! 2.1 / Scala backend

JSON/REST to the browser

inmemory DB

anorm

Aim

AngularJS / Play! exploration

focus on i18n solution for Angular

technical content for my blog

Demo

Using play for i18n works
Showing code?

Code

Possible Improvements

  • more idiomatic Scala?
  • hook up JavaScript tests
  • minify JavaScript/CSS
  • simplify JSON processing
  • clean up the model
  • use a real DB
  • use a NoSQL?
  • stream/realtime
  • accounts
  • ...you name it!

idea

split up into smaller groups

work on those issues

Go Hack!