Catch Me If You Can

Download Report

Transcript Catch Me If You Can

First Experiences With
OpenEdge GUI for .NET
Peter van Dam
OpenEdge GUI for .NET Architecture
Single Process for OpenEdge Runtime and .NET Common
Language Runtime (CLR)
.NET GUI
ABL Logic
frm = NEW Form( ).
frm = NEW Form( ).
frm:Closing:Subscribe(
frm:Closing:Subscribe(
EventHdlr1 ).
EventHdlr1 ).
WAIT-FOR Application.Run( frm ).
WAIT-FOR Application.Run( frm ).
EventHdlr1( ) …
EventHdlr1( ) …
1
7
OpenEdge UI
Bridge
(Presenter)
OpenEdge Runtime
2
4
2
3
Bridge
6
5
.NET UI
(View)
.NET CLR
Demo: Creating an Outlook Style Main Menu
3
Demo: Creating an Outlook Style Main Menu
4
Concepts shown








5
Using the Visual Designer
MDI Form
Classes
Constructor
Inheritance
.NET & Ultra Controls
Toolbox
User Controls
.NET Data Binding Model
 Progress.Data.BindingSource
• Provides data for .NET UI Controls
– How: Provides required APIs to .NET Controls (IList)
– Why: OpenEdge data provided as .NET needs
– What: Any ABL Query, Buffer or ProDataSet™
ProDataSet
Customer
Query
Lift Line Skiing
Order
Urpon Frisbee
1 53 01/01/93
Hoops Croquet
2 81 01/04/93
3 66 01/04/93
OpenEdge Runtime
6
2 Progress.Data.
1
BindingSource
3
.NET CLR
Demo: Creating a Customer Form
7
Demo: Creating a Customer Form
8
Concepts shown





9
Form
UltraGrid
Datasets
XML Schema
Data Binding
Demo: Starting the Form in the Menu
10
Demo: Starting the Form in the Menu
11
Concepts shown




12
Subscribing to .NET events
Interfaces
Properties
CAST
Demo: Adding the Order Tab
13
Demo: Adding the Order Tab
14
Concepts shown


Cascading ProBindingSources
Outlook GroupByDate
In addition we saw how easy it is to create
Tabbed forms. But it gets even better.
15
Demo: Spicing up the Main Menu
16
Demo: Spicing up the Main Menu
17
Concepts shown



18
You can now quite easily add powerful UI
features that are not possible in Progress GUI
OpenEdge Ultra Controls for .NET support
the Microsoft® Office Fluent® User Interface
Infragistics Application Styling®
Conclusions






19
There is an awful lot to learn
Invest in your skills
Adopt industry standards
Reuse existing code
Increase the value of your application
Increase your own value
Final tips

Upgrade your skills
Migrate your application
Be creative
Increase your value

But most of all:
Have fun!



20
?
Questions
21
www.futureproofsoftware.com
[email protected]
22
Thank You
23