Table of Contents
Abstract
This tutorial exemplifies the development of an address management application as part of a software system for a pet store. You will learn how you can use your case-tool to create or modify UML models that can be processed by pyswarm. You will also learn how pyswarm SDK is used to generate applications from the UML model. Instruction are also provided regarding set-up of pyswarm apps and implementation of clients or business logic in plain Python.
This tutorial is written for requirement engineers and software developers which at least have basic knowledge in UML and object orientation. Basic knowledge of PostgreSQL is required for the set-up of the database -- at least on how starting and stopping the PostgreSQL service, connecting to server, creating and dropping databases. For the client example provided here some Python knowledge is needed.
This tutorial should provide a step-by-step introduction for pyswarm beginners, starting with a simple UML model, enhancing it element by element, until the application is generated, set-up and used the first time. Actually pyswarm --although still in development-- provides some more features to deliver you a rather powerful application, but those will be described in other documentation resources. Though here and there you will get a small notice which hints you to these possibilities, but you can ignore them during for the purpose of this tutorial.
|
Important |
|---|---|
|
It is assumed that you already have installed and configured a working development environment for pyswarm projects as it is described in the Part II, “SDK Installation Manual”. You also need the UML CASE tool MagicDraw 11.0 Community Edition, since you will create your own UML model of an pyswarm application. In the case that you want also to run the example application you need to prepare the server on which you want to host the test application. Part III, “Application Installation Manual”. |
|