Post on 22-Feb-2016
description
1
OpenEdge Architect
18.3.2010 Scandi PUG
Jarmo NieminenSenior Technical Account Manager
Nordicsjarmo.nieminen@progress.com
© 2010 Progress Software Corporation. All rights reserved.
What is OpenEdge Architect?
2
© 2010 Progress Software Corporation. All rights reserved.
Workspaces and Projects
Projects
Workspace
All objects are contained in a workspace Resources are accessible only in the context of a
project
Resources (Programs, Files, Documentation, …)
© 2010 Progress Software Corporation. All rights reserved.
Workspaces in OpenEdge Architect
What is a Workspace?
• A physical directory containing projects, folders, files and state data
• Multiple projects of different kind can co-exist in the same workspace e.g. OpenEdge, Web, Sonic etc…
Why have multiple
workspaces?
• Different applications• Different releases• Different environments:
development, testing, deployment
metadata
Workspace Root
Project
FolderFiles
Files
© 2010 Progress Software Corporation. All rights reserved.
Projects in OpenEdge Architect
What is a Project?
• collection of folders and files and some meta data
What is a Project Type?
• enables different functionalities i.e. OpenEdge, Sonic etc…
© 2010 Progress Software Corporation. All rights reserved.
Projects in OpenEdge Architect
Why use Projects?
• Modularity• builds, version management,
sharing
How to structure projects?
• By Application modules e.g. Order Entry
• By application layers e.g. server side, client side, shared code etc…
• By different client types e.g. Web, GUI
• By technology e.g. ABL, .NET
© 2010 Progress Software Corporation. All rights reserved.
Benefits of OpenEdge Architect ABL Editor
Code Navigation Support
Appearance and Organization of Code
Coding assistance in the Editor
© 2010 Progress Software Corporation. All rights reserved.
Navigation in ABL Editor
Resources View primary tool• Double click to open source files• Use Working sets to filter
Arrows to navigate to resources• Forward and Back buttons • Last edit location
Open Resource dialog (Ctrl+Shift+R)
Outline View• Provides overview of your code
- Includes, Variables, Widgets, Procedures, Functions, Triggers, Temp Tables, Buffers and ProDataSets
• Synchronized with Editor
Follow includes and Run statement
© 2010 Progress Software Corporation. All rights reserved.
AdditionsChangesDeletions
Task marker
Standard Colors and Fonts
ABL syntax coloring
Code Folding
Quick Diff
Tasks
Bookmarks
Local History
Bookmark
Appearance & Organization in ABL Editor
© 2010 Progress Software Corporation. All rights reserved.
Keyword Help
Select keyword and press Shft+F2
© 2010 Progress Software Corporation. All rights reserved.
OpenEdge Architect support for Eclipse versions
OpenEdge Architect Release
Shipped Eclipse version
Additional certified Eclipse version(s)
10.1A 3 N.A10.1B 3.2 N.A10.1C 3.2.2 N.A10.1C01 3.2.2 3.310.1C02+ 3.2.2 3.3, 3.410.2A 3.4 N.A10.2B 3.4.2 3.5
11
© 2010 Progress Software Corporation. All rights reserved.
How to improve the performance of your OpenEdge Architect 10.2A environment?
Preference: Refresh workspace automatically• Turn this off if the code
is stored on a network location
12
Code Location
© 2010 Progress Software Corporation. All rights reserved.
How to improve the performance of your OpenEdge Architect 10.2A environment?
Close unused projects to conserve resources
13
OpenEdge Projects
© 2010 Progress Software Corporation. All rights reserved.
How to improve the performance of your OpenEdge Architect 10.2A environment?
Tune Editor preferences:• Expand and case
keywords
14
ABL Editor preferences
© 2010 Progress Software Corporation. All rights reserved.
How to improve productivity in OpenEdge Architect 10.2A environment?
ABL Code Navigation:
• Open Resource – CTRL+SHIFT+R• Quick Outline – CTRL+O• Quick Access – CTRL+3• Open Editor List – CTRL+E• Navigate quickly to IP’s or UDF’s in your code: CTRL+SHIFT+UP or CTRL+SHIFT+DOWN• List of shortcuts - CTRL+SHIFT+L
Use working sets
15
© 2010 Progress Software Corporation. All rights reserved.
Got different questions?
OpenEdge Architect forum on Progress Communities: http://communities.progress.com/pcom/community/psdn/openedge/architect
16
© 2010 Progress Software Corporation. All rights reserved.
Demo
Create new workspace and projects for OE Architect Import existing .p, .w, .i files for Architect Compile and run Setup database connection Use launch configurations Share projects between developers Version control / team developing with OpenEdge
Architect (subclipse) Sonic ESB - annotations
17
© 2010 Progress Software Corporation. All rights reserved.
How to create a new workspace from scratch?
Xcopy or better still, zip & unzip Set up a single workspace exactly the way you want it
and then zip up the directory and extract it to another machine. Note that this is only useful for initially creating a workspace!!
The same approach could be used for the pdt plugin stuff. You can actually distribute the whole Eclipse directory, complete with extra plugins including: SubClipse, M2Eclipse, EdEmma, Mylyn, ...
18
© 2010 Progress Software Corporation. All rights reserved.
How to share project?
Export• Database connection(s): File->Export->OpenEdge->Database Connections• Configuration(s): File->Export->Run/Debug->Launch Configurations• Project folder: File->Export->General->File System• Project settings: Project->Properties->OpenEdge->Custom->Share Settings
Import• Create a new Project for the workspace: File->Import->General->Existing Projects into Workspace (or SVN)• Database connection(s): File->Import->OpenEdge->Database Connections• Configuration(s): File->Import->Run/Debug->Launch Configurations• Project settings: Project->Properties->OpenEdge->Custom->Import Settings
19
© 2010 Progress Software Corporation. All rights reserved.
OpenEdge Architect and version 9….
20
- Develop and Test with v10.2A.
- Compile and Test AGAIN with v9.1C
- To have database information
in OEA(SQL view) you can use the JDBC-BRIDGE on top a Merant v3.6 ODBC System dsn Datasource.
- Instead of the normal jdbc driver if you have a version equal db.
© 2010 Progress Software Corporation. All rights reserved.
OpenEdge Architect and version 9….cont…
21
- The check syntax goes through the 4GL Database Engine
- And you can connect via tcp to a major release down.
- You need the ODBC stuff only for the db-navigator and the db-outline views in OEA.
- You can compile with native 9.1C and use OEA for developing
- The fields aren’t shown in the database structure(no drag&drop) view but they are shown in the db details view(db navigator prerspective).
© 2010 Progress Software Corporation. All rights reserved.
Questions?
© 2010 Progress Software Corporation. All rights reserved.
Thank you for your time!
© 2010 Progress Software Corporation. All rights reserved.