Two implementation modes of rapid development tools

Source: Internet
Author: User

From the current domestic mainstream development platform, there are two main modes of implementation: Engine mode and generate source code mode. Engine mode is more representative of founder Feihong Platform (http://www.founderfix.com), generate source code model is more famous is the general platform (Http://www.primeton.com)

First of all, the engine mode, you may be familiar with the report tools, all the reporting tools are currently seen to belong to the engine mode. That is, you design a report template from Report Designer, publish it to the report engine, and at run time, you pass related parameters to the report engine, such as report conditions, the report engine is responsible for querying the database, processing the data, and then presenting it in a variety of ways. In this process, developers are not required to write code, this is the engine mode.

Development platform is similar, that is, the development platform to develop business systems, do not need to encode, only through the Web page for parameter customization, these parameters are stored in the system database or XML files. When the system is running, these parameters are invoked by the engine for page presentation and business processing.

Engine mode is an advanced mode, which is widely used in the writing of components.

Based on the engine model of the development platform, there is not much to see, the main reason is that this kind of flat platform itself to achieve the requirements of the technology is more difficult. Founder Feihong Platform (Http://www.founderfix.com) is a successful product of this kind of platform more representative.

The Engine model development platform itself is difficult to achieve, mainly because the development platform is different from the report tools, as a single function, as a development platform, in addition to the report engine, there is also a custom form engine, Web Component engine, process engine, business logic engine, etc. To make it easier for customers to use it to define a complex business system. Therefore, it is necessary to fully consider the implementation of a complex business system may need to develop the function of a high degree of abstraction, and the requirements of the programming algorithm is also very high.

Again, the source code generation method. This way mainly through a desktop designer to define the business module, supporting the generation of source code framework, and then the user can generate the source code to write, modify their own sources, to achieve business logic, including the generation, modify JSP pages.

So generating the source code pattern can also be considered a code generator.

The engine pattern has great advantages over generating the source code pattern:

Because does not generate the source code, therefore to the developer technical level request is relatively low, the developer even if does not understand the Java, can also facilitate the rapid development, basically understands the SQL to be possible to develop.

Since development, developers are completely based on browser access server for parameter customization, so for team development is particularly appropriate, especially remote collaborative development.

When the system is on-line, it can be maintained online, and the new modules (such as query, edit module) can be customized online, without recoding, compiling and releasing.

Relative to the development platform for generating the source code class, the biggest advantage is to facilitate the upgrade, based on the engine development platform, because the parameters are in the database, the development platform upgrade, only through the upgrade process to upgrade the data processing can be, users do not need to make any changes, that can enjoy the new version of all the features. Based on the generated source code, the implementation is: Design-> custom Business module-> build source code framework-> users to add their own code manually. For example, after generating JSP, users need to change on the basis of JSP, which makes it difficult to upgrade later, because the new development platform, the generation of JSP template is generally to change, such as the addition of many functions, users, unless the JSP file can be modified to enjoy new features.

Of course, the engine mode, but also has its shortcomings, that is, processing some engines do not provide templates for the special interface and complex business logic is not as good as generating the source code way platform convenient, because for the generation of source code, developers can randomly to the raw source of arbitrary changes to achieve complex business. Because of the engine based development platform, there is also a good extensible interface, allowing developers to programmatically implement some of the complex interface and business logic. This point, founder Feihong Platform (http://www.founderfix.com) did a good job.

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.