Upload
vanngoc
View
218
Download
1
Embed Size (px)
Citation preview
3 | © InterSystems Corporation. All rights reserved. |
Atelier: What is it?
Atelier is a modern IDE for applications developers
Implemented as a plug-in to Eclipse
• Delivery
― Standalone: https://download.intersystems.com/download/atelier.csp
― as a plugin (e.g. Atelier 1.1 beta)http://www.eclipse.org/downloads/eclipse-packages/?osType=win32&release=undefined
https://atelier.artifactoryonline.com/atelier/updates/beta/1.1
• Updates via the Eclipse update process
Atelier is not tied to any other InterSystems product release
cycles and does not ship or install as part of those products
4 | © InterSystems Corporation. All rights reserved. |
Why a new IDE
Atelier is supported on
• Windows
• macOS
• Linux (Red Hat, SUSE and Ubuntu [new with 1.1])
Developers can take advantage of the entire Eclipse Ecosystem
• Plug-ins/Extensions
Eclipse is already widely known and used by many software developers
• Quick to adopt
5 | © InterSystems Corporation. All rights reserved. |
Atelier 1.0
Released November 2016
Supported InterSystems’ products
• 2016.2 or later
Java 8 (64-bit)
Core functionality
Source Code Control
• Support via the Eclipse Ecosystem
― e.g. Perforce, GitHub, etc.
6 | © InterSystems Corporation. All rights reserved. |
What is New (Atelier 1.1)
Focus on moving Studio development to Atelier
• Support for xml file formats
• Eclipse Oxygen
• Terminal view
• Debugging
• Code completion
• Code navigation
• Open declaration
• Plug-ins: e.g. SQL
• …
8 | © InterSystems Corporation. All rights reserved. |
First Steps
Understanding the Atelier Environment
Work
bench
Workspace
Project
Folder
File
Workbench:
the user interface structure responsible for
the presentation and coordination of the
user interface
Atelier workspace:
a directory on your hard drive where Eclipse
stores a logical collection of projects
Project:
a logical collection of directories and files
9 | © InterSystems Corporation. All rights reserved. |
First Steps
You’ve installed Atelier, but are unsure of your next steps.
1. Add code base to source control
2. Configure your Atelier workbench and workspace
3. Add code base to your Atelier workspace from source control
4. Get familiar with modern interface
11 | © InterSystems Corporation. All rights reserved. |
Does your team already use source control?
Centralized or Distributed
If your team doesn’t use source control, research the best system for your needs.
• Git and Mercurial are popular distributed version control systems
• Subversion and Perforce are popular centralized version control systems
12 | © InterSystems Corporation. All rights reserved. |
Let’s talk Source
Atelier editors operate on Source files
Files exported from Studio are not in Source format
13 | © InterSystems Corporation. All rights reserved. |
Let’s talk Source
Atelier editors operate on Source files
Imported XML files can be translated by Atelier
14 | © InterSystems Corporation. All rights reserved. |
Let’s talk Source
Atelier editors operate on Source files
Suggest converting exported XML to Source
16 | © InterSystems Corporation. All rights reserved. |
Does your workbench need additional plugins?
Source Control plugin
Terminal plugin
Additional editors
• Web Tools Platform plugin
― XML editor
― JavaScript editor
― HTML editor
― CSS editor
Eclipse Marketplace Client plugin
17 | © InterSystems Corporation. All rights reserved. |
Configure server connections
Any number of servers and
namespaces
Create Server Connections for each web host
and port pair associated with development
18 | © InterSystems Corporation. All rights reserved. |
Organize code base into projects
Projects should not have thousands of files in them
Determine how to break your code base into logical collections• By package
• By application component
• NOT by namespace
• NOT by database
Atelier will be noticeably less reactive if your projects are too large
• Background processes that scan projects will be significantly delayed
19 | © InterSystems Corporation. All rights reserved. |
Organize code base into projects
Projects should not have thousands of files in them
21 | © InterSystems Corporation. All rights reserved. |
Creating your first projects
You can add your code base to your Atelier workspace multiple ways• Create new Atelier projects for each logical collection of files
• Add files to projects
― Import exported XML files using the import wizard converts file to Source
― Copy selected files from Server Explorer view creates Source file
• Share projects with source control system
22 | © InterSystems Corporation. All rights reserved. |
Collaborating with others
Once your projects have been added to source control, collaborating
is easy
Import Existing Projects
• Teammates simply need to add projects from source
control using the associated import wizard
Changes are managed by source control
• Each developer is responsible for keeping their
workspace up to date
24 | © InterSystems Corporation. All rights reserved. |
Workbench 101
Workbench Components
• Editors
• Views
• Perspectives
• Menus, Toolbars, & Context Menus
• Wizards
• Dialogs
45 | © InterSystems Corporation. All rights reserved. |
Further Resources
Atelier Product Page
• http://www.intersystems.com/atelier
Developer Community
• https://community.intersystems.com/group/atelier
Videos
• Atelier YouTube Playlist