Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Re:Scala (Score 2) 315 315

Well a quick stat on indeed.com suggests that I am right in mentioning scala over what you suggest:
http://www.indeed.com/jobtrend...

Take a look at Akka. It mostly fits your description for the "language" you want. Scala is pretty extendable, so the libraries often end up looking more like language extensions than libraries.

Scala allows both mutable and immutable objects, but it favours immutable.
In Akka you have mutable state within your actors and pass immutable messages.

Comment Scala (Score 2) 315 315

I am surprised that Scala isn't mentioned.

It is strongly typed, object-functional and compatible with java.

Swift syntax is basically a cut and paste from Scala, which benefits from being more mature (and having access to all the Java libraries)
Scala is also much faster than erlang, while also supporting the actor based model.

http://www.scala-lang.org/

Comment REST + pure HTML5/JS frontend (Score 2) 536 536

Generating HTML on the server is more or less outdated.
So a "web language" on the server doesn't make sense, the way it used to do (like perl cgi, ASP, JSP, PHP and decendents)

What you do now is write the frontend in one of the new JS/HTML frameworks that run exclusivly on the client.
AngularJS is popular and will likely stick around in one form or another. But pick any you like.

For the backend you want to expose REST services, that serves the content in a way that is easy to digest for the frontend (so you don't end up with too much logic out there).
For that I'd recommend taking a look at Scala (10 years old, and not going away) and the Play Framework (http://www.playframework.com/)
What is nice about the Play framework is that it not only makes it easy to expose REST services. It also makes it easier to deploy the client side framework.

Also take a look at using microservices. Using that architecture enables you to write the REST services in smaller components, rather than one big server. That way you can more easily replace each service, when you want to migrate to the next backend technology.

Comment Re:LinkedIn uses Node (Score 1) 304 304

LinkedIn uses it for their mobile backend.
But I more than suspect that the mobile backend is just a simple frontend to the real backend. And that is written mainly in Scala.

As far as I know the closest thing to node.js in Scala would be something like Finagle, which they use at twitter:
http://twitter.github.io/scala_school/

For my current hobby project the backend is written in Scala, Akka and Play! - though I am considering replacing Play with Spray, since all the backed does is serving JSON from REST services.

http://akka.io/
http://spray.io/

Comment Re:nothing new at all needed (Score 1) 717 717

I have five kids (three are adopted, so no preaching about overpopulating the Earth). Add the wife, and I need a vehicle to carry at least seven people. Good luck finding a 50 MPG car that can do that.

In Europe you could buy a Citroen C4 Grand Picasso, that has 7 seats and in the most economic version does more that 57 mpg.
That mileage is nice, since a gallon of diesel costs more than 7 usd around here :-/

Anyways you guys need to wake up. That 2025 technology exists today, just buy it.

Comment Cross posting from G+ to FB? (Score 1) 456 456

I use both G+ and FB.

The great joy of G+ for me is how easy it is to share some content with some cirles.
So I share pictures of my kids with my family and links to Scala programming with my geek friends.

Only sometimes, I'd like to share some of my "personal" stuff with the FB crowd as well.

I have tried several chrome plugins and FB's mobile e-mail sharing, but none of them really works.

Do you guys know of a way to share a private G+ post to FB??

Syntactic sugar causes cancer of the semicolon. -- Epigrams in Programming, ACM SIGPLAN Sept. 1982

Working...