Tuesday, July 15, 2008
« CSLA Light data portal options | Main | CSLA Light preview release »

I get a lot of questions about Expert 2008 Business Objects as to what it will and won't cover, so I thought I'd try and answer at least some of them in a blog post.

The book will cover CSLA .NET 3.6. Version 3.6 is the same as 3.5, but with support for CSLA Light and some .NET 3.5 SP1 features (such as the Entity Framework). And along with CSLA Light comes some interesting support for things like an async data portal and async validation rules. But please note that this book will not cover CSLA Light - that's a book by itself, believe me!

Here's the tentative table of contents for the book:

1.     Architecture

2.     Design

3.     Object-oriented design

4.     Supported stereotypes

5.     Stereotype templates

6.     Framework Implementation

7.     Editable Objects and Collections

8.     Data Binding

9.     Business and Validation Rules

10.   Authorization Rules

11.   N-level Undo

12.   LINQ to CSLA

13.   Persistence and the Data Portal

14.   Other Framework Features

15.   Example Business Library

16.   WPF Application

17.   Web Forms Application

18.   WCF Service Application

The items in green are complete - first draft anyway - and so you can get an idea where I am in the process.

Due to space and time constraints, this book will have three UI chapters just like the previous books. So I had to choose which interface technologies to cover - out of the myriad options available:

  • WPF
  • WPF/XBAP
  • Windows Forms
  • asmx services
  • WCF services
  • WF workflows and activities
  • ASP.NET Web Forms
  • ASP.NET MVC
  • Office/VSTO (Word, Excel, etc)
  • Console

I want to make sure to cover smart clients, web development and services. While WCF and Web Forms were easy choices (though I do like ASP.NET MVC a lot, it isn't mainstream yet), the choice between Windows Forms and WPF was difficult. But I have to give WPF the nod, because it is a really nice technology, and it really shows off the power of CSLA .NET business objects very nicely.

My current plan is to release ebooks that specifically focus on each of the interface technologies not covered in Expert 2008 Business Objects, and some sort of book (ebook or traditional) covering CSLA Light.


Tuesday, July 15, 2008 1:36:58 PM (Central Standard Time, UTC-06:00)
That's great news Rocky. I'm really looking forward to it.

+1 for your choice to cover WPF. I've been working with it recently on a project and it really is a beautiful thing.

Cheers.
Tuesday, July 15, 2008 5:12:20 PM (Central Standard Time, UTC-06:00)
I'd rather see the Using CSLA Light book come out ahead of Expert 2008 tbh.

Most people should be able to figure out CSLA 3.6 from a combination of the existing Expert 2005 book, the CSLA 3.0 ebook, and the Using CSLA Light book.
Considering that CSLA Light will be available for general consumption soon (if the roadmap is anything to go by), having a supporting book come out around the same time would help immensely.
Paul
Tuesday, July 15, 2008 5:24:25 PM (Central Standard Time, UTC-06:00)
Paul, I think you are probably right, but you don't get all the emails I get asking for information about CSLA .NET 3.5 :)

The ebook idea I pursued over the past couple years was (I think) a good one, in that it provided good documentation for versions 2.1 and 3.0. But it is pretty clear that two incremental ebooks is about the limit - after which most people find it too difficult to mentally merge the information from the paper book through the ebooks. And I fully understand that - I have a hard time finding all the information too.

I'm fortunate right now, in that Magenic is providing a lot of help building and testing CSLA Light, making it possible for me to also work on th 2008 Business Objects book. All I need now are a couple clones (or one of those cool time-things from Harry Potter) so I can write three books at once ;)
Tuesday, July 15, 2008 5:28:37 PM (Central Standard Time, UTC-06:00)
One other note - I think you'll find that CSLA Light is terribly close to CSLA .NET 3.6. So for the most part, once you've figured out CSLA .NET 3.5/3.6 you are already prepared to create business objects for CSLA Light.

My goal is to allow complete code sharing in the Business Objects, Business Rules and Authorization Rules regions of a business class between CSLA .NET and CSLA Light. I don't think we'll hit 100%, but we'll likely hit 99.9%.

The Factory Methods and Data Access regions will be different, and there's little to be done about that. However, they follow the same conceptual model, and so if you know CSLA .NET, you'll pick up CSLA Light very rapidly in this regard.

And ultimately CSLA Light uses CSLA .NET 3.6 as its application server. So I'm in a catch-22, in that I really need to cover both for either to be real useful...
Tuesday, July 15, 2008 11:38:47 PM (Central Standard Time, UTC-06:00)
Fair enough - I kind of figured the majority of your target audience is probably still heavily CSLA.Net based at this early stage of Silverlight adoption.
My perspective is a little different since I'm just starting out on a major LOB project, and luckily the timing of Silverlight 2 Beta 2 + CSLA Light has enabled me to choose to this combination from the outset.
Paul
Wednesday, July 16, 2008 7:05:30 AM (Central Standard Time, UTC-06:00)
Well, I'm very happy to have an early and active user (or more) of CSLA Light! I'll be setting up a dedicated CSLA Light forum, and I encourage you to engage through that venue. I'll help answer your questions and you can help find/resolve bugs/issues/quirks in CSLA Light :)
Wednesday, July 16, 2008 2:14:17 PM (Central Standard Time, UTC-06:00)
Rocky,

I really like the choices you've made. I've bought both of the VB CSLA.net books and the ebooks. I can't wait for this new one on 3.6! I agree with the choice to move to WPF. I've been dying to work with it more.
Jon
Comments are closed.