Description of information system design, algorithm prototyping, the generation of the prototype, application configuration, prototype machining is required

Проектирование (from the Latin projectus, which means “thrown forward”) is the process of writing needed to create the prescribed conditions even не существующего object based on the primary description of this object by its detail, the additions, calculations and optimization.

Technology Flexberry Desinger is used to develop application driven modelling (eng. model-driven development). This means that the development and refinement of the application is to develop and Refine модели приложения. In our case, as the model application are UML class diagram created using Flexberry Designer.

With Flexberry Desinger you can create working applications with design and без programming. You can create Windows application and Web application.

The minimum necessary tools

For the design of the application using Flexberry Desinger should:

  • Presence at the workplace is installed and licenzirovanie product Flexberry Designer
  • AspNetPlugin - PlugIn for generating Web applications (installation ASP.NET Generator).
  • MS Server SQL - the database management system, which will store the data of the designed application. DBMS must be deployed in the workplace.
  • Deployment Web-sites (if you are designing a Web application).

The stages of design using Flexberry Designer

Application design can be divided into 4 blocks:

  • Моделирование приложения - create class diagram in UML notation using Flexberry Desinger, configuration a view objects, setting up application forms
  • Настройка generation приложения - linking the application with the database on which it will operate, and customize the code generation process.
  • Генерация and deployment приложения database creation and bringing it to the application model and generating the application.
  • Настройка of the prototype приложения - configure custom restrictions

The result is the prototype of the application.

Modeling the application

The creation of a model application with Flexberry Desinger by describing the class diagram in UML notation. On the basis of the class diagram are subsequently generated by the application classes. Creating and customizing a view. Configure application forms.

1.Check class diagrams.

  • Check class relationships guidelines for drawing class diagram
  • There must be relations of the type Агрегация (can only be Ассоциация and Композиция)
  • Should not be relations with a multiplicity of “1 to 1”
  • There must be links with the plurality “* to *”
  • Check class names - class names не должны contain spaces
  • Signing of relationships between classes
  • All communications must be signed by the “1”
  • Signatures should not contain spaces
  • Checking the types of the class attributes (more about map types and class attributes
  • Ensure that you use Nullable counterparts of the appropriate type (DateTime, int, bool, decimal…)
  • Filling in default values (for details about default values.

Note: failure to comply With the aforesaid requirements, the possible errors in the generation of a prototype. Before continuing, ensure that the requirements are met.

2.Create a chart with shapes and using quick prototypization 3.Setup audit

  • Enable or disable auditing
  • Configuration data storage audit
  • Configuring auditing for a class, his own fields, and datalow 4.Customizing views
  • Create all types of views (read more about the type of submission)
  • Customization of the names of the fields
  • Customize visible fields, hidden fields (more) 5.Customize application
  • Class setup «Application»
  • Setting forms list
  • Configure edit forms

Configuring generating applications

Linking applications with the database MS SQL Server and also configure the names of the created prototype and the path to the directory in which the generated application. After finishing the settings you can go directly to generating the application.

Generation and application deployment

Create a database of, reference to which was made in the previous step, and bringing it into line with the model of the designed application. Build the application and create a Visual Studio project. Deployment of the application.

  • Creating a database (read more about create a database](fd_matching-db.html) and for Web)
  • Build the application (Win, Web).
  • Deploying the application

Setup of the prototype application

After you create the application you need to configure it. The first step in customizing the Windows created prototype is to configure filters (read more about the filters and configuration).

To further customize the application by completion of the project in Visual Studio, ie, with the use of programming. This will be discussed in another article.

A typical scenario refinement application model

After the prototype application was created from scratch, it begins the main work by bringing it to the desired state. In the process of revision it is often necessary to Refine the model (for example, to add a new entity to store any additional data). Technology Flexberry allows to Refine the model of the prototype without losing already made to it at the stage of programming changes.

  1. Desktop customization
  2. Add new classes to the model
    • Add new classes to the diagram
    • Re-generate the objects
    • Re-generate forms
  3. Changes to existing classes: add fields to existing classes, renaming classes, adding new relationships
  4. Change the view of list form
    • To make changes to the L-view
    • Re-generate the objects
    • Re-generate forms
  5. Change the view edit form
    • To make changes to E-view
    • Re-generate the objects
    • Re-generate forms
  6. Changes in the powers of (read more about engine powers),
  7. Changes to filters
    • To make changes to T view
    • Re-generate the objects
  8. To add a new application
    • To add new classes of» «Application (more)
    • Customize your desktop