Sep 23, 2004 / Is Code Generator + Stored Procedures worse than O/R Mapping?

2 comments

Excellent post about O/R Mapping and stored procedures. Paul writes, that there are two good approaches for development:

  1. O/R Mapping
  2. Stored Procedures (SP) + Code Generator (CG)
I agree. Other ways are not so good and bring additional problems (sometimes serious). Just one point is discussable for me. Paul puts O/R mapping on the first place, but I don’t think that CG+SP definitely worse than O/R Mapping. I have very bright example in our company. We've used CodeSmith, and this tool really great. Sure, templates took time, and I can't insist that O/R Mapping will not solve the same problems faster next time. But, anyway, CG is a good alternative. I personally prefer O/R Mapping. I have experience with NEO.NET and Tangram, and these tools are good and helpful. But there were some nasty problems with them, and (sadly) lack of documentation is very serious problem for many free open-source tools. It takes time to dig into source code and get the problem fixed. It takes time to understand system behavior, when it does not mach expectations. But these are problems of exact (free) tools, not an O/R Mapping in general.

2 Comments:

At 7:37 AM, Blogger Michael Dubakov said...

Well, I think that code generation is a mandatory think for each good O/R Mapping tool. For example, NEO do has code generation and NHibernate will have such feature as well.

 
At 7:37 AM, Blogger Michael Dubakov said...

Well, I think that code generation is a mandatory thing for each good O/R Mapping tool. For example, NEO do has code generation and NHibernate will have such feature as well.

 

Post a Comment

<< Home

Subscribe to the RSS feed
Stay tuned by having the latest updates via RSS
Follow TargetProcess on Twitter
Get in touch with our team

TargetProcess is an agile project management tool. It is designed to solve distributed teams problems and support agile development processes.



Key Features

  • Full Agile Project Management Support (Scrum, XP, Custom)
  • Productivity Tools (Tp.Tray, ToDo list, dashboards, Inline editing)
  • Customizable Development Process
  • Subversion Integration
  • Integrated Bug Tracking, Help Desk, Time Tracking

Get TargetProcess for Free (5 users pack)

Previous Posts



    follow me on Twitter