Active|dom|server| compared to play for a year of ASP
Now the boss suddenly asked me to get Lotus domino/notes. Alas, there is no way ~ ~
Here is an article about ASP and Lotus Domino/notes, you see, talk about the view
-------------------
(Turn http://go2.163.com/~notes/xuexi/ynjd0026.htm)
Sender: liuzheng.bbs@sh.netease.com (drifting bottle), letter area: Groupware
Title: ASP and Domino comparison
Letter Station: NetEase Virtual Community Shanghai Station (Fri 5 11:35:49 1999)
Transfer Station: netease2! Netease3
Comparison of Active Server Pages and Lotus Domino
ASP (Active server Pages) is a server-side programming framework that runs within IIS
A series of interrelated scripting engine parts designed to generate Web pages dynamically-content is embedded in the W
EB Page Script program is generated dynamically through ASP engine. ASP and traditional CGI, Perl and other tedious side
The Dynamic Data technology is integrated into the Web, which is greatly improved. As a dynamic Data engine,
ASPs can be compared to domino in some degree. Requires a lot of time and development resources, ASP can create
Build different types of applications, but these applications are only the most basic level. Fundamentally, it is suitable for use
To create a simple, data-driven Web page, especially based on Windows NT applications only. Phase
For that, Domino offers cross-platform application development based on "occasional programming code-by-exception"
approach, and Microsoft uses the "Everywhere programming Code-by-default" approach. Domino offers an
A variety of advanced application programming artifacts that combine good adaptive programming logic, such as child forms, forms, visual
Diagrams, agents and so on. Using a higher level of programming, Domino uses simple click Dialogs to simplify life
Order or notes formula to complete programming. More complex domino applications, you can use the scripting language, J
Ava, JavaBean, or ActiveX controls. All of the programming methods are accessible to integrated in Domino functionality
Services, such as enterprise data integration, messaging, security, workflows, schedules, content indexing, Full-text
Index, directory management, and so on. All of this allows Domino's application to be created and modified quickly. Open
The sender can focus on the processing of the application logic, not on the underlying code.
Server scripting language:
The ASP Server scripting language is the primary foundation of the IIS server. However, it requires a developer
All logic is written in a scripting language and is activated only when the page is invoked. Domino mention
For a more adaptable server-side scripting programming capabilities, as well as agent management technology. of application logic
Implementation is "occasionally programmed": You can use the interface of a dialog box to program, or you can use the Notes formula
, Java, LotusScript language compatible with basic language, etc. And, the agent can not only on different pages
Face events, and can be triggered based on scheduling, without user intervention.
Dynamic/Personalized Pages:
Through ASP technology, the application logic based on HTML page can be executed, which provides dynamic and personalized
Content. And these are just Domino's default attributes: Each design element is programmable and the user's body
by Domino Nature, Domino automatically generates pages at the same time as the user requests. Developers don't need to
Trace the identity of the user, do not need to manually write or maintain complex script programs and HTML pages to generate dynamic
, personalized content.
Database-driven Pages:
With Dynamic Data Objects (ADO), ASP scripts can access the background database in a Web page. Dom
INO provides the same way to access ODBC data sources through a cross-platform ls:do approach. In fact, through OL
E, if limited to Windows NT, developers can also access the database using ADO.
In addition, with enterprise integrated connectors (DECS) that are integrated in Domino, developers may not need to edit
Access to enterprise database resources in Domino applications. Domino can directly access DB2, ORACL
E, Sybase, text file and file system, or Eda/sql system. In addition, Domino can also integrate SAP,
E, Sybase, text file and file system, or Eda/sql system. In addition, Domino can also integrate SAP,
Transaction processing systems, MQseries, CICS, and so on.
Separating content from business logic:
Microsoft encourages developers to write application logic in the customer's own control, which is about to apply the source code and
The ASP server itself is separate. However, even if the control contains some static business logic, it needs to be based on the
Broken business logic to access and manipulate the scripts of these controls, still exists in the ASP's HTML page.
This page-based approach makes it difficult to maintain code. A change in layout, or a
A logical change to a control control that will involve a lot of files. The changed page has to be done by hand
Type to publish. (by manual modification, or by copying the file through the file system) to run the
On the server used. Domino, by contrast, uses a form-based approach that distinguishes logic from layout, while
And through the extensive use of design templates, truly make the application and design, logic separation. Forms for control of cloth
Bureau, in the form, the elements are stored behind the logic (fields, proxies, operations), which makes the cloth in the page
The bureau is separate from logic. In the template, all the design elements (fields, agents, actions) are stored.
When maintaining, you only need to update the application template. With Domino's replication mechanism, you can change your changes from
Move all the appropriate servers on the release. All upgrades will be done automatically as scheduled by the system
。
Open scripts:
ASP technology provides built-in support for VBScript and JScript. JScript is based on ECMA-2
62 Standard language: compatible with JavaScript. Domino provides an extensible, developed scripting environment.
In addition to basic-compatible lotusscript, you can use Java to write server-side programs. And
Domino's "occasional programming" development approach provides development efficiencies with a wider range of resilience: apart from
Beyond scripting, Domino provides a way to implement a complex logic that is not programmed: such as high-level
Applications, such as forms, views, fields, and so on, for application services such as data connections, reporting
The simple access method of communication, workflow, security, etc., supports the efficient logic implementation method (such as
Click on the dialog box, simple command, easy to learn notes formula language. Combined with complex scripting tools and the ability to
The open object model, which is leveraged by a variety of tools, makes domino a powerful and open programming development
Environment.
Browser alone:
In an ASP script, you can embed logic to determine the type of browser that queries the page. Using this information
, application developers can provide different versions of the page for different browsers. By default, no one is needed.
Intervention, Domino can provide HTML pages that are independent of the browser. In the same way as the ASP, D
Omino can be programmed to enhance the judgment of browser types: Obtaining client type information via CGI variables
, write application logic, and return different types of pages.
operability:
Microsoft believes that using ASP to develop Web applications is "operational". Customized pages, dynamically generated HT
ML page, which can be easily implemented using ASP technology and VBScript technology, far better than traditional Web developers
such as C, PERL, CGI and so on. Domino is far more than ASP technology in this respect: "Occasional programming" open
Hair style, high-level development components, form based rather than page based development approach, can be oriented to non-
Application development for professional developers, as well as advanced programming capabilities, and the use of templates to manage applications
, distribute applications with replication mechanisms, and so on.
The advantage of using Domino to develop Web applications
Today, Microsoft's ASP technology is primarily used to create web-based front-end connections to existing backend
The application of the system or database. But developing to work with business processes, manage workflows, or strengthen synergies
Applications, it also requires many additional systems and a large number of component integration tasks that require programming. This includes:
Applications, it also requires many additional systems and a large number of component integration tasks that require programming. This includes:
Need to define storage mechanism, core basic services need to be installed and configured, and need to be done by hand
Integration objects, customized active Server Component that need to be created, and a combination of these components
Write a lot of code. In order to give full play to the functions of ASP. Developers should have a deep understanding of a variety of Microsoft products
。
Domino, by contrast, provides an integrated platform and a high-level, visual development environment
, enabling developers to create Web applications quickly and easily. In addition, in addition to server-side programming, dynamic content
Generation, data-driven Web pages, separation of content and application logic, high-level application parts and integration
Application services, Domino also has a number of advantages for the ASP. These advantages are embodied in the development of
such as front-end office processing systems, content management, and enterprise systems such as relational database systems, ERP application and transmission
Integration of systems and other applications.
Integrated Core Services: Enterprise-class data storage, messaging, directory services, replication, security, content
Index, Full-text Search, scheduling, and so on.
IIS and ASP do not provide the underlying services that the application requires. These services must be installed in a separate form