Thursday, June 03, 2004

Abstracting Away the Data Access Layer in WordPress

One thing about WordPress that's been bothering for some time now has been the extent to which it is tied to MySQL. Whatever advantages such a close tie might have had in the past in terms of ease of development and performance optimization, going forward it strikes me as less than wise to insist that everyone install a copy of MySQL even if they already have something else in place, a point on which this discussion thread seems to indicate that many others are in substantial agreement.

The ideal scenario as I see it is that the WordPress controller component should have no knowledge whatsoever about the brand of RDBMS from and to which it is making requests for data, inserts, updates and the like; in fact, it shouldn't even care whether the backing store is an RDBMS or merely a plain text file, and adding support for a new data storage mechanism should be as simple as someone writing code that implements the interface required by the controller.

All of this assumes, of course, that WordPress is implemented as an MVC application, but I see no good reason why it shouldn't be, or even that it already isn't one for the most part; from what I've been able to make out of the code I've looked through thus far, the WP programmers certainly seem to have done a decent job of separating the view aspect of the application from the rest of it.


Anonymous Anonymous said...

Этот пост — одно из немногих исключений, когда читаешь с интересом и что-то для себя выносишь. Спасибо автору. Добавлю в избранное[url=].[/url] :)

November 13, 2012 at 6:23 PM  
Anonymous Anonymous said...

'' go outside for freshair '') is not clearly marked as Creole. Next B states, in London English, her attitude to all such propositions: '' I buying Viagra different V genes in humans, a superantigen reacts with more than 1 in 50 T cells whereas a conventional peptide antigen will react with 1 in 10 to 1 in viagra online 577 Specific foods high in uric acid can cause or be a contributing factor for gout

December 7, 2012 at 12:06 PM  
Anonymous Anonymous said...

Today, around one-third of Americans are obese, the highest proportion in the world lumigan cost These pills are boosted with natural ingredients for the purpose of penis enlargement
Sugar is also in the sodas, fancy coffees, and smoothies you buy cymbalta Your struggle with depression is not the only one here! Dozens of struggles take place every day!
A door frame brace ensures you can attach the bar to something solid that will hold your weight viagra for women au Don't be too restrictive with yourself
These are: refined sugar (Sugary sodas also contain this sugar), white flour, white rice, white bread buy generic iressa When calories are burned quickly a person is usually thin but when they get burned slowly then excess weight gets packed on
The administration of corticosteroids by inhalation has been hailed as the "greatest advance in asthma management" in years Didanosine drug 2 - Use the jelq methodThis is another method that has been time tested and will work every time

December 8, 2012 at 11:06 PM  
Anonymous Anonymous said...

When it is completely exuded add honey almost one full teaspoon lumigan One way to further increase their effectiveness is to add a program of exercise to your daily routine
And since the chlorine is removed, there are fewer chances for chlorine favors which can cause respiratory problems like asthma and other allergic reactions cymbalta price Controlling your emotions is not that difficult if you have the desire to get ridof depression!
Weight-conscious individuals don't have to feel deprived anymore buy Viagra for women High-fat meals stay in your stomach, as do meals that contained vinegar, fermented foods, or even sourdough bread
Do you remember your dreams? Are they befuddling? How much attention do you give to making sense of them? Do you say things like, "I had the strangest dream last night" and leave it at that; a pregnant pause? If you had helpful tips to unravel your dreams would you take the time to do so? Learning how to decode dreams and their symbolism is an exciting way to discover more about your inner self gefitinib Of course, this long treatment will cost a lot of money
That's why the prevailing strategy involves treating the individual symptoms of the condition instead How to buy Coumadin There is no rule that says you have to exercise in a particular place! Whatever works best for you is fine

December 11, 2012 at 2:03 AM  

Post a Comment

<< Home