Use this function set up the available websites.

SEEWARNING Before creating your website, please refer to the documentation Before starting XTEND.

Prerequisites

SEEREFERTTO Refer to documentation Implementation

Screen management

Header

Tab General

Languages

The grid '"Language information" is used to define the available language for the site.

Each language is associated to a set of HTML pages called "HTML Project". This grid is used to enter the default parameter that will be applied for each language. The user language code is specified in the URL via the LANG (&LANG=ENG) parameter. Indicates the HTML project language.

If this parameter is not displayed, XTEND will chose the configuration consolextend.server.gensetup.deflangparameter.
The action ASESSSWITCHLANG is used to switch the language.

Web services pool

List of web services pools used by the site. Each pool contains:

  • the address of the web service server,
  • and the alias of the 'connection pool' to use for the call to a web service.

Tab Advanced

Tab Technical

Location

The 'root' directories are used to store XTEND files. Resources (files, images) in these directories can be accessed from the browser via images or attachments tokens.

  • HTML design: Directory of the HTML project taking the user language into account

  • X_FILES: Directory specific to the X3 folder located under X3_PUB/X3FOLDER/X_TEND/X_FILES

  • X_FILEAPP: Directory specific to the X3 folder located under X3_PUB/X3FOLDER/X_TEND/X_FILAPP
    It is used to store the files from batch processes as reports generated by the print server.

  • X_TEND: Director used to store files associated to all folders
    For example product images, commercial documents....
    It is located to X3_PUB/X_TEND/

Design HTML and X_FILES can be placed under the X3 server (by default) or the X3Web server.
X_FILEAPP and X_TEND are always placed under the X3 server.

HTTP cache expires

The HTTP protocol suggests instructions (HTTP Headers) that can be used to manage resource storage (images, PDF...) in the cache memory (caching) of the browser.

The server application decides, through theses instructions, the expiry date (not validated) of the resource.
This date defines the time period during which these resources must be considered as valid by the browser. Once the expiry date is reached, the resource will be asked to the server again (refreshed).

SEEWARNING An efficient control of the cache management can be used to optimize the display time of pages.

The parameters Design HTML, X_FILEAPP, X_FILES, X_TEND, Flash are used to define the expiry date of these directories' resources:

  • Never
    Means that the resource never expires and that it will be kept by the browser as long as the user does not erase the cache.
  • Always
    Means that the resource is not stored in the browser cache and that it will be transferred at each page display.
  • 1 min, 15 min up to 7 days
    indicates the validity time of the resource on the browser.
URL to access resources

The validity time is generated by XTEND in the resource's URL:
/xtend/data/exp(86400,65799)/remote/SOLPAIE/PAIE/X_TEND/X_HTML/FDBTEST/FRA/IMG/img1.jpg

  • 86400 is the validity period,
  • 65799 is an index used to force the refreshment of the resource via an admin URL.

To overload the validity period of the resource compared to the one defined by default, the user should use the ?exp=seconds parameter in the URL:

<img src="xtend/data/exp(86400,65799)/remote/SOLPAIE/PAIE/X_TEND/X_HTML/FDBTEST/FRA/IMG/img1.jpg?exp=30/">

  • The validity period is changed to 30 seconds instead of 86400

When the directory that contains the resource is located in local X3WEB server, the management of the cache is delegated to the page's MEGA tags and to the Apache server (httpd.conf).

Determine the 'freshness" period of a resource

It is important to ask this question for each type of resource used by the site.

For instance, all resources that constitute the static HTML page and that can have an important size (images, CSS, JavaScript) are never modified (on the production site) and have a limited freshness period.

If XTEND is parameterized so that the Design HTML folder resources have a one-week validity period, the browser will load them only once a week.

Only the dynamic data transit through the network during the display of a page.

Force the refresh of resources

XTEND is used by the webmaster to force the refresh (erase cache) on all browsers, of all site resources that have a validity date via the following URL.

http://host:port/xtend/svc/X3SOL/X3FLDR/XTDSITE/admin/browser/clear

This function is useful:

  • in development mode
  • when the webmaster does an update of the site.

Check the update

These parameters indicate to the XTEND server whether it should check the files updates (timestamp) of the XML dictionary and the HTML page before the display so that it can take account of the modifications.

By default, the 'HTML page' parameters and the 'Web dictionary' are checked, it means that the engine is checking each request.

This process can take 5 to 100 ms depending on the network configuration.

It is compulsory to check updates in development mode because the HTML page and the dictionary are ceaselessly modified.

SEEINFO In production mode, the HTML site and the dictionary are never modified and it is advised to uncheck the parameters.

The checkbox 'Default value' updates the 'HTML page' parameters and the 'Web dictionary' with their default values.

The following URL enables the user to force the reload of the dictionary whatever the parameter value may be.
http://hostname:port/xtend/svc/SolutionX3/DossierX3/SiteXtend/admin/reposit/reload.

Reports

By default, the following reports are associated with this function :

  PRTSCR : Screen print

This can be changed using a different setup.

Specific Buttons

Validation

This button is used to update the XTEND dictionary in XML format.

The X3WEB server takes into account only the dictionary with this format.

There is one XML file per dictionary.

For instance, the ACT.xml file corresponds to all the web actions for the current web site.

Copy

This button is used to copy the site record.

Error messages

The only error messages are the generic ones.

Tables used

SEEREFERTTO Refer to documentation Implementation