Live data from Hacker News

Ask HN: What stack should I use to build my basic web app as of 3/29/18

news.ycombinator.com

21–30 of 58 posts

Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18

#21
post #16

http://djangoframework.com is overall one of the best documented + most stable web frameworks out there. Besides the actual functionality, that you can also get from smaller libraries, you want a framework because it gives you standard go-to solutions for many common questions you encounter when making a basic, relational database backed application (database access, database migrations, templating, forms, validation…

I've used Django and I liked it but it really was quite slow.

If you feel like django is too big you'll probably like flask. It has the same functionality, except everything but responding to http requests is separated into 3rd party packages. Makes for a really lightweight framework if you don't need much.

Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18

#22
post #16

http://djangoframework.com is overall one of the best documented + most stable web frameworks out there. Besides the actual functionality, that you can also get from smaller libraries, you want a framework because it gives you standard go-to solutions for many common questions you encounter when making a basic, relational database backed application (database access, database migrations, templating, forms, validation…

I've used Django and I liked it but it really was quite slow.

Really, I have been using Django for a while now. Its rarely the Django code that is the bottleneck, usually it needs some DB tuning.

(If you don't know the ORM well, its easy to let it generate a LOT of queries, have you added django-debug-toolbar to your project to see what it is generating?)

Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18

#23
post #20

Earlier quoted context omitted.

Mine too :) Most of my applications are built using Perl and the excellent CGI::Application module/framework. I've used Dancer a couple of times, but that tends to be for smaller applications, and it has to be said that the last remaining dancer application I used in production was replaced by a port to golang this morning. Partly for a fun learning experience, and partly to simplify deployment. For new projects, if…

What happened to Slaughter? Except for perhaps an unfortunate name it was an interesting project. I can see that all links to it doesn't work anymore..

It didn't seem to get much traction, so I stopped work on it. A few years later I removed references to it, but I still have the repositories if users do query me.

My recollection is that modules that are removed from CPAN are still mirrored, so they should still be available, but I admit I've not checked recently.

Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18

#24
I feel it's important to throw Laravel + Vuejs into the mix. It's an extremely powerful framework on the LAMP side of things, fully PHP 7.2+ functional, and continues to improve w/ every major iteration from JWT, oauth2, queue workflows, console utility workflows, ORM, DBAL, Migrations, mutli-database support via PDO, blade templates. It's pretty hard to go wrong.

Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18

#25
post #5

Do I sense a bit of sarcasm regarding longevity of JS frameworks here? As other commenters say, if you want results, choose whatever stack you are most productive with. As you say 'basic' web app: I'd recommend using Firebase, if you are comfortable with the vendor lock-in. For auth, database and deployment it doesn't get much simpler than this.

I use Firebase too along with a simple Vue.js setup. So easy and quick to get up and running.

Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18

#29
post #20

Earlier quoted context omitted.

What happened to Slaughter? Except for perhaps an unfortunate name it was an interesting project. I can see that all links to it doesn't work anymore..

It didn't seem to get much traction, so I stopped work on it. A few years later I removed references to it, but I still have the repositories if users do query me. My recollection is that modules that are removed from CPAN are still mirrored, so they should still be available, but I admit I've not checked recently.

For reference the latest App::Slaughter can be found here:

http://backpan.perl.org/authors/id/S/SK/SKX/

Why not put it back on Github? I always find it interesting to look on other projects when I have an idea etc. Deprecated or not.

I am getting tired of puppet/ansible and dream of the pure Perl + Shell world I used to live in. :)

Re: Ask HN: What stack should I use to build my basic web app as of 3/29/18

#30

3/29/18? What sort of date format is that? Regardless of your stack, use ISO 8601 for dates.

That's the third of Thunderfiretober of 2018, what's your problem, isn't that clear? ;)

Playing devil's advocate here. This kind of date formatting is really confusing to me (German) and I almost overread that the question asked for the current en vogue tech...

Post reply on HN