Summary

We took a critical look at the framework we developed so far, and made improvements to the framework to make it more versatile and simpler to use for a developer.

Specifically, we covered:

  • How to do away with explicit database and thread initialization.
  • How to wield the awesome power of Python metaclasses to synchronize the creation of Python classes and their corresponding database tables.
  • How to use those same metaclasses to alter the definitions of existing classes to create a much more intuitive interface when dealing with relations.
  • How to implement a Browse class to navigate through large collections of entities in an efficient way using caches.
  • How to rewrite the books application in a much simpler way with this reworked framework.

We have still glossed over several issues, including how to display and edit instances. In the last three chapters, we will develop a Customer Relationship Management application and fill in the final bits, including controlling how to restrict some actions to specific persons and how to allow for end user customization of the application.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.57.126