From: Adrian R. T. <ar...@sa...> - 2003-08-01 17:47:38
|
> Folks- > > thanks alot for making the demo and sending along the doc. > > can you send us a link to the demo pages? If you want to be awed and impressed by a computer ... you should probably go out and watch Terminator 3. In the meantime we have a very simple demo for you. This was put together jointly by the PSU developers. It's main purposes were to: a) convince ourselves that we wanted to recommend Struts b) demonstrate how little code it takes to provide different looks using Tiles c) try out directory structures, build mechanisms etc http://dev.genedb.org/demogenedb/ The site should behave identically with three different looks. These can be chosen from the front-page. There are two query pages. The first one allows you to choose an organism, number of rows and any one of a choice of three queries (wow!), one of which deliberately causes an uncaught SQL exception by requesting a non-existent column. These should lead you to a results table, styled appropriately for the look. The second form demonstrates the Validator mechanism. The navbar and footer links are just cut'n'pasted from their respective sites so probably won't work. Personally I think the plus points of the demo are the small amount of code to generate the different looks and the custom tag libs eg for the row colouring and cell formatting. Please note: a) The code behind the site is available through webcvs, link on front page b) It's running on our dev. server so may be unavailable from time to time c) The TMM query does work but very, very slowly ie go and make a cup of coffee timescales. (It's using an old version of the SQL query rather than an optimised version Arnaud wrote) Please mail any problems with it. Further emails coming... Adrian |