Hi
for a large or medium coding buusiness objects manually is not reasonable and this is not only for CSLA.NET business objects but also for any persistable object, thanx for CSLA.NET that a code to make full fledged business objects is arleady implemented making code generation highly productive
A good number of code in the CSLA.NET based business objects are properties and also the approach is so good arranged that they follow a good hence using code generation a breeze.
However using code generation tools can be tempting making a developer think at first designing database, then from database ganerating business objects, which is not good as it will only make object a representing database tables and columns i.e normalizing data while in object world it is normalizing behaviour is required.
With so much pressure to deliver projects on time and reduce costs, I think Code Generation these days is almost a must. For my team it has become a neccessity. Beside there is a good deal of choice now on the market to choose from and Code Generators are getting better and better. There are several advantages in using Code Generation and the main one is to free programmers to concentrate on the areas that deserve better their brain power. Code Generation can also be a good mentor for developers and generated code is generally well written and consistent. I agree also that one of the main disadvantage with most Code Generators is that you have to start from a database model and the database must be well designed.
As for CSLA, I can inform you that Code Complete is dedicated to CSLA and always uses the latest version of CSLA.NET
Philip
If you are interessed in a DSL-Tool (Domain Specific Language) for the Csla-Framework (BO driven Modelling) have a look at www.cslafactory.net . A first CTP Preview of the open source Tool will be released in march. For a first look you can press the View Demo button on the site.
the other one is Sculpture (http://www.codeplex.com/Sculpture) it does not target the CSLA.net framework, but templates can be created to work for CSLA. Doesn't know how much longer cslafactory need for the next release, but Sculpture has already been working with Linq.
If anyone guru out there is interested in writing a "mold", the templates in Sculpture's term, to work with CSLA. please let me know, we would like to help out!
cheers!
The gurus from Sculpture is writing the CSLA.net mold and it will be released with Sculpture beta 2, which is within a month time. Then there will be another codegen for CSLA.net - probably the first Visual Designer for CSLA to work with VS2008.
Copyright (c) Marimer LLC