Overview  
   
   
  Site Creation
   
|Standard Options
 
3
 
Creating a Site (Continued...)
The Standard tab
On this tab, you will see listed all the tables in your database, with options to create the UDMs and HTMs for adding, listing, viewing and modifying data. You can choose to unselect any component that you have modified, so as to not overwrite your work.
 
The BrowseBy tab
Browse-by UDMs provide lists of reverse-references. For example, in a case where an address table has a reference to a state code, the browse-by tab lists the option to list all addresses by state. This is an excellent analysis and reporting function and zeroCode automatically creates the code for such pages.
 
The Associate tab
This tab lists all the Relators that zeroCode could create. In the current version, this option is disabled as an automatically-generated function, although you can create the Relators that you need as custom UDMs.
 
The Advanced tab

The advanced options available in creating a site are described below.

The Record user login and logout option tracks a user's login and logout time every time s/he logs into your site, along with his/her IP address. This will give you the ability to track the usage of your site. To use this option, you need to have defined a table in your schema that has columns for the user's ID (related to the user table in your database), the login time, the logout time and the user's IP address. You can choose to not to record some of these items of info via the (None) option in the combo.

The Page based security option will generate the appropriate code and pages to ensure that you can control access to specific pages for a given user or group of users (depending on how your database is designed). If you choose to use this, you need to have included, in your database, a table that carries the URIs of all the pages in your site. In the combo, select the name of that table and its column where the URI is recorded. You need not key in this data manually - you can initialize it automatically later, with all the URIs in your site (including any custom UDMs that you may create), via an option on the zDE panel.

The Self-registration page option, when chosen, automatically creates a page and UDM for a potential user to automatically register himself/herself to use your site. The UDM created uses your login table as the mechanism to record and validate users. This is particularly useful in semi-public and public sites where you expect new users to get to your site and use it directly, without having to contact you for a new user ID. 

Click Create and you're done! The following page shows statistics about the generation of Java objects, UDMs and HTML pages for your site. You can access your site by clicking on the link that comes up at the end of the statistics. If you asked for a self-registration page to come up, that will show up as a link on your main page, where you can register yourself and start using your site.

 
 
3