Ask HN: What would you use to build a super simple web app?
I need to create a very simple web app. What are some good micro frameworks out there that I could use?
My needs are very basic: users need to be able to create an account, post new discussions, reply to things and see what's new. (Basic CRUD stuff).
I considered Rails when I first worked on this project many moons ago, but I find it's is overkill for what I want. Too much magick. I want as much of the code to be stuff I've written and understand. For the db, I'm curious about noSQL solutions but again, I want to keep it light.
I don't care if it's in Ruby, PHP, Golang, Perl 6, JS, Python... it's for a personal project so I'll have fun playing with it.
What are you guys using for your small side projects? (Thanks!)
32 comments
[ 3.4 ms ] story [ 61.3 ms ] threadFor example, for my blog, I didn't use WordPress because it's too bloated -- it comes with jQuery, widgets support, themes etc etc. All I needed was a way to generate articles. So I used node.js-based Metalsmith[1] and it does just enough without getting in the way.
I've never built an public-facing app but that's kinda the point of it why I want to do it. Hiring someone else and miss out on all the fun? ;)
[1] http://www.metalsmith.io/
Are you looking to build something, in which case playing around with new frameworks may just be a distraction...? Or do you actually want to play around with something new?
I'm just out of touch with what's out there. What PHP framework are you using?
laracasts.com is great for learning Laravel.
It would be a good fit for your project.
I actually kinda use my own framework, I learnt php from a Lynda video tutorial, think it was one where you build a blog. Main part of the tutorial is building a framework, and I naturally just started reusing it for my own side projects...
Use a proper framework. Something like Elm, Om Next or React.
Heroku gives you a PostgreSQL database with one click, but you could easily integrate a MongoDB database if you wanted to try NoSQL. In Mongo, you'd actually store and retrieve your data in JSON, so it's even easier than writing SQL.
[0] : http://sailsjs.org/
http://www.telescopeapp.org/
so lightweight, yet extendable... some extensions that might be worht looking at: Flask-Login, Flask-SQLAlchemy, Flask-WTForms, Flask-Admin
http://falconframework.org/
Or just using Go out of the box. It has a lot of what you'll need built in and is pretty fun language. I'm learning it right now myself and it has a lot of interesting features.
[0]: http://roda.jeremyevans.net/documentation.html
[1]: https://fengsp.github.io/pencil/pencil/
http://alexmingoia.github.io/purescript-pux/
Django will provide some (useful) magic, but nowhere near as much as Rails. If the site evolves, I really recommend transitioning to Django for it's ecosystem. In either case, I recommend sticking with plug-and-play auth.
(Disclaimer: I'm an engineer at a startup whose backend is 90% Python, mostly Django.)