Live data from Hacker News

Scala School

twitter.github.io

1–10 of 77 posts

Re: Scala School

#2
If you guys really into Scala, I really recommend trying Finagle (https://github.com/twitter/finagle). It was also created by Twitter. It was a lightweight HTTP server and client for Scala. It's my favorite. With just a "single" line of code, you can create an HTTP server in Scala.

I usually combine it with Rogue (https://github.com/foursquare/rogue), an "ORM"-like for MongoDB. I used Finagle and Rogue to build a fast and lightweight REST API.

Re: Scala School

#3
post #2

If you guys really into Scala, I really recommend trying Finagle ( https://github.com/twitter/finagle ). It was also created by Twitter. It was a lightweight HTTP server and client for Scala. It's my favorite. With just a "single" line of code, you can create an HTTP server in Scala. I usually combine it with Rogue ( https://github.com/foursquare/rogue ), an "ORM"-like for MongoDB. I used Finagle and Rogue to build a…

ReactiveMongo (http://reactivemongo.org/) is coming alone nicely as well, and has some great non-blocking and reactive features.

Re: Scala School

#4
post #2

If you guys really into Scala, I really recommend trying Finagle ( https://github.com/twitter/finagle ). It was also created by Twitter. It was a lightweight HTTP server and client for Scala. It's my favorite. With just a "single" line of code, you can create an HTTP server in Scala. I usually combine it with Rogue ( https://github.com/foursquare/rogue ), an "ORM"-like for MongoDB. I used Finagle and Rogue to build a…

As someone getting into scala, where can I find the list of top available libs? For clojure I just browsed github, but I feel there probably is some resource out there I'm missing.

Re: Scala School

#5
post #2

If you guys really into Scala, I really recommend trying Finagle ( https://github.com/twitter/finagle ). It was also created by Twitter. It was a lightweight HTTP server and client for Scala. It's my favorite. With just a "single" line of code, you can create an HTTP server in Scala. I usually combine it with Rogue ( https://github.com/foursquare/rogue ), an "ORM"-like for MongoDB. I used Finagle and Rogue to build a…

Does it support Swagger now? For my last implementation, I wanted a good automatic API documentation, and I'd rather have the client code in a generated way, and of the three Scala microframeworks that I had a look at, only Scalatra had kinda solid Swagger support. Neither Spray nor Finagle did. Though in hindsight the Swagger release in the current Scalatra is a bit old and thus it has tons of bugs and issues that are fixed in current Swagger but I found it impossible to just update Swagger.

Re: Scala School

#6
post #2

If you guys really into Scala, I really recommend trying Finagle ( https://github.com/twitter/finagle ). It was also created by Twitter. It was a lightweight HTTP server and client for Scala. It's my favorite. With just a "single" line of code, you can create an HTTP server in Scala. I usually combine it with Rogue ( https://github.com/foursquare/rogue ), an "ORM"-like for MongoDB. I used Finagle and Rogue to build a…

As someone getting into scala, where can I find the list of top available libs? For clojure I just browsed github, but I feel there probably is some resource out there I'm missing.

this is a pretty good blog, but it's best to ask on mailing list or IRC if googling cant find something

http://notes.implicit.ly/

Re: Scala School

#7
Few other great learning resources for Scala:

- a "JSFiddle" like editor for Scala: http://scalakata.com

- Interactive tours: http://scalatutorials.com/tour, http://www.scala-tour.com, http://www.simplyscala.com

- Learn Scala in X minutes: http://learnxinyminutes.com/docs/scala/

- Typesafe Activator: http://www.typesafe.com/activator

- Official docs of course: http://docs.scala-lang.org/

Re: Scala School

#8
post #2

If you guys really into Scala, I really recommend trying Finagle ( https://github.com/twitter/finagle ). It was also created by Twitter. It was a lightweight HTTP server and client for Scala. It's my favorite. With just a "single" line of code, you can create an HTTP server in Scala. I usually combine it with Rogue ( https://github.com/foursquare/rogue ), an "ORM"-like for MongoDB. I used Finagle and Rogue to build a…

Does it support Swagger now? For my last implementation, I wanted a good automatic API documentation, and I'd rather have the client code in a generated way, and of the three Scala microframeworks that I had a look at, only Scalatra had kinda solid Swagger support. Neither Spray nor Finagle did. Though in hindsight the Swagger release in the current Scalatra is a bit old and thus it has tons of bugs and issues that a…

I believe that Twitter tends to define their services as Thrift interfaces, which forms it's own documentation for the application rather than having to crawl through code to find which REST URL endpoints are being listened to.

I could be wrong but I think Finagle reflects this in that Thrift is more of a first-class citizen than REST (although I'm sure the latter is possible).

Re: Scala School

#9
Starting out, it makes sense to just "write Java in Scala", and gradually introduce the advanced concepts of Scala as you learn them.

That way, you can be immediately productive.

Re: Scala School

#10
post #2

If you guys really into Scala, I really recommend trying Finagle ( https://github.com/twitter/finagle ). It was also created by Twitter. It was a lightweight HTTP server and client for Scala. It's my favorite. With just a "single" line of code, you can create an HTTP server in Scala. I usually combine it with Rogue ( https://github.com/foursquare/rogue ), an "ORM"-like for MongoDB. I used Finagle and Rogue to build a…

Finagle doesn't tend to be so well integrated with the rest of the ecosystem - IIRC there isn't even a scala 2.10 release out yet. I'd recommend spray (http://spray.io ) if you want to do async http in scala.

(That said, I do think the twitter scala style guide is very good: http://twitter.github.com/effectivescala )

Post reply on HN