OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint...

32
OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect

Transcript of OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint...

Page 1: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

OpenEdge Architect

John KendallSolvepoint Corporation

OE101b Architect

Page 2: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

OpenEdge Editor Perspective

Page 3: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Adding Procedures

Right-click project-> New->

New types available in OpenEdge Editor

perspective

Page 4: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Editing Code - AutoComplete

Auto-complete of: - Db Fields - Variables - ABL Keywords - Procs & Functions

Ctrl-Space for Auto-Complete

Page 5: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Editing Code - Macros

Macros for easy entry of commonText.

User-definable.

Page 6: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Editing Code – Macro Usage

Macro Example:Type:DVIN<space>

Page 7: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Editing Code – Compile Errors

Procedures are auto-compiled

Compile errors and warnings show in the

Problems pane and in the source code

Page 8: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Editing Code

I fixed the variable type, no errors now

Page 9: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Running Code

Run options

Page 10: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Running Code

OR run from the context menu

Page 11: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Running Code

Normal Progress Client UI displays

Page 12: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

AppBuilder Perspective

In AppBuilder perspective, Click AppBuilder button to

start toolsets

Page 13: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

AppBuilder Perspective

Toolsets show to provide normal AppBuilder functionality

Page 14: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Recovering

Something wrong?Try restarting OpenEdge Runtime.(Restarts the Progress client that serves OpenEdge Architect)

Page 15: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Define DB Connections

Define DB Connections• Window• -> Preferences• -> OpenEdge Architect• -> Database Connections

Click “New”

Page 16: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Add DB Connection

Connect to DB server(single-user mode not recommended)Click next to..

Page 17: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Add SQL Connection

..Define SQL connection (This is used by the DB Navigator perspective And views only)Click next…

Page 18: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Add SQL Connection

…If you don’t have any _users defined, connect as the currently logged inUsername (Windows) toAccess DB Admin functions while in the DB Navigator perspective.…

Page 19: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Done defining DB Connection

…Finished…

Page 20: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Defining Project DB Connections

Setup your projectto use your newDB Connection/s

Right-click on project-> properties ->OpenEdge -> Database Connections

Check this box

Page 21: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Debugging: Setting Breakpoints

This button starts the debugger

Breakpoint active: continue, step-over,

etc.

Current runtime context, breakpoints, watch expressions, etc.

Page 22: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

DB Navigator Perspective

Right-click and select “Open Connection to

connect”

Info for current db

DB Navigator uses definedSQL Connectionto access DBs

Page 23: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

DB Navigator Perspective

Right-click to get Database Options

Page 24: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

DB Navigator Perspective

Edit Table Data

Page 25: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

DB Navigator: SQL Editor

DB autocomplete available in SQL

Editor

Page 26: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

DB Navigator: SQL Editor

SQL Results view

Use PUB or define synonym

Page 27: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Debug Perspective

To use Debugging:Step 1: Run bin\proDebugEnable.bat -enable-all

Page 28: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Debug Perspective

To use Debugging:Step 2: Save r-code(project prefs)

Step 3: Compile(Project->

OpenEdge->Compile)

Page 29: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Debugging: Setting Breakpoints

Double-click edge to set/unset breakpoint

This button starts the debugger

Step 4: Set breakpoints

Step 5: DEBUG

Page 30: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Debugging: Setting Breakpoints

This button starts the debugger

Breakpoint active: continue, step-over,

etc.

Current runtime context, breakpoints, watch expressions, etc.

Page 31: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Q & A

Q & A

Page 32: OE101b Architect OpenEdge Architect - DVPUG · OpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

Copyright © 2006,2007 Solvepoint Corporation

Contact Info

Solvepoint Corporation882 South Matlack St., Suite 110West Chester, PA 193821.800.388.1850 1.484.356.9300

www.solvepoint.comwww.eagleiq.com