20Apr

An “Ah-hah!” moment

Posted by Elf Sternberg as chat, database, Design, PHP, web development

There are moments when the lightbulb goes off in your head with the power of a thousand white-hot suns.  For me, it happened while I was reading the WordPress Database Schema back to back with Henri Bergius’s highly influentials (well, it was a Hell of an influence on me, at any rate) Decoupling Content Management.

Take a close look at the WordPress Database Schema diagram and tell me what’s… off… about it.  It should leap right out at you.  Absolutely everything in the WordPress Database Schema is related– posts, users, and comments are all interrelated to one another.  And off in the lower right-hand corner, there’s Options, all by itself, unrelated to anything else.

And then I realized: Everything on that page is about the content.  It describes the Content Layer.  Except Options.  Options isn’t about the Content at all.  Options in WordPress controls a completely independent program hiding inside WordPress: The Presentation Layer.  Actually, Options is a grab-bag of controls over everything: settings for the authentication layer, settings for the presentation layer, settings for the administration layer, settings for presenting the administration editor, etc., etc.  The one thing Options does absolutely nothing, and I mean nothing, for, is the Content layer.

Huh.

Maybe French Press is the next project after all.

Comment Form

Subscribe to Feed

Categories

Calendar

April 2013
M T W T F S S
« Mar   May »
1234567
891011121314
15161718192021
22232425262728
2930