Need advice about which tool to choose?Ask the StackShare community!
Bottle vs Sails.js: What are the differences?
What is Bottle? A lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library. It has fast and pythonic built-in template engine and support for mako, jinja2 and cheetah templates.
What is Sails.js? Realtime MVC Framework for Node.js. Sails is designed to mimic the MVC pattern of frameworks like Ruby on Rails, but with support for the requirements of modern apps: data-driven APIs with scalable, service-oriented architecture.
Bottle and Sails.js belong to "Microframeworks (Backend)" category of the tech stack.
Sails.js is an open source tool with 20.7K GitHub stars and 1.85K GitHub forks. Here's a link to Sails.js's open source repository on GitHub.
According to the StackShare community, Sails.js has a broader approval, being mentioned in 47 company stacks & 150 developers stacks; compared to Bottle, which is listed in 3 company stacks and 6 developer stacks.
Which is the best Python framework for microservices?
We are using Nameko for building microservices in Python. The things we really like are dependency injection and the ease with which one can expose endpoints via RPC over RabbitMQ. We are planning to try a tool that helps us write polyglot microservices and nameko is not super compatible with it. Also, we are a bit worried about the not so good community support from nameko and looking for a python alternate to write microservices.
Bottle is much less bloated and fast. Its built-in templating system is one of the fastest as it compiles the templates in bytecode. Also Bottle has no depenencies, preventing dependency bloat.
Pros of Bottle
- Great documentation2
- Super easy to use2
- Faster1
Pros of Sails.js
- Data-driven apis49
- Waterline ORM47
- Mvc37
- Easy rest32
- Real-time25
- Open source21
- Service-oriented architecture19
- Scalable18
- Convension over configuration10
- Rails-like asset pipeline9
- Node machines and machinepacks9
- Easy route/controller generation7
- Ruby on Rails basic stuff for JS devs6
- CLI for scaffolding project pieces3
- WebSocket support3
- Supportive community1
Sign up to add or upvote prosMake informed product decisions
Cons of Bottle
Cons of Sails.js
- Waterline ORM5
- Defaults to VueJS4
- Standard MVC0