1 / 16

Introduction to CSLA.Net

Introduction to CSLA.Net. Every developer needs an easy button. Keith Elder Microsoft MVP Blog: http://keithelder.net/blog/ Quicken Loans – http://www.quickenloans.com. Agenda. Why CSLA.Net ? What is CSLA.Net ? Out of Order Logical and Physical Architecture Scalable Component

landen
Download Presentation

Introduction to CSLA.Net

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to CSLA.Net • Every developer needs an easy button. • Keith Elder • Microsoft MVP • Blog: http://keithelder.net/blog/ • Quicken Loans – http://www.quickenloans.com

  2. Agenda • Why CSLA.Net? • What is CSLA.Net? • Out of Order • Logical and Physical Architecture • Scalable • Component • Features as a framework • CSLA Principles • CSLA In Action • Code generation for CSLA • Validation • Binding

  3. Why csla.net

  4. Why CSLA?

  5. What is csla.net

  6. A business object framework. C Component S Scalable L Logical A Architecture

  7. Logical And Physical Architecture Three logical units that make up an application. User Interface Objects Objects Database Database Interaction

  8. Logical And Physical Architecture User Interface Object Web Deployment Single Tier (Fat Client / Mobile) Three Tiered Deployment Redeploy Application Objects Database Database Interaction App Server

  9. Scalable User Interface Objects Objects Database Interaction Database Interaction Objects Objects Database Interaction Database Interaction App Server s Database Cluster

  10. Generating the Component Component Properties • LoanAmount • State • FICO • LoanType • Etc… Security • Viewable By Banker • Viewable By Director • Employee Loan requiresspecial token in operations Database Interaction Data Portal Methods • Insert • Update • Select • Delete Behavior Driven Development Focus on Business Requirements Validation • LoanAmount Is Required • State Is Required • FICO is Required • LoanType Is Required Business Rules • FICO > 620 for LoanType • LoanType in this State • LoanAmount > 100,000 Methods and Delegates • DoesClientQualify() • LoanAmountChanged • CreditScoreChanged Loan Business Object

  11. Features of CSLA And CSLA Objects

  12. Csla principles

  13. CSLA Concepts

  14. Identifying your object types

  15. Loan Object Hierarchy Red – CSLA Type Blue – Class Green - Property Let’s Go From Picture to Code

  16. CSLA In actionDemo

More Related