Home > Articles > Web Development

Connecting Zope to External Relational Databases

  • Print
  • + Share This
Learn about relational databases and how they can be used with Zope in this sample chapter. Beginning with an introduction to relational databases, and proceeding to the databases that are part of the Zope distribution, namely ZODB and Gadfly, the authors also go through a step-by-step explanation of how to install the MySQL database adapter for Zope, and how the connection between Zope and a MySQL table is established. Finally, learn how to use Zope's integrated demonstration database (Gadfly) to start working with SQL statements.
This sample chapter is excerpted from Zope Web Application Construction Kit, by Martina Brockmann, Katrin Kirchner, Sebastian Luhnsdorf, and Mark Pratt.
This chapter is from the book

Introduction

In this chapter, we will talk about relational databases and how they can be used with Zope. We start with an introduction to relational databases and then go on to the databases that are part of the Zope distribution, namely ZODB and Gadfly. Gadfly is a simple database that should only be used for demonstration purposes or to learn how to use Zope with a database.

After an introduction to the ZODB and relational database management systems (RDBMS), we will go through a step-by-step explanation of how to install the MySQL database adapter for Zope and how the connection between Zope and a MySQL table is established. Then we will show you how to use Zope's integrated demonstration database (Gadfly) to start working with SQL statements.

  • + Share This
  • 🔖 Save To Your Account