Hi all, in my current role we use Express as our web app framework of choice, which is great but I often feel that someone decided to run JS on the server as a cruel joke, asynchronicity is a pain regardless of how sweet the syntactic sugar is.
Anyway, do you know of any open source alternative web frameworks that are not Javascript based? I am considering Flask as our back end is Python based but does anyone actually use this?
Do you have any other suggestions? (Apart from PHP, I know Laravel is nice but we're not up for PHP).
Aside from not PHP other constraints would be, open source as stated, quick to prototype and iterate, ideally deployable to Heroku but not a deal breaker, choice of view engines would be nice and mature enough so that there are answers on stack overflow for the stumbling blocks we'll find when learning a new framework.
Any help or thoughts would be much appreciated, thanks in advance.
Flask plays well as back-end ..
If your team has Java Skills, then Spring-boot is a super-cool choice.
We use spring as our API back-end for app build on Angular. Spring-boot has support for every cloud aspect, and works super smooth with CI/CD pipelines.
Thanks for the response guys, was looking for some ideas and got a few so great stuff.
To give a bit of context if anyone cares;
Anymore ideas feel free to ping them over, thanks again for the tips really appreciated
Asynchronous code is not about syntactic sugar. It's about the capabilities of having code run and also continue to have other code run.
Otherwise your code becomes synchronous which means your code blocks other code. For back end this is not desirable because you want your code to be able to handle multiple operations.
And yes Flask is used, Dajango as well, there is .Net with C#, there is Ruby on Rails, Spring with Java, other scala alternatives, and my personal favorite Phoenix with Elixir.
But like other answers you really need to specify what you are doing to get a better answer. All these frameworks are better suited for certain applications. Heads up though Phoenix was created to replace Rails. Even Elixir was designed for easy transition for Ruby coders.
Abc
Web developer, designer. Music enthusiast
I think you're missing the entire point.
First, what do you want to build? A web backend that's fast? Productive? Scalable? Or a combination?
Secondly, what languages do you know? Which of them do you think can get the job done? Has python ever made you fast in building stuff. Has Javascript made you more productive?
Next, get the best framework that gets it done. There are lots of framework out there for a reason. Or write your own, if not.
If you like Javascript Nodejs, try NestJS nestjs.com