Welcome!

Microsoft Cloud Authors: Janakiram MSV, Yeshim Deniz, David H Deans, Andreas Grabner, Stackify Blog

Related Topics: Microsoft Cloud

Microsoft Cloud: Article

An Exclusive Interview With Rocky Lhotka, the Creator of CSLA

How Science Fiction Led to CSLA; Chatting About Objects with a Software Legend

Derek Ferguson has recently interviewed Rocky Lhotka, the creator of CSLA. In this interview, Derek discusses some of the things that originally led to the creation of CSLA, as well as where Rocky sees object-oriented development heading in the future.

.NETDJ: Who are you?
RL: Well, I think that it’s really a two-part thing. First, I’m the technology evangelist for Magenic. As such, I do a fair amount of mentoring and high-level consulting with Magenic’s customers. Second, I’m a professional speaker and author. In that role, I spoke at 35 different events last year and I’m writing either articles or books on a regular basis.

.NETDJ: What is your pre-Magenic life story?
RL: I’ve been in this industry for about eighteen years. I started working for a vertical software development company that built software to run ready-mix companies. They were and still are the world’s largest company in that space. It was programming on DEC VAX minicomputers.  
   
I left there and went to work in an IT environment at a biomedical manufacturing company, so the first job was about 1.5 years and the second was for 6.5 years. I had a variety of roles: programming, managing the help desk, Novell network installation, and even system administrator for the VAX machines. I spent the last couple of years there managing the application-programming group.
   
I went into consulting after that for a company that was called BORN. I think they are still called that, but they were just bought. I was there for six years and ended up working in National Management. It was while I was at BORN that I started writing, then speaking, then eventually I switched and started working for Magenic. They recognized the value of what I’m doing – which is marketing, essentially – in a way that BORN didn’t.

.NETDJ: What was the first book you wrote?
RL: My first full book was my Visual Basic 5 Business Objects book. I had written a couple of chapters for other books prior to that. This is the book where I introduced CSLA, though not in its current incarnation because this was all Windows DNA stuff. It didn’t allow me to really accomplish my vision.

.NETDJ: How did CSLA come to exist?
RL: A lot of the inspiration came because, at the time, I was working with a group of the premier Forte consultants in the country. This was back in 1995 and 1996, when Forte was the preeminent client-server development tool. The guys that I was interacting with were some of the smartest people I have ever met – very object-oriented. They were moving objects around from computer to computer and doing things that were really extraordinary at the time and I wanted to do that, but I didn’t want to switch to Forte – I wanted to make COM do it.  
   
If you think about 1995 and 1996, this was about the time that Distributed COM (DCOM) and Microsoft Transaction Server (MTS) first appeared. MTS came out as I was in the middle of writing my book. There was a lot of movement in the Microsoft space towards creating object-oriented software and n-tier software. It was kind of a combination of all of these things – all coupled with my love of science fiction.

.NETDJ: How is science fiction related?
RL: Years ago, I read a short story about a military computer virus. Literally, the virus propagated itself by escaping its research lab and infecting all of the computers in the world. Not that I want to write viruses, I think that that’s no good at all. What caught my imagination was the idea that software could move from computer to computer and harness all of the resources on the computer on which it found itself at any given moment.

.NETDJ: How does CSLA further that vision?

RL: The primary goal of CSLA is to allow the use of real object-oriented design – creating a domain model and implementing it instead of classes and objects that reflect that domain model – and yet, at the same time have that work in a distributed environment. The way that CSLA enables this is by transparently allowing objects to move from computer to computer as they require. When an object needs to get data from a database, it moves to a machine close to the database. When an object needs to interact with a user, it moves itself directly onto the user’s desktop. You’ve got a real object-oriented domain model, but the objects are mobile.

.NETDJ: So, how did you like the experience of trying to realize this vision on COM?
RL: COM itself is not an object-oriented platform. It was difficult to do real good OO using COM. For one thing, you don’t have inheritance. The second problem is that it has no formal way of intrinsically moving complex types across the network. In my VB5 and VB6 books, I wound up manually implementing my own serialization in order to get the objects to move. It was very far from optimal.

