Live data from Hacker News

Ask HN: What web framework should I use nowadays?

news.ycombinator.com

31–40 of 50 posts

Re: Ask HN: What web framework should I use nowadays?

#31

Earlier quoted context omitted.

I don't think rails is the most popular worldwide. Almost certainly that is PHP. Perhaps in your circles rails is popular. I know view few rails programmers myself.

PHP isn't a framework though.

It more or less is. It's a language and a web framework. That happens to have other frameworks built on it.

Re: Ask HN: What web framework should I use nowadays?

#33

Your question would be easier to answer if you were to share something about your programming background, and your objectives. e.g. how experienced are you, which languages do you use already, if any, and what do you want to do (get a job, build a particular thing, build multiple CRUD sites, ...)

I just got out of my degree and have the exact same problem. I was thinking in getting a full-time RoR + react job because that's what many startups are using. However, I don't know the exact reasons they use it besides the large community. It's hard to make a framework choice without knowing what are the parameters to be considered when you have zero experience.

Re: Ask HN: What web framework should I use nowadays?

#35

Don't listen to any comments that give you definitives on popularity. Most places/people pick a framework based upon the technology they already have or their language of preference. At this point most mature frameworks all have the same abilities. The only differences you might see are speed, and even then, most people don't take that into account. Pick the language you like or know the best, and have at it.

I think I am going to take RoR(Ruby on Rails) as it seems kind of magic to me :)

Re: Ask HN: What web framework should I use nowadays?

#36
post #8

Here is what I settled with for my website after trying a few things over the years. In the process I have discarded nodejs, JAX-RS, maven, Undertow, JQuery, bootstrap (partially) etc. Currently, pure java servlets serve json over REST-like API. The jar dependencies are servlet-api.jar, a couple of json-related jars and an sqlite jar. Multiple fine-grained sqlite files for data. Tomcat as the servlet container with n…

Come on, Java is a very rare language of choice for web development since I can't think of a popular website written in Java :|

Re: Ask HN: What web framework should I use nowadays?

#37
My programming background : I spent 2 years on C/C++ (university) and Java quite lot time on that too, Rails ( which I'm currently learning ) and AngularJS.

What I'm planing to make is a website where people could share their ideas and consult relating to their ideas. ( Actually much of the process will be like Stackoverflow with some major enhancements )

Re: Ask HN: What web framework should I use nowadays?

#38
post #8

Here is what I settled with for my website after trying a few things over the years. In the process I have discarded nodejs, JAX-RS, maven, Undertow, JQuery, bootstrap (partially) etc. Currently, pure java servlets serve json over REST-like API. The jar dependencies are servlet-api.jar, a couple of json-related jars and an sqlite jar. Multiple fine-grained sqlite files for data. Tomcat as the servlet container with n…

Come on, Java is a very rare language of choice for web development since I can't think of a popular website written in Java :|

It depends on what you mean by a "website". You need to understand that a web application need to have a client-side (managing user interaction) and a server-side (mostly fetching data). Java is still more popular than any other technology for the server-side part. May be you should read more. And think more.

Re: Ask HN: What web framework should I use nowadays?

#39
post #8

Here is what I settled with for my website after trying a few things over the years. In the process I have discarded nodejs, JAX-RS, maven, Undertow, JQuery, bootstrap (partially) etc. Currently, pure java servlets serve json over REST-like API. The jar dependencies are servlet-api.jar, a couple of json-related jars and an sqlite jar. Multiple fine-grained sqlite files for data. Tomcat as the servlet container with n…

Your system of minimal dependency java is interesting. Do you have anything open source I can look at or otherwise get a dive into this technique?

Sure - Will publish to github and post here. For a brief note, the java servlets use Google's gson for interfacing wih web requests. Beyond that it is all plain old JDBC with sqlite. That is all to the "API" part of our service :-)

Re: Ask HN: What web framework should I use nowadays?

#40

If you want to do real time, give a shot also to Elixir/Phoenix.

We're using Elixir + Phoenix at http://udio.ai/ (with Postgres and Mongo). It's an absolute dream to work with. Best backend environment I've ever used. There are just so many niceties one runs into at every corner: doctests, umbrella projects, :observer.start, etc.
Post reply on HN