Upload
etnetera
View
352
Download
5
Embed Size (px)
DESCRIPTION
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
Citation preview
Scala from the TrenchesVlastimil Menčík | Etnetera
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
10.04.2023 | Scala from the Trenches | Vlastimil Menčík
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
10.04.2023 | Scala from the Trenches | Vlastimil Menčík
4
Scala Tools we have adopted
10.04.2023 | Scala from the Trenches | Vlastimil Menčík
SBT
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
10.04.2023 | Scala from the Trenches | Vlastimil Menčík
6
Pros & Cons
Superior language to Java
Java interoperability
Typesafe Reactive Platform– Play + Akka– non-blocking by default
Highly motivated developers
IDE– Eclipse for Java > Eclipse for Scala– IntelliJ has superior Scala support
Hiring– Very few professional Scala devs– Hint: hire Java devs
10.04.2023 | Scala from the Trenches | Vlastimil Menčík
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
10.04.2023 | Scala from the Trenches | Vlastimil Menčík
8
Q & A
10.04.2023 | Scala from the Trenches | Vlastimil Menčík