.NETDJ: Were things any better under .NET?
RL: .NET is an object-oriented platform. Abstraction, encapsulation, polymorphism, and inheritance – .NET directly supports all four of these. It also intrinsically has the ability to move complex types via serialization and Remoting.  

.NETDJ: So, given all of these features baked into .NET – why even bother with CSLA?
RL: Well, it turns out that when you start looking at this stuff, it gets relatively complex.  Many people are put out by Remoting. CSLA entirely abstracts Remoting. There are two side benefits to the way in which CSLA does this. One, this allows you – with zero changes to your code – to change between a one-, two-, and three-tier model. The second benefit is that – if you don’t like Remoting – the DataPortal in CSLA abstracts it away, so you can make CSLA use Web services, Indigo, Remoting, DCOM, or whatever. None of your business code will change because the DataPortal is a channel adapter – or that is one piece of it, at least.
   
The other large facet of CSLA is a belief that business objects should support UI developers. UI developers need data binding, undo-functionality, and objects that intrinsically keep track of whether they have been changed, are new, or have been marked for deletion. By providing all of this functionality out of the box, CSLA saves you quite a bit of coding.


More Stories By Derek Ferguson

Derek Ferguson, founding editor and editor-in-chief of .Net Developer's Journal, is a noted technology expert and former Microsoft MVP.

Comments (2) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
Brian B 10/18/05 06:44:02 PM EDT

Now that I've read the article, can someone tell me what CSLA is???

.NET DJ News Desk 07/27/05 06:41:54 PM EDT

An Exclusive Interview With Rocky Lhotka, the Creator of CSLA. Derek Ferguson has recently interviewed Rocky Lhotka, the creator of CSLA. In this interview, Derek discusses some of the things that originally led to the creation of CSLA, as well as where Rocky sees object-oriented development heading in the future. A lot of the inspiration came because, at the time, I was working with a group of the premier Forte consultants in the country. This was back in 1995 and 1996, when Forte was the preeminent client-server development tool. The guys that I was interacting with were some of the smartest people I have ever met ? very object-oriented.

