3 ms·
I'm doing this right now. IMNSHO, the best stack for 99% of real-world projects is: Database: Postgres As the leading relational database, Postgres is a sign
by mwhite 12y ago
I'm doing this right now. IMNSHO, the best stack for 99% of real-world projects is:
Database: Postgres
As the leading relational database, Postgres is a significant human achievement. It has recuperated most of NoSQL's critique in the past few years (for 99% of use cases), with the JSON types and functions, WITH RECURSIVE queries (added a few years ago, which essentially let you do anything you could do with a graph database), columnar stores, etc.
Its full-text search is good enough for many cases. [1]
Backend: Flask, SQLAlchemy, Flask-Restless (REST API framework)
There's no other ORM that's as powerful and uncompromising as SQLAlchemy.
If you use Flask-Restless to generate a REST API, you can have almost your entire app consist simply of model definitions.
Frontend JS: React with the Fluxbone pattern [2]
React is the most performant, powerful, and practical frontend framework currently available, and it's likely to be the best choice for practical development for the forseeable future.
CSS: Titon Toolkit [3]
A nice up-and-coming lightweight CSS framework with lots of components and plugins that gets out of your way. Some work is needed to integrate it with React while maintaining the Virtual DOM performance benefits of React, though.
[1] http://blog.lostpropertyhq.com/postgres-full-text-search-is-good-enough/ http://blog.lostpropertyhq.com/postgres-full-text-search-is-...
[2] http://www.toptal.com/front-end/simple-data-flow-in-react-applications-using-flux-and-backbone http://www.toptal.com/front-end/simple-data-flow-in-react-ap...
[3] http://titon.io/en/toolkit http://titon.io/en/toolkit