Content deleted Content added
No edit summary |
|||
Line 1:
'''Component-based Scalable Logical Architecture (CSLA)''' is a [[software framework]] created by [[Rockford Lhotka]] that provides a standard way to create robust [[object oriented]] programs using [[Business object (computer science)|business object]]s. Business objects are objects that abstract business entities in an object oriented program. Some examples of business entities include sales orders, employees, or invoices.
Although CSLA itself is free to download, the only documentation the creator provides are his books and videos, which are not free.
CSLA was originally targeted toward [[Visual Basic]] 6 in the book ''Visual Basic 6.0 Business Objects'' by Lhotka<ref>Visual Basic 6.0 Business Objects ISBN 1-86100-107-X</ref>. With the advent of [[.NET Framework|Microsoft .NET]], CSLA was completely rewritten from the ground up, with no code carried forward, and called CSLA .NET. This revision took advantage of [[Web Services]] and the object oriented languages that came with Microsoft .NET (in particular, [[Visual Basic|Visual Basic.NET]] and [[C Sharp (programming language)|C#]]).
CSLA.NET was expounded in ''Expert C# Business Objects'' <ref>Expert C# Business Objects ISBN 1-59059-344-8</ref> and ''Expert One-on-One Visual Basic .NET Business Objects'' ISBN 1-59059-145-3, both written by Lhotka. Although CSLA and CSLA .NET were originally targeted toward [[Microsoft]] [[programming languages]], most of the framework can be applied to most object oriented languages.
Current information about CSLA .NET is available through Lhotka's self-published ''Using CSLA 4'' ebook series<ref>Using CSLA 4 (http://store.lhotka.net/Default.aspx?tabid=1560&ProductID=22)</ref>.
==Features of CSLA==
===Smart data===
A business object encapsulates all the data and behavior (
===
The CSLA .NET framework provides a rules engine that supports validation rules, business rules, and authorization rules. These rules are attached to object instances or properties, and are automatically invoked by CSLA .NET when necessary. Validation rules may be implemented using the CSLA .NET rule engine, or through the use of the [[DataAnnotations]] feature of [[Microsoft .NET]].
===Object persistence===
Data creation, retrieval, updates, and deletes ([[CRUD (acronym)|CRUD]]) are performed by clearly defined methods of the business object associated with the data testing. Data access logic is clearly separated from business logic, typically using a [[repository pattern]] or other mainstream [[object-oriented programming]] techniques.
===
CSLA
===''n''-Level undo===
|