Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Professional Plone 4 Development

You're reading from   Professional Plone 4 Development Build robust, content-centric web applications with Plone 4.

Arrow left icon
Product type Paperback
Published in Aug 2011
Publisher Packt
ISBN-13 9781849514422
Length 516 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Chapter 12. Relational Databases

Until now, all our content and persistent configuration have been managed in the ZODB. The ZODB is an efficient and convenient data store for Plone content, but many organizations have existing relational databases that they want to integrate into a Plone website. Furthermore, certain kinds of data may be more appropriately managed using an RDBMS.

In this chapter, we will cover:

  • The role of relational databases in Zope and Plone
  • Modeling solutions that rely on data in a relational database
  • Using the SQLAlchemy library to interact with relational databases

Relational databases versus the ZODB

Some customers are uncomfortable with the ZODB. It feels opaque and unfamiliar. They worry about performance and resilience. And surely, it cannot integrate into their existing IT environment.

In fact, the ZODB is a proven data store that scales well and is easily backed up. It is well-documented, and provides low-level tools to extract data if necessary. As we learned...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image