Ask HN: What web framework do you use? Why did you choose it?
101–110 of 122 posts
Re: Ask HN: What web framework do you use? Why did you choose it?
#102I'm pretty sure I'll be minority here, but I don't use any backend framework for page rendering. All my apps are pure SPAs. They render all the screen content themselves on the client and only query servers for data. I prefer this, because I can simply take any app and deploy it to server just by copying its files. I only need to scale API servers and I don't have think about app scaling, because just single instance…
Re: Ask HN: What web framework do you use? Why did you choose it?
#103Earlier quoted context omitted.
But you cant compare Wordpress with Django, Wordpress is not a web framework is just a CMS for blogs. Or am i wrong? PS... Django <3
I have done little Wordpress development (just some plugin for a prototype that my company wanted). But I don't see anything that prevented it from being used to develop a web application since the theme/plugin system seems to fulfill everything. Django also describes itself as a CMS platform on their website so I kind of thought they are comparable. Just wanted to make sure I know what I'm getting before I jumps in…
Re: Ask HN: What web framework do you use? Why did you choose it?
#104I'm pretty sure I'll be minority here, but I don't use any backend framework for page rendering. All my apps are pure SPAs. They render all the screen content themselves on the client and only query servers for data. I prefer this, because I can simply take any app and deploy it to server just by copying its files. I only need to scale API servers and I don't have think about app scaling, because just single instance…
But in some cases a SPA let's you go to a different route to Parse or Firebase backends, or Lambda/Functions. That's different.
Re: Ask HN: What web framework do you use? Why did you choose it?
#105I have recently switched from flask + psycopg to sanic + asyncpg for my http APIs. I'm pretty happy with the results and the transition was pretty smooth, it only took a day each to switch out each and go from fully synchronis to fully asynchronous.
Re: Ask HN: What web framework do you use? Why did you choose it?
#106I have recently switched from flask + psycopg to sanic + asyncpg for my http APIs. I'm pretty happy with the results and the transition was pretty smooth, it only took a day each to switch out each and go from fully synchronis to fully asynchronous.
Re: Ask HN: What web framework do you use? Why did you choose it?
#107Re: Ask HN: What web framework do you use? Why did you choose it?
#108Phoenix, for a lot of the same reasons I used to have for Rails including: * Fast development cycle * Conventional * Great community * Good ecosystem of libs to take advantage of * "Magic" (although Phoenix's magic is much different) And some of it's own like * Great concurrency (which feels like a free win over Rails) * Functional programming * How Ecto, the ORM works * How simple it is, even with the "magic" includ…
Re: Ask HN: What web framework do you use? Why did you choose it?
#109In Flask, an endpoint is just a Python function, and most importantly, the URL endpoint is right next to the function declaration, so you don't have to keep track of two or three things in two or three different files. (Though the template is a separate file, of course.) To do something new just add an endpoint and a function; and most IDEs let you collapse/hide the function's code when you don't want to look at it, so it's as "clean" as it is flexible, if not elegant.
Re: Ask HN: What web framework do you use? Why did you choose it?
#110Earlier quoted context omitted.
Is using Javascript on the back end really a positive thing? There isn't really a choice on the front end.
This is the main criticism of Javascript on the backend. People didn't have choice on the frontend (and largely still don't unless you transpile), and for some reason people thought it was a good idea to bring this "language of necessity" to the backend. There are plenty of better solutions like PHP, Ruby or Perl.