4 Camila Iniciando Com o OpenEdge Architect
Short Description
Descripción: Iniciando programação com OpenEdge...
Description
Iniciando com o OpenEdge® Architect Camila Valentin
Sr. Instructor, Consultant Global Field Services
Iniciando com o OpenEdge Architect Objetivos da sessão…
Princípios • • • •
Começar com OpenEdge Architect Editando código Acesso ao Banco de Dados e modificação Debugando
DEV-2: Getting Started with OpenEdge Architect, Part I
2
© 2006 Progress Software Corporation
Agenda Iniciando com o OpenEdge Architect
Por que o OpenEdge Architect? Organizando seu ambiente Trabalhando com o código Gerenciando o DB schema Desenhando sua Interface
DEV-2: Getting Started with OpenEdge Architect, Part I
3
© 2006 Progress Software Corporation
Por que usar Architect? É muito mais fácil para trabalhar…
Wizard-based configuration Overview ruler Role based perspectives Enhanced Navigation Drag and drop of schema into ABL code Built on Industry Standards View and change editor and UI Customized Perspectives Integrate with 3rd party tools Enhanced Help Generate ProDataSet from model Extendable Search multiple code bases Collapsible code blocks Built in change history Editor auto-completion DEV-2: Getting Started with OpenEdge Architect, Part I
4
© 2006 Progress Software Corporation
OpenEdge Architect
ABL Editor
Tools for Business Logic
Meta Catalog
DB Navigator
Debugger
Future: New Plug-ins
Eclipse (foundation platform)
OpenEdge Development Server
OpenEdge Studio
Application Server WebSpeed Transaction Server Client Networking
AppBuilder Pro*Tools, ProxyGen WebSpeed Workshop
OpenEdge Database
Data Administration
OpenEdge Runtime
DEV-2: Getting Started with OpenEdge Architect, Part I
5
© 2006 Progress Software Corporation
Integração com ferramentas de 3rd
Centenas de plug-ins disponíveis Exemplos de modelagem, SCM, Linguagens, …
DEV-2: Getting Started with OpenEdge Architect, Part I
6
© 2006 Progress Software Corporation
Welcome
DEV-2: Getting Started with OpenEdge Architect, Part I
7
© 2006 Progress Software Corporation
Agenda Iniciando com o OpenEdge Architect
Por que usar o OpenEdge Architect? Organizando seu ambiente Trabalhando com códigos Gerenciando DB schema Desenhando sua Interface
DEV-2: Getting Started with OpenEdge Architect, Part I
8
© 2006 Progress Software Corporation
Workspaces and Projects Workspace Project 1 Resources (Programs, Files, Documentation, …) Project 2 Project 3
Forma de ORGANIZAR seu ambiente Opções para configurar seu ambiente • I.e. ProPath, Startup options, DB connections DEV-2: Getting Started with OpenEdge Architect, Part I
9
© 2006 Progress Software Corporation
OpenEdge Editor Perspective Perspective
Editor
Resources view
Outline view
Databases view
Console view
DEV-2: Getting Started with OpenEdge Architect, Part I
Problems view
Tasks view 10 © 2006 Progress Software Corporation
OpenEdge Project settings
DEV-2: Getting Started with OpenEdge Architect, Part I
11 © 2006 Progress Software Corporation
Agenda Iniciando com o OpenEdge Architect
Por que usar o OpenEdge Architect? Organizando seu ambiente Trabalhando com códigos Gerenciando DB schema Desenhando a UI
DEV-2: Getting Started with OpenEdge Architect, Part I
12 © 2006 Progress Software Corporation
Navegando no Código Fonte
Includes Functions Procedures
Visão do projeto • • • •
Overview do seu código Expansão de objetos Sincronizado com Editor Navegar em pontos diferentes do seu código E muito mais…
Variables
Triggers
TempTables ProDataSets
DEV-2: Getting Started with OpenEdge Architect, Part I
13 © 2006 Progress Software Corporation
Navegando no Código Fonte Setas para navegar • Recursos recentemente utilizados • Última edição realizada • Botões que navegam… – Anterior, Próximo, Último, etc.
DEV-2: Getting Started with OpenEdge Architect, Part I
14 © 2006 Progress Software Corporation
Texto Flutuante – Comandos ABL Códigos ABL Cursor sobre objetos ‘DEFINE VARIABLE’ (2 words 1 statement)
DEV-2: Getting Started with OpenEdge Architect, Part I
Informações sobre DEFINE VARIABLE são mostradas
15 © 2006 Progress Software Corporation
Auto Completar - Database schema Códigos ABL
Lista dos objetos disponíveis no banco de dados.
DEV-2: Getting Started with OpenEdge Architect, Part I
Informações sobre o campo selecionado
16 © 2006 Progress Software Corporation
Texto Flutuante- Includes Códigos ABL
Mostra o conteúdo do Include Duplo clique para abrir o include
DEV-2: Getting Started with OpenEdge Architect, Part I
17 © 2006 Progress Software Corporation
Captura de Erros Círculo vermelho com “x” branco significa erro Caixa vermelha indica o números de erros e o retângulo vermelho o local do erro Navegar pelos erros e ir direto à linha
DEV-2: Getting Started with OpenEdge Architect, Part I
18 © 2006 Progress Software Corporation
Debugger Suporta dois Debuggers similares
OpenEdge suporta ambos • OpenEdge Architect Debugger • OpenEdge Stand-alone Debugger
Novo Architect Debugger implementado como um plug-in
DEV-2: Getting Started with OpenEdge Architect, Part I
19 © 2006 Progress Software Corporation
Novas Características Debugar o Código Fonte • Navegação em programas e Includes – .p, .w, .cls, .i
Algumas “dialogs” estão disponíveis • Aumento de Flexibilidade (i.e. movable views)
DEV-2: Getting Started with OpenEdge Architect, Part I
20 © 2006 Progress Software Corporation
Debugging Perspective Navigate using Stack view
OpenEdge Debug Perspective
Breakpoints
Ease of use with 8 views that can be kept open and arranged
Using Source, not listing files DEV-2: Getting Started with OpenEdge Architect, Part I
21 © 2006 Progress Software Corporation
OpenEdge Editor
DEV-2: Getting Started with OpenEdge Architect, Part I
22 © 2006 Progress Software Corporation
Agenda Iniciando com o OpenEdge Architect
Por que OpenEdge Architect? Organizando seu ambiente Editando o código Gerenciando o DB schema Desenhando a sua Interface
DEV-2: Getting Started with OpenEdge Architect, Part I
23 © 2006 Progress Software Corporation
DB Navigator Perspective
Connection Info
DB Structure
DB Details Connections
DEV-2: Getting Started with OpenEdge Architect, Part I
24 © 2006 Progress Software Corporation
DB Navigator Benefícios
Integrado ao ambiente de Desenvolvimento Dag-drop para elementos de Banco de Dados no código / visualização gráfica Não Modal Intuitivo, hierarquia do schema Permite navegar nas bases de dados Contém suporte avançado à SQL
DEV-2: Getting Started with OpenEdge Architect, Part I
25 © 2006 Progress Software Corporation
Database Meta Schema Database meta schema • Mostra o schema dos bancos conectados
O DB Navigator • Navega no schema • Modifica o schema
DEV-2: Getting Started with OpenEdge Architect, Part I
26 © 2006 Progress Software Corporation
DB Navigator
DEV-2: Getting Started with OpenEdge Architect, Part I
27 © 2006 Progress Software Corporation
Agenda Iniciando com o OpenEdge Architect
Por quê OpenEdge Architect? Organizando seu ambiente Editando o código Gerenciar o DB schema Desenhando sua Interface
DEV-2: Getting Started with OpenEdge Architect, Part I
28 © 2006 Progress Software Corporation
Integração com o AppBuilder O Architect contém algumas funcionalidades adicionais quando se usa o AppBuilder • Por exemplo – Utiliza histórico para voltar versões anteriores – Sincronizado com o OpenEdge Editor – Fácil mudança entre arquivos – Fácil mudança entre seções de códigos
DEV-2: Getting Started with OpenEdge Architect, Part I
29 © 2006 Progress Software Corporation
AppBuilder Perspective AppBuilder Designer ABL Windows shown in Designer
OpenEdge Editor Capabilities available to AppBuilder users
DEV-2: Getting Started with OpenEdge Architect, Part I
Visual and Code changes are synchronized 30 © 2006 Progress Software Corporation
AppBuilder
DEV-2: Getting Started with OpenEdge Architect, Part I
31 © 2006 Progress Software Corporation
Conclusão OpenEdge Architect fornece ferramentas para os desenvolvedores de aplicações aumentar a produtividade
DEV-2: Getting Started with OpenEdge Architect, Part I
32 © 2006 Progress Software Corporation
Sessão Relevante do Exchange Adotando OpenEdge Architect
DEV-2: Getting Started with OpenEdge Architect, Part I
33 © 2006 Progress Software Corporation
Education / Documentation References Curso
• What’s new in 10.1A : OpenEdge Architect – Carga horária 16 horas Classroom Training In company
DEV-2: Getting Started with OpenEdge Architect, Part I
34 © 2006 Progress Software Corporation
Dúvidas?
DEV-2: Getting Started with OpenEdge Architect, Part I
35 © 2006 Progress Software Corporation
Pela atenção, Obrigado!
DEV-2: Getting Started with OpenEdge Architect, Part I
36 © 2006 Progress Software Corporation
DEV-2: Getting Started with OpenEdge Architect, Part I
37 © 2006 Progress Software Corporation
View more...
Comments