- ISBN13: 9781430210191
- Condition: NEW
- Notes: Brand New from Publisher. No Remainder Mark.
Product Description
Do you want to create .NET applications that provide high performance and scalability? Do you want to employ object–oriented programming techniques in a distributed environment? Do you want to maximize the reuse and maintainability of your code? Then this book is for you. In Rockford Lhotka’s Expert C# 2008 Business Objects, you’ll learn how to use advanced .NET Framework capabilities alongside OO design and programming to create scalable, … More >>

This isn’t a book on C# object oriented programming, it’s a book on using the author’s CSLA framework.
If you need to know CSLA, then you want this book. Otherwise, there are better frameworks and better architectures available. I can’t recommend this book even for beginners because the CSLA architecture takes you down the dead-end of creating fat, fully encapsulated objects which combine all logical layers (presentation, business and data access) into a single class.
Rating: 1 / 5
I have tracked CSLA and used the architecture since the Early VB6 days and I unfortunately have to admit that I have moved from being a follower to becomming increasingly dissapointed over the years. CSLA has in my opinion just failed to keep up with the newer concepts of Domain Modelling etc from Eric Evans it has also failed to in incorporating concepts and patterns from Martin Fowler et al. The architecture does not solve or present any real solution for the Object Relational mapping issues etc etc etc. The problem in my opininion stem from the fact that the architecture has remained rooted in the principles that worked and were needed in VB6. If you and your organisation are already committed to CSLA then keep buying the book and keep up with the minor changes that happen to the architecture with each iteration. The second problem for me is that the CSLA is not test driven (although there are some tests that appear to have been retrofitted). The Framework itself is fairly limited with most of the logic being in the generated code. This means that it is extremely difficult to extend or enhance since you need to start fiddling with templates etc. We all know that generated code is very hard to test so doing this makes things very fragile and frustrating.
If you are looking learn Domain Concepts and to utilise these in production projects then I would suggest that you go for one of the Open Source Enterprise Application Frameworks that are available. These are more feature rich and more alive in terms of contribution than CSLA.
My suggestions would be
1)NHibernate – this is an open source ORM but has many generators e.g. CondeSmith that allow you to generate the Business Object Layer. It is reasonably well documented and has a book (NHibernate in action) it has a reasonably active community. I have used this on a number of projects and it is very complex but works well.
2) My other Suggestion would be Habanero – this is an interesting Open Source Enterprise application framework (that I have been using for the last 7 months). The framework covers the ORM (Object Relational Mapping), The Domain Model and some generation of simple user interfaces. It also has many components that can be used and plugged in at both the Domain Model (Business Logic Layer) and User interface (Presentation layer). The documentation is pretty good with lots of videos etc for getting started. There is currently not that much available on the details of the architecture but the code is well documented. There is a alpha release of a book which is pretty good and explains the details of architecture (You need to request it via email). The impressive parts for me are that the entire architecture is fully Test Driven and ships with the ability to swap in a Memory Database. The In Memory database really allows you to develop your project in an agile manner. The community and forum is active and the Framework has already had several new releases in the 7 months I have been working with it. The framework ships with a Free Code Generator aka Firestarter. Firestarter is a bit rough and ready but works and is relatively easy to use.
Rating: 1 / 5
So, the book is very well organized and written. The ideas are very clear and it actually make me think in the way I normally architect projects. Don’t get me wrong, I’m not doing it that bad, is just it has opened my eyes to other possibilities and some better techniques.
With this book, it’s clear that Rockford Lhotka is quite an expert in architecture and design.
Now, please, make sure you read the first book Beginning C# 2008 Objects From Concept to Code so you’ll get a better and more pleasant reading experience.
Overall, I highly recommend this book if you are a software architect and/or work with n-tier projects or enterprise class projects.
By: Jose Rolando Guay Paz
——————-
La estructura utilizada se adapta a las expectativas requeridas, los ejemplos varios refuerzan la practica del lenguaje. Las estructuras se pueden entender de manera facil. La explicacion detallada de lassintaxis fomenta su practicabilidad, asi mimsmo desarrolla y refuerza nociones sobre la programacion del lenguaje C#.
Las tablas presentan detalladamente las propiedades, descripciones, atributos, tipos, metodos, etc.
By: Marlon Joao Maaz B.
————————
Por la utilizacion de profesionales utilizando orientado a objetos C# veo muy util los objetos de negocios presentados.
Creo que este libro es muy completo ya que inicia con estructura, diseno de la plataforma, luego las aplicaciones y todo con muchos ejemplos. En general, muy bueno.
By: Hector Armando Macz Bac
Rating: 4 / 5
This was a very interesting read. Yes, it documents the CSLA framework but the book provides more than that. For example, the chapter that includes WCF custom security modules provided a far better concrete than I discerned from reading Juval Lowy’s book (which I thought was excellent as well) and there is not a whole lot of reliance on CSLA in those examples. The chapters on creating custom IPrincipal objects were very informative as well. Looking at the CSLA framework code, I learned methods of using generics that I have not seen elsewhere. Whether or not you wind up using the CSLA framework, there a good takeaways from reading this book.
This is not an ORM book or framework. It does not even remotely pretend to be ORM related. ORMs do not, generally, comprehensively implement the standard Microsoft interfaces (and more) for security, validation and UI interfaces for validation message display, data binding, remoting, LINQ integration, N-tier, command pattern, etc. CSLA.NET does. Most people skip the notion of developing true business objects and head straight for datasets, entities or NHibernate. The reality is that business objects are a logical tier on top of these data access technologies. I do admit that I would like to see the author take advantage of some of the hooks for custom objects in EF 2.0 which might provide some development productivity gains, but currently his focus is on Silverlight 3 functionality.
The book is quite lengthy, but rather than being “dummies” fluff, it is to the point and understandable, much like Juval Lowy’s WCF book. And while long, it is possible to skip around the book a little bit. The first 200 pages are a must read before jumping elsewhere. The design portion which covers the design of CSLA.net may not be absolutely necessary reading and is a large portion of the book, but in the end you’ll wind up going back to read it and it will provide a more thorough understanding of CSLA.net
Rating: 4 / 5
There is a lot of valuable code in this book and the accompanying framework that allows you to write scalable enterprise solutions without a lot of effort, however…. The framework seems more complicated than it needs to be and almost necessitates the need for a code generator such as CodeSmith (which BTW is an excellent tool); I get the feeling that it is carrying some baggage from prior versions of the framework. Adding Silverlight support might be good for selling books or gaining points as a MS Evangelist for the faithful, but it adds unnecessary baggage to applications that don’t need it and no, I don’t plan on writing anything with Silverlight in the near future even if MS marketing is pushing it.
The .NET 1.1 version of this framework has IMHO a cleaner design even though it didn’t use Generics or Linq. Perhaps it is time for Rockford to tear it all down and start over as he did when he went from VB6 to VB.NET.
Rating: 3 / 5