Live data from Hacker News

Ask HN: What frameworks are currently used in a modern web stack?

news.ycombinator.com

81–90 of 125 posts

Re: Ask HN: What frameworks are currently used in a modern web stack?

#81

Laravel, Nginx, PHP 7.0 and Postgres/MySQL.

I used Laravel for some projects that deal a few users. Where I work, we are reviewing different stacks for a project that will deal with a bigger quantity of users and I would really like to use Laravel, does Laravel have some performance issues or similar stuff when dealing with lot of users?

I've never experienced performance issues due to users. I run https://styleci.io and we're absolutely fine dealing with thousands of users.

If you're running jobs, be sure to do so on the queue.

Re: Ask HN: What frameworks are currently used in a modern web stack?

#82

Phoenix/Elixir/Vue.js/Postgresql is a very strong/efficient stack IMO these days.

Do you use Vue.js with Phoenix Channels? I've been very curious how one would integrate a javascript framework on top of Phoenix.

Not yet, but here are some links which I saved:

- https://medium.com/@jespr/create-a-simple-chat-web-app-using...

- https://github.com/ssuprunenko/phoenix-vue-2-example

- http://fullstackstanley.com/read/realtime-chat-with-vue-js-a...

Re: Ask HN: What frameworks are currently used in a modern web stack?

#83
post #60
post #45

Earlier quoted context omitted.

That article is a sarcastic joke about JS frameworks. I would not recommend it as a learning resource.

Sarcasm and satire are very powerful weapons in the persuasive writer's arsenal.

Sure they are, Bucko. Sure they are.

Re: Ask HN: What frameworks are currently used in a modern web stack?

#84

Laravel, Nginx, PHP 7.0 and Postgres/MySQL.

I used Laravel for some projects that deal a few users. Where I work, we are reviewing different stacks for a project that will deal with a bigger quantity of users and I would really like to use Laravel, does Laravel have some performance issues or similar stuff when dealing with lot of users?

Thanks for the feedback, I will test Lumen

Re: Ask HN: What frameworks are currently used in a modern web stack?

#85

The hipster stack is an interesting one. Elixir + Phoenix framework, GraphQL, React. Honestly, though, I'm doing everything with GraphQL now. It is a huge benefit for all aspects of application stack design now.

Did GraphQL fix the authorization problems? Locking resources and attributes to authorised users?

Using Apollo Server, I get around authentication with an auth query which updates the context object of the query with the auth token of the user. Then, any subsequent queries can use that auth token to authenticate the user and authorize it for the query themselves.

I've also seen it where the authentication is handled by middleware before GraphQL even touches the request. I figure those two methods work for about every use case.

Re: Ask HN: What frameworks are currently used in a modern web stack?

#86

The hipster stack is an interesting one. Elixir + Phoenix framework, GraphQL, React. Honestly, though, I'm doing everything with GraphQL now. It is a huge benefit for all aspects of application stack design now.

Did GraphQL fix the authorization problems? Locking resources and attributes to authorised users?

Using Apollo Server, I get around authentication with an auth query which updates the context object of the query with the auth token of the user. Then, any subsequent queries can use that auth token to authenticate the user and authorize it for the crease themselves.

I've also seen it where the authentication is handled by middleware before GraphQL even touches the request. I figure those two methods work for about every use case.

Re: Ask HN: What frameworks are currently used in a modern web stack?

#87
post #26

No love for Django? Django/Postgres

I'd like to think Django devs are busy getting stuff done instead of obsessing over the latest tech stack :) In all seriousness, Django Channels looks to be a very good offering to compete with the async real time capabilities Go/Elixir/Node bring to the table. https://channels.readthedocs.io/en/stable/

I'm a Django guy myself but I'm always curious what people are using.

Re: Ask HN: What frameworks are currently used in a modern web stack?

#88

Earlier quoted context omitted.

I've spent at least the last 10 years (including Uni days) writing mostly Java or .NET in some form or other. I don't mind Java, I generally like using Java 8, but I would happily be writing C# instead if I could run it as easy in as many places. The syntactic sugar, Linq, the latest MVC framework, etc- are generally much faster to get moving in and don't require the configuration hell you can run into w/ Java. Howev…

We use Octopus Deploy at work to deploy .NET. There's a bit of a learning curve, and it has a few quirks and annoyances, and you might need to write some Powershell scripts to fill in a few gaps (which it can run), but once you've got it in place, it's super simple to deploy everything. Every single deploy used to be a big hullabaloo at our company, now it's super smooth thanks to Octopus. If you're talking about Ant…

We tried using Octopus (3 years ago) as part of our CI/CD pipeline and ran into a big problem with it choking on file sizes and handling all the bundled dependencies we threw at it. Eventually we just scripted MSBuild and archived them ourselves for retrieval when we needed them.

Re: Ask HN: What frameworks are currently used in a modern web stack?

#89
post #14

Ruby on Rails or Node.js for the backend (API) and React for the front end. Rails is excellent for database migrations. Postgresql / MongoDb / Firebase for the database, depending on requirements.

I'm saying this as a Node.js user myself so I'm not putting down Node but... Node.js is not a "Framework" Sails.js is a framework. You could argue that Express is. But Node itself if not.

2nd this... Node.js for the 1 billionth time is not a "Framework". It is a JavaScript runtime.

Sails.js, Meteor.js, and etc... are frameworks that use/run on Node.js.

Post reply on HN