VBMcgi Golden Rule

Main menu

 

For small Internet system development projects, it is quite usual that the same person handles the whole development process. But for bigger projects, the usual practice is to have 2 categories of development work:

  • webmaster - Responsible for the actual implementation of the interactivity. Knows about programming in languages like C++, ASP, PHP, JSP, Perl, etc. Also knows database software like Mysql, Postgre, SQLserver, Oracle, DB2, etc. Sometimes Java applet (developer level) is also known.
  • webdesign - Responsible for the visual design of the system. Knows about html, JavaScript and Java applet (user level), and uses html design software such as Framework, Front page, etc., or office software exporting to html.

The profile of these 2 categories is quite different. The webmaster should give the webdesign professional simple instructions of how the development should be so that the interactivity and customization is done. VBMcgi library provides the adequate development environment according to this requirement, by stating the golden rule below.

VBMcgi Golden Rule
To isolate the work of webmaster and webdesign

To implement this, VBMcgi has two features:

The vbmcgi object admits the registration of pairs of strings that will be registered with the method addBySource, for the string change feature. Still, global functions can be registered with the method addFunction and addFunctionObj, so that functions can be called inside html code. The method out receives an external html file as a parameter, find-and-replace the registered strings and functions, sending the result to the standard output (that is, the browser).

With VBMcgi you can develop web systems with 3-tier architecture, as shown in the figure below.
Presentation tier
(tier for webdesigner)
(HTML, JavaScript)


[ The VBMcgi tier isolates business rules tier of presentation tier]

Presentation tier in C++
(tier for webmaster)

(any operating system)


Database tier
(any database, any operating system)