上QQ阅读APP看书,第一时间看更新
The business logic layer
The business logic layer encodes the application's business rules, such as validations and automatic computations. We will add the logic for our button now. This is done with Python code, using the methods in the Python class that represent the model.