Is Zope Underrated?
In this thought I discuss a bit of Zope's history, it's past missteps, and why I believe Zope, especially in the modern day might be a bit underrated.
Zope was one of the very first Python web frameworks, but it also felt like more than just a framework. It was more of an Application Server for hosting Python web applications than what I'd describe as a typical Web framework. Zope included a lot of components out of the gate for both developers and users who will be working with Zope objects. It included a powerful deployment system, which allowed each web application to not only be modular, but also allowed any amount of new instances of this web application to be created on the fly via the Zope Management Interface. When you look at how other web frameworks manage deployments, it's essentially, map your monolithic Python package onto the URL, such as in the case with Django. If you wanted to have several instances of this specific Django app, that wasn't really that easy, you usually just spun up a new Django instance, which then took more of your valuable server resources away. With Zope, the actual application deployment works much differently, rather than being stuck with a single instance within your stack, once the Python package was installed and ready, you visited the Zope Management Interface and added the Zope object into your existing website, anywhere in the file tree. This allowed a single Python package and web applications to be effortless deployed multiple times in various parts of a website with much less overhead than deploying out 20 different Django websites to perform that same instances. To make it even more powerful, each of these instances can also be under completely different human ownership, so you could have this same instance deployed over between several different departments whom would have their own area of the website to use without trampling on the other departments.
Zope was decently popular during it's 2.x era from what I understand, as it was really the only Python web application server at the time, so if you wanted to develop a web application in Python, Zope was really your only option.
Zope Missteps: Zope 3/Bluebream
While I did briefly try Zope during it's 2.x run, I wasn't as fluent in Python as I am today, and so I wasn't very productive using it, and never really joined the community or created anything. It was more of a fun curiosity to my 20 year old self back then. When I eventually did dive into Python in 2010, Zope 2.x was out, and Zope 3 was then being heavily marketed as the next generation of Zope. As I was looking into replacing my PHP websites with Python, I obviously looked at Zope 3 during this time, and well... It wasn't good, and I wasn't alone. A lot of prior Zope developers who absolutely loved Zope, all but moved on when Zope 3 dropped. You see, Zope 3 wasn't a proper evolution of Zope 2, it was a complete rewrite! People don't continue to use a product after such huge rewrites, people stay because of how familiar something is. Take operating systems as another example here, people who still use Microsoft's Windows operating system have been doing so since they began using a PC, and anything else can be rather scary to them, and because they don't understand say Linux, they just stick with what they know, Windows. With Zope 3, it was a bit different, it was like when Windows released Windows 8, you know, before that Windows 8.1 patch... A lot of long term Windows users were genuinely frustrated by the drastic changes to their beloved Start Menu, which Microsoft completely removed. A lot of users during this time, including Valve, the company who runs Steam, began looking into alternatives, such as Linux. This is what happened to Zope, and Zope never truly recovered, after Zope 3, other Python web frameworks began to emerge, and developers just moved on, leaving Zope 3 in the dust.
Fast forward years later, and Zope realized the mistake, and so Zope 4 was born from the ashes of Zope 2, and Zope 3 was then renamed to Bluebream, as well, Bluebream was a full rewrite, so it never really shared much in common with the original Zope concept. Modern Zope is now well into it's Zope 6.x lifecycle, and hasn't yet recovered from it's Zope 3 mishap, as a lot of developers have moved on to other now more popular Python web frameworks like Django.
Does Zope Deserve a Comeback?
Yes, I definitely believe so, or at least I believe there is room for two huge Python web frameworks to easily co-exist in the Python eco-system. Zope serves a very unique purpose in the web application market, it's not a copy of anything else, it is incredibly unique.
Django works really well for what it is, if you need a powerful relational database Python web framework that can hook into URLs via regular expression patterns, then Django works really well for web applications that require that sort of thing.
Where Zope excels at is with it's Object Database, it doesn't use MongoDB or CouchDB, it uses a specialized Python-based Object Database that fully supports massive scaling using it's powerful ZEO technology, right out of the box. With Zope as both your web application server, and object database, it's an all-in-one inclusive product that shouldn't be overlooked.
While you could say use another Python web framework like Django or Flask and use an Object Database such as MongoDB with it, it doesn't come with the same incredibly rich feature set that Zope has out of the box. Unlike other object databases, the Zope Object Database is built entirely for Python and Zope itself, it is very tailor made for this purpose. As a result, there are a lot of built-ins you would otherwise need to implement yourself if you rolled your own. For example, each node in the Zope Object Database has a security context attached to it, and as a result, a website administration can set very fine-grained security policies throughout the entire website. Furthermore, Zope has an amazing acquisition system. If you set specific security settings on the root directory, all of the sub nodes automatically have that same security unless you change it in a subsequent object. This is all built-in, and it even includes a lot of very powerful built-in permissions, such as the basic ability to even View an object can be entirely locked down without any additional coding required, and that's rather amazing if you ask me.
If you need to build a specialized web application that requires a persistent and powerful object database, I highly recommend considering Zope for that project over trying to roll your own using an external third-party object database. Zope is still in very active development, with a new security update being released just today. If there were more Python developers willing to give Zope a second try, or even a first try, I think the entire Zope eco-system and community can only be much more stronger from that. Remember, this is still a Python package, and so, every existing Python package out there, at least for your specific version of Python, will work with Zope, as it did with whatever current Python web framework you might be using.
