JeeWiz Home Page
Transforming the Business of Development
BUSINESS
BUSINESS
  DEVELOPERS
DEVELOPERS
  MetaLink
META-PROGRAMMERS
  Contact Us
CONTACT US
Google
   Home      Product      Solutions      Services      Company  
Product

Details

Samples

Simple

Ordering

Hospital

Restaurant

Football

Issues

Do Your Own

Video

Technical Data

White Papers

Opportunities

Restaurant Demonstration Application

This application is slightly more complex than the Simple application.

Input

UML thumbnail

Model

restaurant.mdl    Rational Rose file

Output

restaurant.zip    100% generated.

See It Running

Application running

Description

The Restaurant sample application shows the use of a different set of maintenance screens, which are designed to handle higher volumes. These are called Tab pages and the to-many relationships display as separate linked pages. The Restaurant maintenance page goes straight into an empty creation screen. Not only is the data in here part of the creation, but there are four allied pages, two one-to-many "listadd" style pages, and two many-to-many "assoc" pages. Data should be entered all five pages before returning to the main Restaurant page and pressing the Create button. Using the Find button, will bring up a single "pick" page rather than the search and select combination normally used. Column ordering on pick page results can be toggled.

Finally, the application shows the use of lookup pages. These can be used to select information from totally unconnected entities (in this case the chef's position is selected from the Position entity) and bring it onto the current page, where it can be edited. It is also possible to use the lookup functionality as a linking style on a "to-one" link as exemplified in the Restaurant to District link. In this latter case obviously editing can't be done on the page.

As is the case with a number of other examples, this application was developed to demonstrate JeeWiz! features. Therefore the link from Restaurant to Diner isn't particularly well handled, as by default only one level of related entities are shown on a screen. This means that for a logical many-to-many that is resolved using an explicit link table such as Meal, the logical view of the far end is absent. There are techniques to handle this, one of which is shown in the Issues sample application.


Copyright 2001-2005, New Technology/enterprise Ltd. All rights reserved. About NT/e | Contact Us