COMPANY
COMMUNITY
BLOG
HELP
MY ACCOUNT
EN PT ES

About GeneXus 7.5: Web components

(15/01/2002-00:00)
After a previous introduction of the Web transactions incorporated in GeneXus 7.5, in this issue we now share Web Components, another new functionality that has been incorporated in the last version of GeneXus.

Introduction

When an application is developed, many of its parts can be reused in several objects. The objective of Web Components is to generate a high level of component reutilization ( the parts previously mentioned ), thus reducing applications development and maintenance costs.
Scope
Objects: Web Panels
Languages: C/SQL - Java - Visual Basic
Interfaces: Web
Description

"Web Components" are Web Panels which have a property that shows that they are components. This means that they can be run by themselves like any other Web Panel, or they can be a part of another Web Panel object or Web Transaction, thus allowing designers of Web GeneXus applications to obtain high levels of reutilization.
Any part of a Web Panel which is repeated in several application's Web Transactions or Web Panels can be defined as a Web Component, e.g. menus, login, customization area, etc.
For instance, instead of implementing the menu load in each of the Web Panels which require such load, the idea is to program it in a Web Component, and then reuse it in each Web Panel requiring a menu.
Definition of Web Components
In order to define a Web Panel as Web Component, the object's "Web Component" property should be configured in "YES". Note that a Web Panel defined as a Web Component does not lose any of its other features. That is to say that if it is a MAIN Web Panel, it can be run in an autonomous way.
Web Components are generated within the same HTML of the Web Panel in which they are embedded. This means that the server decides the inclusion of the Web Component at the time of execution, and returns the HTML code with the Web Component already embedded to the search engine.
Example
The following example will help to better understand the way in which Web Components function, its usefulness, and power: http://www.artech.com.uy/cgi-bin/webartech/hdcver03.exe?S,31,0,407
To see the example working, please run the "hcontent" web panel.

For further information: http://www.artech.com.uy/Solis/gxdl/iehelp.htm?English/GeneXus_Solis/GeneXus/Internet/Docum/ReleaseNotes/7.5/WebComponents.htm

Related
ARTech's technical area already has Web Components
GeneXus 7.5 will be released at the end of the month
About GeneXus 7.5: Web transactions
"We would like to grow 30% in 2002"
CRM Web System with release candidate of GeneXus 7.5
About GeneXus 7.5: SOAP Protocol
New GeneXus version