Re: [dev] RFC IMVCCStorage everywhere (Move ZODB's MVCC to storage layer)
Christopher Lozinski <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb |
|---|---|
| Message-ID | <[email protected]> |
On 6/10/16 5:25 PM, Jim Fulton wrote: > What makes more sense is to split ZODB's MVCC support into a separate > layer that's applied to storages **other than** RelStorage as an > adapter. Brilliant! That is a huge step towards a simple core with adapters for special cases. Exactly what we should be doing. There is a big problem in Open Source software that people are adding and adding to packages. They get way way too bloated. They become too complex to understand. The way to solve this is with Adapters. Have a simple core with lots of optional adapters. Sadly I do not know many good examples. If some examples are starting to show up in ZODB that makes for an excellent talk. There was a well known course at MIT called Structure and Interpretation of Computer Programs by Sussman and Abelson. It is often discussed on the web. One year the two professors showed up at the Department Office and announced that they are no longer offering the course. Their students were not architecting applications from scratch, there were reusing open source libraries and "poking at the code". The professors did not know what to teach. What they should be teaching is how to build reusable libraries using ZCA and adapters. Have a very simple core with lots of adapters for the more complex applications. I am delighted to hear that ZODB is moving in this direction. I am hugely tempted to do some high level diagrams of how all of this is designed. That would make it so much easier for newbies to understand the architecture, and then review pull requests. Chris -- You received this message because you are subscribed to the Google Groups "zodb" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.