Click here to load reader

OE101b Architect OpenEdge Architect - · PDF fileOpenEdge Architect John Kendall Solvepoint Corporation OE101b Architect. ... OpenEdge Runtime. (Restarts the Progress client that serves

  • View
    221

  • Download
    0

Embed Size (px)

Text of OE101b Architect OpenEdge Architect - · PDF fileOpenEdge Architect John Kendall Solvepoint...

  • OpenEdge Architect

    John KendallSolvepoint Corporation

    OE101b Architect

  • Copyright 2006,2007 Solvepoint Corporation

    OpenEdge Editor Perspective

  • Copyright 2006,2007 Solvepoint Corporation

    Adding Procedures

    Right-click project-> New->

    New types available in OpenEdge Editor

    perspective

  • Copyright 2006,2007 Solvepoint Corporation

    Editing Code - AutoComplete

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

    Ctrl-Space for Auto-Complete

  • Copyright 2006,2007 Solvepoint Corporation

    Editing Code - Macros

    Macros for easy entry of commonText.

    User-definable.

  • Copyright 2006,2007 Solvepoint Corporation

    Editing Code Macro Usage

    Macro Example:Type:DVIN

  • 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

  • Copyright 2006,2007 Solvepoint Corporation

    Editing Code

    I fixed the variable type, no errors now

  • Copyright 2006,2007 Solvepoint Corporation

    Running Code

    Run options

  • Copyright 2006,2007 Solvepoint Corporation

    Running Code

    OR run from the context menu

  • Copyright 2006,2007 Solvepoint Corporation

    Running Code

    Normal Progress Client UI displays

  • Copyright 2006,2007 Solvepoint Corporation

    AppBuilder Perspective

    In AppBuilder perspective, Click AppBuilder button to

    start toolsets

  • Copyright 2006,2007 Solvepoint Corporation

    AppBuilder Perspective

    Toolsets show to provide normal AppBuilder functionality

  • Copyright 2006,2007 Solvepoint Corporation

    Recovering

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

  • Copyright 2006,2007 Solvepoint Corporation

    Define DB Connections

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

    Click New

  • Copyright 2006,2007 Solvepoint Corporation

    Add DB Connection

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

  • Copyright 2006,2007 Solvepoint Corporation

    Add SQL Connection

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

  • Copyright 2006,2007 Solvepoint Corporation

    Add SQL Connection

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

  • Copyright 2006,2007 Solvepoint Corporation

    Done defining DB Connection

    Finished

  • 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

  • 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.

  • 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

  • Copyright 2006,2007 Solvepoint Corporation

    DB Navigator Perspective

    Right-click to get Database Options

  • Copyright 2006,2007 Solvepoint Corporation

    DB Navigator Perspective

    Edit Table Data

  • Copyright 2006,2007 Solvepoint Corporation

    DB Navigator: SQL Editor

    DB autocomplete available in SQL

    Editor

  • Copyright 2006,2007 Solvepoint Corporation

    DB Navigator: SQL Editor

    SQL Results view

    Use PUB or define synonym

  • Copyright 2006,2007 Solvepoint Corporation

    Debug Perspective

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

  • Copyright 2006,2007 Solvepoint Corporation

    Debug Perspective

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

    Step 3: Compile(Project->

    OpenEdge->Compile)

  • 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

  • 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.

  • Copyright 2006,2007 Solvepoint Corporation

    Q & A

    Q & A

  • 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

    OEA_editor.pdfOEA_AB.pdfOEA_db.pdfOEA_debug.pdfOEA_final.pdf