description Morepath Overview
help Morepath FAQ
Is Morepath a full-stack framework or mainly a router?
Morepath is a Python WSGI microframework with a small core and a strong focus on routing models to URLs. Its documentation describes it as model-driven rather than a full-stack framework like Django. [Morepath documentation](https://morepath.readthedocs.io/)
What does model-centric routing mean in Morepath?
A Morepath route resolves to a model object, and a view then renders that object for the web. The framework can also generate links for model instances automatically, so application code does not have to build every URL by hand. [Morepath documentation](https://morepath.readthedocs.io/)
Can Morepath be used to build REST services?
Yes. Morepath includes JSON and REST tools, automatic hyperlink generation and permission-based views for published models. Those features are designed for APIs where resources and their links are part of the response. [Morepath documentation](https://morepath.readthedocs.io/)
How does Morepath differ from Flask and Django?
Morepath is closer to Flask or Pyramid in being a small Python microframework, but it makes models and their URLs central to the design. Django provides a broader full-stack set of defaults, while Flask leaves more routing and application structure to the developer. [Morepath documentation](https://morepath.readthedocs.io/_/downloads/en/latest/pdf/)
explore Explore More
Reviews & Comments
Write a Review
Be the first to review
Share your thoughts with the community and help others make better decisions.