Lhotka's VB.Net Business Objects

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Has anyone tried implementing Rockford Lhotka's CSLA
framework from his book Expert One on One Visual
Basic .Net Business Objects?

The reason I pose this question here is 2-fold.
1. He basically does away with most of ADO.net, other
than the DataReader to read a row in order to stuff the
values into Properties of objects, which are then bound
to UI controls. To update the database, the values from
the Properties are used to generate a SQL update
statement. It certainly seems an odd way of doing
things - albeit in an OOP way.

2. Having spent 3 weeks trying to work through the book
and make it work, I can't seem to be getting anywhere.
His downloaded source code refuses to work - even after
some of the more obvious problems are fixed (like
references to a Strongname Key file stored on his own h:\
drive in some of the Assembly Info files). The sample
Project Tracker keeps quiting with a System error.

I am very intrigued with his framework, and I think Mr
Lhotka is one of the best technical writers around. I
find myself stuck in the mud and would like to know if
anyone out there has been able to make this thing work.

Thanks
 
I have to book and as far as 1 goes, it's a really cool approach. When I
started VB a while ago, I got Paul Sherrifts VB6 book and he uses a somewhat
similar approach

2- I haven't used the source code recently, but I did have some trouble with
it. Are you havnig trouble with all of it, or is it certain chapters in
particular?
 
Did you ask Rocky to clarify or for updates? He's very open to comments and
would be happy to help you.
See http://www.lhotka.net/
hth

--
____________________________________
Bill Vaughn
MVP, hRD
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
 
I've bought a lot of books from Wrox, this one was one of them. I think
that they (Wrox, not their authors) tended to cut some corners to get stuff
out fast. I agree with you totally that the publisher is probably the
problem b/c
I've never seen anything from Rocky that isn't top notch.
 
Thanks William, Bill and Bob,

I appreciate your input. I have actually spent a lot of
time with the book, and typed in a lot of code. Much of
this is simply elegant stuff, and I have no hesitation in
saying that I have always found Mr. Lhotka's writing
superb. The book is written with an exquisite attention
to detail. I also now have a pretty good grasp of what
is being done and why.

My problem is the rather weird errors that have been
cropping up during serialization of objects from server
to client. Usually in such cases I would try to work
through the downloaded code to see if that is working
right. Unfortunately I have not been able to even start
up that app. I get to the login screen and after
entering the passwords I end up either with a "system
error", or an unresposive program.

I would still like to know what other experts think about
the philosophy behind the Framework's design. Is this a
good way to go. After all, it sidesteps a major part of
ADO.Net.

Thanks y'all
Javed
 
I bought a copy of Rocky's book to review. I'll let you know when I read it.

--
____________________________________
Bill Vaughn
MVP, hRD
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
 
Back
Top