@ThingsExpo Stories
In a recent survey, Sumo Logic surveyed 1,500 customers who employ cloud services such as Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP). According to the survey, a quarter of the respondents have already deployed Docker containers and nearly as many (23 percent) are employing the AWS Lambda serverless computing framework. It’s clear: serverless is here to stay. The adoption does come with some needed changes, within both application development and operations. Tha...
In his Opening Keynote at 21st Cloud Expo, John Considine, General Manager of IBM Cloud Infrastructure, will lead you through the exciting evolution of the cloud. He'll look at this major disruption from the perspective of technology, business models, and what this means for enterprises of all sizes. John Considine is General Manager of Cloud Infrastructure Services at IBM. In that role he is responsible for leading IBM’s public cloud infrastructure including strategy, development, and offering ...
SYS-CON Events announced today that Taica will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. TAZMO technology and development capabilities in the semiconductor and LCD-related manufacturing fields are among the best worldwide. For more information, visit https://www.tazmo.co.jp/en/.
SYS-CON Events announced today that TidalScale will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. TidalScale is the leading provider of Software-Defined Servers that bring flexibility to modern data centers by right-sizing servers on the fly to fit any data set or workload. TidalScale’s award-winning inverse hypervisor technology combines multiple commodity servers (including their ass...
SYS-CON Events announced today that Avere Systems, a leading provider of hybrid cloud enablement solutions, will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Avere Systems was created by file systems experts determined to reinvent storage by changing the way enterprises thought about and bought storage resources. With decades of experience behind the company’s founders, Avere got its ...
As hybrid cloud becomes the de-facto standard mode of operation for most enterprises, new challenges arise on how to efficiently and economically share data across environments. In his session at 21st Cloud Expo, Dr. Allon Cohen, VP of Product at Elastifile, will explore new techniques and best practices that help enterprise IT benefit from the advantages of hybrid cloud environments by enabling data availability for both legacy enterprise and cloud-native mission critical applications. By rev...
SYS-CON Events announced today that Ryobi Systems will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Ryobi Systems Co., Ltd., as an information service company, specialized in business support for local governments and medical industry. We are challenging to achive the precision farming with AI. For more information, visit http:...
Amazon is pursuing new markets and disrupting industries at an incredible pace. Almost every industry seems to be in its crosshairs. Companies and industries that once thought they were safe are now worried about being “Amazoned.”. The new watch word should be “Be afraid. Be very afraid.” In his session 21st Cloud Expo, Chris Kocher, a co-founder of Grey Heron, will address questions such as: What new areas is Amazon disrupting? How are they doing this? Where are they likely to go? What are th...
High-velocity engineering teams are applying not only continuous delivery processes, but also lessons in experimentation from established leaders like Amazon, Netflix, and Facebook. These companies have made experimentation a foundation for their release processes, allowing them to try out major feature releases and redesigns within smaller groups before making them broadly available. In his session at 21st Cloud Expo, Brian Lucas, Senior Staff Engineer at Optimizely, will discuss how by using...
In this strange new world where more and more power is drawn from business technology, companies are effectively straddling two paths on the road to innovation and transformation into digital enterprises. The first path is the heritage trail – with “legacy” technology forming the background. Here, extant technologies are transformed by core IT teams to provide more API-driven approaches. Legacy systems can restrict companies that are transitioning into digital enterprises. To truly become a lead...
SYS-CON Events announced today that Daiya Industry will exhibit at the Japanese Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Ruby Development Inc. builds new services in short period of time and provides a continuous support of those services based on Ruby on Rails. For more information, please visit https://github.com/RubyDevInc.
As businesses evolve, they need technology that is simple to help them succeed today and flexible enough to help them build for tomorrow. Chrome is fit for the workplace of the future — providing a secure, consistent user experience across a range of devices that can be used anywhere. In her session at 21st Cloud Expo, Vidya Nagarajan, a Senior Product Manager at Google, will take a look at various options as to how ChromeOS can be leveraged to interact with people on the devices, and formats th...
SYS-CON Events announced today that Yuasa System will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Yuasa System is introducing a multi-purpose endurance testing system for flexible displays, OLED devices, flexible substrates, flat cables, and films in smartphones, wearables, automobiles, and healthcare.
SYS-CON Events announced today that Taica will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Taica manufacturers Alpha-GEL brand silicone components and materials, which maintain outstanding performance over a wide temperature range -40C to +200C. For more information, visit http://www.taica.co.jp/english/.
Organizations do not need a Big Data strategy; they need a business strategy that incorporates Big Data. Most organizations lack a road map for using Big Data to optimize key business processes, deliver a differentiated customer experience, or uncover new business opportunities. They do not understand what’s possible with respect to integrating Big Data into the business model.
Recently, REAN Cloud built a digital concierge for a North Carolina hospital that had observed that most patient call button questions were repetitive. In addition, the paper-based process used to measure patient health metrics was laborious, not in real-time and sometimes error-prone. In their session at 21st Cloud Expo, Sean Finnerty, Executive Director, Practice Lead, Health Care & Life Science at REAN Cloud, and Dr. S.P.T. Krishnan, Principal Architect at REAN Cloud, will discuss how they b...
Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities – ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups. As a result, many firms employ new business models that place enormous impor...
SYS-CON Events announced today that Dasher Technologies will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Dasher Technologies, Inc. ® is a premier IT solution provider that delivers expert technical resources along with trusted account executives to architect and deliver complete IT solutions and services to help our clients execute their goals, plans and objectives. Since 1999, we'v...
SYS-CON Events announced today that MIRAI Inc. will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. MIRAI Inc. are IT consultants from the public sector whose mission is to solve social issues by technology and innovation and to create a meaningful future for people.
SYS-CON Events announced today that TidalScale, a leading provider of systems and services, will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. TidalScale has been involved in shaping the computing landscape. They've designed, developed and deployed some of the most important and successful systems and services in the history of the computing industry - internet, Ethernet, operating s...