You can think of PyBiz as an ORM for web frameworks, not databases. It abstracts out the app from the framework. The architecture of PyBiz application has a traditional design with three layers.
## The Service Layer PyBiz provides annotations for request validation, authorization, and integration wth existing web frameworks. Toggling between Django, Pyramid, and Falcon is as easy as changing one line of code.
## The Business Layer In addition, PyBiz also contains components for so-called business objects. In a nutshell, business objects should contain all logic that pertains to the business domain of the application. The business layer makes no reference HTTP requests or database queries. It’s made up of classes with names like Account, User, Project, etc. These components should be written so that they read as much like user stories as possible when composed.
## The Data Access Layer The DAL should be familiar to anyone working with Java Frameworks. Its responsibility is to define the interface to an abstract data store, be it implemented with MySQL, Redis, another micro-service, or something else.
_More to come…_
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|pybiz-0.1-py3-none-any.whl (97.4 kB) Copy SHA256 hash SHA256||Wheel||py3|
|pybiz-0.1.tar.gz (67.6 kB) Copy SHA256 hash SHA256||Source||None|