Oh, and I just wanted to mention that I didn't do this all myself (although it may sound like that from my last note). Dennis Clark and I worked on this together and his contributions have been invaluable, saving me lots of time and helping me figure out some of the tricky bits.
Thanks Dennis! On Wed, Dec 2, 2009 at 12:41 AM, Bob Silverberg <[email protected]>wrote: > Hey Folks, > > The initial development of the cfOrmAdapter is complete and can be found in > a branch of the Model-Glue svn repo: > http://svn.model-glue.com/branch/cfOrmAdapter/ > > There is a cfOrmService.cfc which encapsulates access to CF's built-in > functions (like entityNew(), entityLoad(), entitySave(), etc.), which can be > available to your application if you like, but is primarily there for the > use of the cfOrmAdapter.cfc. > > It should be possible to perform any operations that you currently do with > the generic orm controller and/or scaffolding with the new adapter. > Application setup is still an issue, as CF requires you to have certain > settings in the Application.cfc file. I'm not sure that there's any way > around that, but if anyone has any ideas I'd love to hear them. For now > you'll just have to put those settings in your app's Application.cfc file. > > I have written unit tests to support everything (except for a few cases of > assemble(), which I plan to write tomorrow) - all of the test cases and the > fixtures required are in a folder off the root of the branch > called cfOrmAdapterTest. You can treat that entire folder like an > application and should be able to run the MXUnit tests from there, if you > wish. One caveat if you want to run the MXUnit tests - some of them rely on > enhancements that I added to the MXUnit framework that have not been > released yet, but they exist in a branch as well. If you want to give it a > try let me know and I can help you out. > > Dan, I know that you said that you have some code that produces predictable > scaffolding results, so if you could test it out with that that would be > great. If you don't have the time maybe you can share the info with me. If > anyone else is willing to test this stuff out that would be wonderful. > > Thanks, > Bob > > -- > Bob Silverberg > www.silverwareconsulting.com > -- Bob Silverberg www.silverwareconsulting.com -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en
