180 likes | 317 Vues
Explore the ECO (Enterprise Core Objects) framework designed for model-driven development. ECO integrates object persistence and offers a robust model for application development, enhancing productivity by simplifying software coding. With its advanced features like generic O/R mapping, session state management, and comprehensive transaction handling, developers can quickly build scalable applications. As Bill Gates noted, visual modeling tools like ECO could reduce coding efforts by five times in the next decade. Dive into the benefits, tools, and deployment strategies through this insightful guide.
E N D
Accelerating Development with ECO Tim Jarvis tim.jarvis@borland.com
ECO – What exactly is it ? • The Acronym • Enterprise Core Objects • A framework that provides Model Driven Development. • An Object Persistent Framework • Although not from the same Codebase, does inherit ideas and principles from BOLD • Slightly daunting at first, but worth the learning curve.
Bill’s Quote Visual modeling tools that will reduce software coding “by a factor of five” over the next ten years. Bill Gates, Gartner Symposium, March 2004.
ECO Model Powered Application Development • Rapid Model Driven Development • Object and Data Modeling in one process • It’s an OPF but…It’s not just an OPF • ECO II • ECO/ASP.NET • Session State • Pool Server • Synchronize Server • Generic O/R mapping • Task oriented hints
Application Developers Analyst Business Manager ECO .NET Deployment Layer Database Database Database .NET Platform for Business
order = true; order = true; order = true; order = true; order = true; order = true; The applications we build have a lot in common Core: Domain / Business Logic Core: Domain / Business Logic Core: Domain / Business Logic ■ Persistence ■ Relationships ■ Transactions ■ Subscriptions ■ Caching ■ Querying □ Undo / Redo □ Versioning … □ Persistence ■ Relationships ■ Transactions □ Subscriptions □ Caching □ Querying □ Undo / Redo ■ Versioning … ■ Persistence ■ Relationships ■ Transactions ■ Subscriptions ■ Caching ■ Querying □ Undo / Redo □ Versioning … Platforms, Frameworks, Components
Enterprise Core Object Framework • Instant Architecture • Object Persistence Mapping • Object Interaction, Transactions • Caching, Synchronzation, Conflict Resolutions • Versioning, Undo/Redo • Runtime OCL Querying / Evaluation... • Delphi IDE with integrated UML designer • Powered by Together technology
order = true; ECO in runtime Application Model:UML & OCL Logic: C# / Delphi order = true; ECO Framework .NET UI ECO Space Persistence Object Relations Transactions Subscriptions Caching OCL Evaluation OCL Querying Undo / Redo Versioning Persistence ECO O-R Mapping .NET Platform
order = true; order = true; ECO in design time Together Rose XMI C#Builder /Delphi IDE Designer:UML & OCL Logic: C# / Delphi ECO IDE Tools UI ECO Space Tools Database Schema Generation Database Schema Evolution Model Validation Database configuration OCL Editor Order.allInstances Persistence .NET Framework
order = true; ECO Components Application Model:UML & OCL Logic: C# / Delphi order = true; ECO Platform .NET UI ECO-Space Persistence Object Relations Transactions Subscriptions Caching OCL Evaluation OCL Querying Undo / Redo Versioning Persistence ECO O-R Mapping .NET Platform
ECO - ASP.NET II • Native .NET • Built on native ASP.NET • Binding to ECO ExpressionHandles • Templates for ECO.ASP.NET app, ECO WebServices • DBWebControl support • Use DbWebControls with ECO based ASP.NET applications • EcoDatasource exposing EcoSpace
ECO-Space ECO Space ECO Framework ECO Framework ECO PMapper Synchronizer ECO ... in ASP.NET IIS ASP.net Persistence IIS ASP.net IIS
Demo ECO
Learn More about Delphi 2005 and ECO • Borland Developer Network bdn.borland.com • BDNtv • Articles • Code • Local Borland representatives • The Web • Press Articles • Forthcoming articles, white papers and books
Compact Framework and Delphi • Preview compiler available from • http://www.borland.com/downloads/registered/download_delphi.html • You will need the Compact Framework redistributables (if you have VS 2003 you already have it) • http://www.microsoft.com/downloads/details.aspx?FamilyID=a5a02311-194b-4c00-b445-f92bec03032f&displaylang=en • Good idea to have an emulator to test, get one here • http://www.microsoft.com/downloads/details.aspx?FamilyID=A120E012-CA31-4BE9-A3BF-B9BF4F64CE72&displaylang=en
Compact Framework • Framework has emphasis on small, so many framework classes and methods missing. • InitializeComponent method will cause problems • One interim option is to use Chee Wee’s tool • http://cc.borland.com/item.aspx?id=23609
Demo Compact Framework