3 ms·
No. Sinatra [1] is more like Flask. Rails has session management, forms, ORM, and simple authentication all built in (as well as asset compilation, schema migr
by tylerritchie 8y ago
No. Sinatra [1] is more like Flask.
Rails has session management, forms, ORM, and simple authentication all built in (as well as asset compilation, schema migrations, websockets, asynchronous processing, file uploads, etc). Models do not contain schema definitions, they're defined elsewhere. Admin functionality needs to be added.
I've got some experience in Python at this point if I were to build a new CRUDy business app I would use Rails because of my familiarity with Ruby and Rails. If I wanted to learn more Python as a main goal I'd pick Django.
[1] http://sinatrarb.com/ http://sinatrarb.com/
- BerislavLopac 8y agoDjango is not the best solution if your goal is to learn Python -- it simply has too many magic going on underneath, and some of their solutions are convoluted due to its specific architecture and backward compatibility requirements.