More devil's advocate ... ;-) On Thu, Dec 3, 2009 at 1:55 PM, Bassil Karam <[email protected]> wrote:
> One is that since it is so widespread and pervasive, it is very likely that > many Java devs (read potential cfml'ers) already have it deployed and would > find great benefit being able to leverage their existing systems. That sounds good in the abstract, but I'm not sure that plays out when you get down to concrete specifics. If you have an existing system using Hibernate it's not as if you can roll that into a CFML-based app and have everything automagically work simply because Hibernate exists. If the syntax and how you used Hibernate was the same as Java, then sure, good point. But that isn't the way it works. > > But even more importantly, is that ORM is actually VERY complicated. I > think the Hibernate project itself may bigger than the entirety of OpenBD in > terms of code base > And that's a good thing? Vince's point earlier was a good one--Hibernate is the be-all end-all ORM solution for Java developers. Is that what we want or need in CFML? (Again, remember I'm just playing devil's avocate > If you were able to replicate Hibernate's functionality, then you would > have a project with more potential users than OpenBD. > But again, we aren't necessarily talking about reinventing Hibernate. > Adobe didn't feel they could do it. Once you get beyond very high-level > needs and start thinking about caching, relationships, synchronization, > transactions and optimizing database access so that you don't actually query > the db when the app requests it, but instead queue up all the requests and > only query what is needed (as a dumb example if an app made 2 requests to > select * from users, hibernate would know to do it only once and give the > results to both calls), you begin to see a glimmer of the complexity behind > the scenes. Replicating it would be a monumental feat. > > Just some thoughts... > Sure, and thanks for the discussion. Seriously, even if I sound like I'm being difficult just to be difficult, it honestly is just to spur the discussion and/or present some alternative viewpoints. There are just a lot of assumptions in there that may or may not be true. I agree that replicating Hibernate would be a completely ridiculous way for anyone to spend their time. That doesn't mean there aren't other ways to solve this problem, however. -- Matthew Woodward [email protected] http://mpwoodward.posterous.com identi.ca/Twitter: @mpwoodward Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments. http://www.gnu.org/philosophy/no-word-attachments.html -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon mailing list - http://groups.google.com/group/openbd?hl=en !! save a network - please trim replies before posting !!
