180 likes | 401 Views
CSLA: What and Why. Presentation by: Andrew Novick. Agenda. What is CSLA A little history: Rocky What are it’s advantages as a framework Code generation for CSLA. CSLA. C omponent S calable L ogical A rchitecture. Rocky Lhotka: The COM Era Books. Visual Basic 5 Business Objects
E N D
CSLA: What and Why Presentation by: Andrew Novick
Agenda • What is CSLA • A little history: Rocky • What are it’s advantages as a framework • Code generation for CSLA
CSLA • Component • Scalable • Logical • Architecture
Rocky Lhotka: The COM Era Books • Visual Basic 5 Business Objects • Visual Basic 6 Distributed Objects
Rocky Lhotka: .Net 1.1 Books • Visual Basic.Net Business Objects • Expert C# Business Objects
Rocky Lhotka: .Net 2.0 Books • Expert C# 2005 Business Objects • Expert VB 2005 Business Objects
Logical Tiers Presentation UI Business Logic Data Access Data Storage & Mgmt. From Expert VB 2005 Business Objects Ch 1
Physical Tiers • 1 Tier – Desktop application • 2 Tier – Fat Client or Web/DB • 3 Tier – Client, App Server, DB • 4 Tier – Presentation, UI, App Server, DB
What is CSLA Presentation UI Business Logic Data Access Data Storage & Mgmt. From Expert VB 2005 Business Objects Ch 1
CSLA Is • A framework for business objects • Objects that move between layers • Objects that contain • Business Logic • Data Access
CSLA Separates the Logical Architecture from the Physical Architecture
DataPortal/Mobile Objects • The dataportal decides, how to create an object based on a configuration setting • App Server usually runs in IIS • Uses Binary Serialization and Remoting for efficiency • Can use Web Services/WCF in the future.
Advantages Simple UI Code Generatability Scalability - Options Security – Options
Extra Quality • Rule Management • Bindability • Supports IDataErrorInfo • Strongly Typed Collections of Objects • Works well with generation
Code Generators CodeSmith ComExpress Bespoke Generators
Resources • http://www.Lhotka.Net • All the downloads • Articles • Change List • Forums: http://forums.lhotka.net • http://www.onelittlevictory.com - Reference • Visual Studio Live Boston Oct 24-27 2006 • He’s doing a full day workshop
Thank You • Slides available on • http://www.NovickSoftware.com/Presentations • Contact me at: anovick@novicksoftware.com (978) 440-8126