1 / 26

Unleashing the Power of OpenEdge GUI for .NET

Unleashing the Power of OpenEdge GUI for .NET. Part 1. Peter van Dam. Agenda. Background Architecture Microsoft .NET Controls OpenEdge Ultra Controls for .NET Office 2007 Graphic Design. My Background. Extensive ABL experience No .NET programming experience

clive
Download Presentation

Unleashing the Power of OpenEdge GUI for .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. Unleashing the Power of OpenEdge GUI for .NET Part 1 Peter van Dam

  2. Agenda • Background • Architecture • Microsoft .NET Controls • OpenEdge Ultra Controls for .NET • Office 2007 • Graphic Design

  3. My Background • Extensive ABL experience • No .NET programming experience • Participated in 10.2A alpha and beta programs • Created a prototype for a customer • Currently working on a project for that customer • And learning a lot!

  4. Project Background • Application developed in ADM II • Without using AppServer • Style Guide dates from 1997 (Win95) • Tool set dates from 2001 (v9.0b) • 800 users (about 550 concurrent) • Application has grown pretty large over the years (4000 programs, 300 tables) • Reaching end of technical life time

  5. User complaints • Too many clicks • Too complex • No overview • A lot of hidden functionality • Too slow • ‘Card paradigm’ does not apply anymore

  6. The Plan • Introduce rich .NET user interface • Adopt Office 2007 user interface • Implement OERA • Implement AppServer for performance

  7. Where to Begin? Prerequisites: • OpenEdge Architect (Eclipse) • Object-Oriented Programming • Structured Error Handling • ProDataSets • OERA

  8. Visual Designer Perspective Visual Designer ABL Editor Design Canvas Sort by property/category Reset to default property Perspective Toolbox Properties view Category Control Group Properties tab Control Events tab Selected property Selected property description Bold indicates modified property WYSIWYG form designer Class Browser

  9. Object Oriented Programming A B C D E F G H

  10. Structured Error Handling Catch Me If You Can ROUTINE-LEVEL ON ERROR UNDO, THROW. CATCH e AS Progress.Lang.Error… UNDO, THROW NEW Progress.Lang.AppError(..,..)

  11. Progress DataSet HeaderData DetailData ProDataSets DEFINE TEMP-TABLE ttCust NO-UNDO FIELD CustNum AS INTEGER FIELD Name AS CHARACTER FIELD Balance as DECIMAL ... DEFINE TEMP-TABLE ttOrder NO-UNDO FIELD OrderNum AS INTEGER FIELD CustNum AS INTEGER FIELD OrderDate AS DATE ... DEFINE DATASET dsCustOrd FOR ttCust, ttOrder DATA-RELATION CustOrdRel FOR ttCust, ttOrder RELATION-FIELDS (CustNum, CustNum).

  12. OpenEdge Reference Architecture Enterprise Services Presentation BusinessComponents DataAccess DataSources

  13. OERA Implementation with Classes

  14. Implementing OERA with Classes http://www.psdn.com/library/ kbcategory.jspa?categoryID=1212 • Documentation • Sample Code • Based on 10.1B • Adjust to your own needs

  15. Standard Microsoft .NET Controls • The .NET platform comes with an extensive set of standard controls • Some are essential for any .NET application • But they are not sufficient to build a modern .NET application with an Office 2007 look-and-feel…

  16. OpenEdge Ultra Controls for .NET • These are in fact Infragistics controls • They are not free: an additional €770,- per developer is charged • There is no runtime license • Includes Office 2007 look-and-feel • Includes ‘AppStyling’ • IMHO you cannot do without

  17. Office 2007 User Interface

  18. Office 2007 User Interface Guidelines

  19. Office 2007 User Interface Guidelines

  20. You Must Register for Office 2007 Guidelines • Go to http://msdn.microsoft.com/officeui • Register for a license (free) • Download and study the Office Fluent UI Design Guidelines • Install the OpenEdge Ultra Controls for .NET after registering • Install NetAdvantage Help from the OE10.2A Doc/3party directory last.

  21. Graphic Design • Do you have the necessary skills? • Knowledge? • Creativity?

  22. Graphic Design • The customer never paid attention to graphic design • Application design was based on functionality, not user experience • We decided to add a User Experience Designer to the team • He helps turn around users, designers, developers • Yields Style Guide and awareness

  23. Example 1: Payment Data Header Detail

  24. Example 2: Family Data (1) Employee Relative Benefit

  25. ? Questions so far

  26. Let’s Go To The Fun Part!

More Related