8
Scala from the Trenches Vlastimil Menčík | Etnetera

Vlastimil Menčík: Scala from the Trenches

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

Page 1: Vlastimil Menčík: Scala from the Trenches

Scala from the TrenchesVlastimil Menčík | Etnetera

Page 2: Vlastimil Menčík: Scala from the Trenches

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

Page 3: Vlastimil Menčík: Scala from the Trenches

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

Page 4: Vlastimil Menčík: Scala from the Trenches

4

Scala Tools we have adopted

10.04.2023 | Scala from the Trenches | Vlastimil Menčík

SBT

Page 5: Vlastimil Menčík: Scala from the Trenches

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

Page 6: Vlastimil Menčík: Scala from the Trenches

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

Page 7: Vlastimil Menčík: Scala from the Trenches

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

Page 8: Vlastimil Menčík: Scala from the Trenches

8

Q & A

10.04.2023 | Scala from the Trenches | Vlastimil Menčík