https://github.com/ejdecena/mvc-with-bottle
MVC-with-Bottle is a web development microframework based on the Model-View-Controller pattern for the development of small applications.
https://github.com/ejdecena/mvc-with-bottle
bottle-framework bottlepy mvc-framework mvc-pattern python
Last synced: 11 months ago
JSON representation
MVC-with-Bottle is a web development microframework based on the Model-View-Controller pattern for the development of small applications.
- Host: GitHub
- URL: https://github.com/ejdecena/mvc-with-bottle
- Owner: ejdecena
- Created: 2021-02-27T21:15:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-27T21:25:28.000Z (over 5 years ago)
- Last Synced: 2025-06-21T20:03:08.219Z (12 months ago)
- Topics: bottle-framework, bottlepy, mvc-framework, mvc-pattern, python
- Language: Python
- Homepage:
- Size: 88.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MVC-with-Bottle
*MVC-with-Bottle* is a web microframework based on the Model-View-Controller design pattern and built on top of the Bottle library.

## Developer.
* Edgard Decena, edecena@gmail.com
## Requirements.
*MVC-with-Bottle* does not require the installation of any external library. The *Bottle* library is already included in the framework itself, in the `core/libs` folder.
## Use:
1. The `core` folder contains the implementation of the framework's abstract classes: `controller.py` and `model.py`, from which the controllers and models respectively of any project will inherit.
2. The `views`, `controllers` and `models` folders will contain the particular views, controllers and models for any given project.
3. The url pattern is `http://localhost:8080/ctler/p1/p2/p3/...` where `ctler` is the controller to be requested, and `p1`, `p2`, `p3` ... are the parameters to be received by that controller.
4. The `config.json` file contains the configuration parameters of the `Bottle` object, as well as the name of a Sqlite database to be stored in the `data` folder.
## Contributions.
Feel free to contribute to this project if you wish, by reporting [issues](https://github.com/ejdecena/MVC-with-Bottle/issues) or proposing improvements through pull-requests. Thank you.