Vlastimil Menčík (@st_patriick) v prezentaci s názvem "Scala v (naší) praxi" vypráví o zhruba ročních zkušenostech se Scalou a projektech, kde se používá.
Více info: www.etnetera.cz | http://dev.etnetera.cz/scala
2. Our “typical” project
E-commerce website (eshop, online betting, classifieds, …)
–
Datart, Fortuna, Annonce, …
Corporate or governmental website/portal
–
o2.cz, mzv.cz, eagri.cz, …
Backend web application
–
Often a counterpart for a frontend like the ones above
6.11.2013 | Scala from the Trenches | Vlastimil Menčík
2
3. Tools of the Trade
Enterprise Java ecosystem
–
Java EE
–
Spring
Our own tools
–
TFS (templating system)
–
Tangle (web framework)
–
jNetPublish (CMS)
And now Scala
6.11.2013 | Scala from the Trenches | Vlastimil Menčík
3
4. Scala Tools we have adopted
SBT
6.11.2013 | Scala from the Trenches | Vlastimil Menčík
4
5. Our Scala projects
E-commerce website
–
Play, MongoDB, Redis
–
scheduled to launch in early 2014
Backend providing REST API for a corporate website
–
Play
Backend web application
–
Play
twinstone.org
6.11.2013 | Scala from the Trenches | Vlastimil Menčík
5
6. Pros
&
Superior language to Java
Java interoperability
Typesafe Reactive Platform
–
–
Play + Akka
non-blocking by default
Cons
IDE
–
–
Eclipse for Java > Eclipse for Scala
IntelliJ has superior Scala support
Hiring
–
–
Very few professional Scala devs
Hint: hire Java devs
Highly motivated
developers
6.11.2013 | Scala from the Trenches | Vlastimil Menčík
6
7. Recommendations
Take small steps
Avoid advanced stuff (Scalaz, macros)
Don’t reinvent the Wheel, use existing Java libraries
Adopt common coding style, do code reviews
Take Martin Odersky’s Coursera courses
6.11.2013 | Scala from the Trenches | Vlastimil Menčík
7