alexAME | 9 years ago | on: Help me pick the right web stack
alexAME's comments
alexAME | 9 years ago | on: Ask HN: How would you improve Stack Overflow?
People are just too lazy, SO became a replacement for many references, docs and trivial things.
At the current state, it's not possible to judge a developer by the SO points, we have to check the profile, browse through a few given answers and eventually create an opinion based on the quality of the answers.
It's simply because they might have answered a question called "How do I fill an array with 4 elements". Thousand of people are lazy and voted that question up and also the answer.
What we have now, is a guy who got a ton of points by asking a stupid question and a guy who answered a trivial stupid question and got 120 up votes on that.
Why should we change that?
SO is a great huge site, developers can show what they have to offer, you can set up resume and you can search for jobs over SO.
SO just establish itself as an important tool for recruiter and companies looking for top notch developers but the points are misleading, someone who has answered lots of trivial questions isn't necessarily a good developer because of those trivial answers to trivial questions.
On the other hand, we got many people with below the 3k mark, who just answered really hard questions with 3-4 up votes.
What I'm afraid of is that someone with more points gets preferred in a decision between two developers from SO for a job position.
alexAME | 9 years ago | on: Help me pick the right web stack
I guess the JVM is your best bet at this point, there is a huge eco system out there, the best thing about it, is that it's very mature.
Well if you got any questions about Play, just drop me a line.
alexAME | 10 years ago | on: Help me pick the right web stack
What asp.net MVC and Rails got in common, is that they are heavily opinionated how things should work, this can create many problems if you need a solution to a specific problem which is outside of the typical CRUD scope, it's very hard to break conventions and do things differently. This lead my many times to just start over the whole project.
Let's start with asp.net MVC, they open sourced it, that's good news, but the deployment options are still bad, as far as I know, there are a few community driven web servers, which aren't production ready in my opinion.
ASP.NET MVC:
works great, if you use the other MS tools like MSSQL, ISS etc, but if you are trying to replace one of those components, you are in a world of pain. So basically asp.net mvc, is on hold for a while.
Spring:
I'd love to sum up why I prefer Play over Spring but Yevgeniy Brikman did a great job doing that.
https://www.quora.com/Which-is-better-Play-Framework-or-Spri...
Rails:
is ... the perfect framework for smaller CRUD applications, that's all I can say.
> I've been considering jumping into the Java/Play ecosystem for awhile but have been hesitant so far. Analysis paralysis at its worst!
What's your background ?
alexAME | 10 years ago | on: Help me pick the right web stack
> and the static typing of .NET
The last time I checked on Clojure everything was quite dynamic, did they change that ?
alexAME | 10 years ago | on: Help me pick the right web stack
The views are type checked as well, like in asp.net mvc. In fact, it's inspired by the razor template engine, you won't miss the magical @.
There are a ton of templates available[0], auth, websockets, upload etc..
Over the last few years, the Play framework improved a lot, Java is not a second class citizen anymore, like many people think.
> I am writing a new web application from scratch. It is not trivial - there will be a requirement to provide streaming video and also facilitate live video streams between users.
This is from the official docs:
Because of the way Play works, action code must be as fast as possible, i.e., non-blocking. So what should we return as result if we are not yet able to generate it? The response is a future result!
A Future[Result] will eventually be redeemed with a value of type Result. By giving a Future[Result] instead of a normal Result, we are able to quickly generate the result without blocking. Play will then serve the result as soon as the promise is redeemed.
The web client will be blocked while waiting for the response, but nothing will be blocked on the server, and server resources can be used to serve other clients.
Also make sure to checkout the streaming section of the docs[1].
If you are looking for a robust framework which embraces performance and developer productivity, Play is the way to go. I've never found a framework that could satisfy all my needs, like Play.
I didn't even mention all the awesome features but if you are interested check out the Play Philosophy[2].
Why am I so convinced about Play ? I have more than 5 apps in production, I couldn't be more happy about my decision to use Play. I wrote applications in asp.net mvc, Spring MVC/Boot, Rails for many years, they all failed me.
[0] http://www.lightbend.com/activator/templates
[1] https://www.playframework.com/documentation/2.5.x/ScalaStrea...
[2] https://www.playframework.com/documentation/2.5.x/Philosophy
> tldr: failing one requirement of many isn't necessarily a reason to not offer an option if it succeeds on many others.
Yes I agree, if the question allows that approach but in this case, it doesn't.