DbFinderPlugin: The ORM isn't important anymore
Today I tried the DbFinderPlugin for the first time. I am truely impressed. Using this plugin, it is not necessary anymore to really care about which ORM you pick for your project. It's the thought behind symfony 1.1 taken into the symfony ORM-selection.
One of the most important changes in symfony 1.1 was the creation of the symfony platform, the core of symfony had it's classes completely refactored into a fully decoupled set of classes that could easily be picked or overruled when required. It meant total independence of those classes whenever you would choose to do that. An excellent path to go for symfony, as it gives more control to the developer.
With the ORM, that was not fully possible. You would still have to write your code ORM-specific. For Propel, you'd use the Criteria object to build your query, and for Doctrine, you'd use the (slightly more beautiful) chaining of methods to build a query. But if you'd written code for one, you could not easily change to the other. Even moving from Propel 1.2 to Propel 1.3 would offer some challenges.
Enter the DbFinderPlugin, a plugin written by Francois Zaninotto. This seems to be the ultimate solution in writing code that is portable between the different ORM's. When used consistently throughout a project, switching to another ORM should be as simple as installing and configuring the new ORM plugin, configuring your databases.yml, and that's it. DbFinderPlugin will take care of the rest.
I see two very important advantages for the usage of this plugin:
- Plugin development - Using DbFinderPlugin, it's now very easy to write plugins that don't care about the ORM you are using. The community will benefit a lot from this, as all plugin authors that use this plugin will now write plugins that are compatible with all ORMs. And the plugin authors will benefit a lot from this as well, since it will make their life a lot easier in writing plugins for all ORMs
- Project development - You don't really need to think about which ORM you need to use up front. You just start with the default Propel with DbFinderPlugin. Then, as the project advances, you can decide what you prefer: Propel or Doctrine. Or you make a choice at the start of your project, but halfway a technical requirement makes you reconsider that choice: switching should now be very easy. No need to rewrite all your queries anymore.
The only possible downside at this point is that Doctrine is not fully supported yet. Propel 1.2 and Propel 1.3 are fully supported already though, so at least switching to the speed and efficiency of Propel 1.3 is already possible. As Doctrine-support is completed, I see a bright future for this plugin and symfony development in general.
August 13, 2008 - tags: DbFinderPlugin, ORM, symfony, php
Dirty Dancing Soundtrack Lyrics Twilight The Movie Soundtrack 2008
: the bass side up first... archtop often have 3-a-side pegheads as well as neck that is very similar in width to a steel-string acoustic rather than an electric. high end versions normally have block or perhaps trapezoid position markers. famous jazz guitarists
voice recorder voice activated
: digital voice recorder transcribing equipment. i use an olympus ws-300m 256 mb digital voice recorder that can be purchased for about $79. 1/8 inch mic in & stereo line out. record more detail up-close with a compatible microphone, or add headphones for easy transcriptions. usb flashdrive/voice recorder.
Finding Career Pathways
: certified nursing assistant cna work charlotte nc sometimes entrepreneurs can imagine, or envision a need that other people don't see immediately. introductory nursing courses provide explanations about the history of nursing; the theories that involve nursing and the way they have been modified today; as well as the ethical and legal matters in the realm of nursing and healthcare.
best lawn fertilizer
: their purpose is to protect and keep healthy all plants, trees, shrubs, soils, flowers and hardscapes. the rich, black, earthworm-made fertilizer is odorless, crumbly like ground coffee, and easy to handle. organic garden fertilizers: fertilizers for organic gardening should be made up of natural ingredients. i recommend this to those who are very serious about cutting feed costs and eating pastured pork. the organic seaweed fertilizer will provide a wide range of nutrients and help reduce the amount of stress on the young
Make A Fax Cover Sheet Online
: all types of borrowers can avail this loan service even if they are holding arrears, insolvency, defaults, bankruptcy, foreclosures and so on. as for a review of your job when they finish and be sure that you are only paying for the numbers that received your fax. fax templates for officeready professional. let's face it fax covers and memos are not typically the most. fax template pack. get 30 interesting fax cover sheet designs that feature the automatic profile feature. hipaa fax cover sheet. what is a hipaa fax cover sheet? does my medical office really need a special fax cover sheet to be hipaa compliant? the health insurance portability and accountability act of. 1.genuine citizenship of uk they may store the documents on secure websites, which require that you log in with a password in order to view the files.fax by email it's as easy as it sounds