Wrote a flex Web process designer Prototype System

Source: Internet
Author: User

It took three weeks to write a flex-based Web process designer prototype system to the company. Since it is a prototype system, there must be a lot of nuances that are not perfect, but as part of future product components, its pre-Research and architecture components are still very good.

Flex itself provides good graphical support, but to achieve the separation of model and view, command processing and other basic things, this cannot be compared with eclipse GEF.

First, we had to simulate GEF and provide a model-editpart MVC Architecture and command Framework framework at the underlying layer. Once these two basic frameworks are built, the response and processing between "model", "View", and "action" can be well solved, as well as graphic display and rendering.

We have time to change the course. Let's share with you the ideas and implementation of this architecture. Let's show it first:

Drag-and-drop operations are not complex. The key is how to resolve the ing and response between the model and view. In addition, the activity icons and types in the pallete must be easily scalable.

All models must implement the toxml and fromxml interfaces, so that the ing between objects and XML can be easily realized. Of course, the model itself also needs to introduce some listener mechanisms so that views and other editing components can respond to changes after the model is changed.

Attribute panel was originally designed as "dynamic configuration-based loading". I did not expect that flex itself was not ideal for the dynamic loading class, resulting in poor implementation of this module.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.