Re: WC Database Format

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10333
interpreted = N
texte = >Our sked has about 700 classes offered over 2,400 ways: i.e., 700 >records with VARYING total-field info per line. Some have add'l fees, >some don't; some have prerequisites, some don't. Some are taught at any >or all of our 5 main campuses, etc., etc. A class like Agribusiness 110 >might be taught at one location only one time a week, but another like >Biology 101 is taught 40 times across all five sites.Your database is inherently complex (meaning that any solution including FMPro, Tango, etc. will be complex), and yes, WebCatalog2 can do this while WebCatalog 1.6.1 could not.I can give you a pointer in the right direction, but you may want a database consultant (or your mainframe buddy) to help you set up the initial design. It is very important to get a clean database model, otherwise you'll spend a lot of time reworking your site.The key here may be to step away from a single homogenous database, and start using WebCat2's relational features. Without spending too much time on it, I can't tell you exactly what the breakdown should be, but consider dividing your databases into different general 'categories' where all the classes that have the same field structure will go into one database, and all the others get put into another database, and so on.Here's an example of 2 related databases:----------Classes.db-------- ClassID Title Professor 0001 Math John 0002 English Frank 0003 Geography Tim --------------------------------------Prerequisites.db-------- ClassID PreReqID 0001 0020 0001 0021 0001 0003 0002 0003 0002 0029 ----------------------------------Notice in this case that Math (0001) has 3 prerequisites: 0020, 0021, and 0003 (Geography). English (0002) has 2 prerequisites: 0003 (Geography) and 0029So when your server displays a class description from Classes.db, you embed a search that finds all the corresponding ClassIDs in the Prerequisites.db that match the particular class that is shown. The 2 are related by a unique code called ClassID. It is a simple [lookup] to get the title and professor given a ClassID. Grant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: WC Database Format (Dave Herriman 1997)
  2. Re: WC Database Format (Grant Hulbert 1997)
  3. WC Database Format (Dave Herriman 1997)
>Our sked has about 700 classes offered over 2,400 ways: i.e., 700 >records with VARYING total-field info per line. Some have add'l fees, >some don't; some have prerequisites, some don't. Some are taught at any >or all of our 5 main campuses, etc., etc. A class like Agribusiness 110 >might be taught at one location only one time a week, but another like >Biology 101 is taught 40 times across all five sites.Your database is inherently complex (meaning that any solution including FMPro, Tango, etc. will be complex), and yes, WebCatalog2 can do this while WebCatalog 1.6.1 could not.I can give you a pointer in the right direction, but you may want a database consultant (or your mainframe buddy) to help you set up the initial design. It is very important to get a clean database model, otherwise you'll spend a lot of time reworking your site.The key here may be to step away from a single homogenous database, and start using WebCat2's relational features. Without spending too much time on it, I can't tell you exactly what the breakdown should be, but consider dividing your databases into different general 'categories' where all the classes that have the same field structure will go into one database, and all the others get put into another database, and so on.Here's an example of 2 related databases:----------Classes.db-------- ClassID Title Professor 0001 Math John 0002 English Frank 0003 Geography Tim --------------------------------------Prerequisites.db-------- ClassID PreReqID 0001 0020 0001 0021 0001 0003 0002 0003 0002 0029 ----------------------------------Notice in this case that Math (0001) has 3 prerequisites: 0020, 0021, and 0003 (Geography). English (0002) has 2 prerequisites: 0003 (Geography) and 0029So when your server displays a class description from Classes.db, you embed a search that finds all the corresponding ClassIDs in the Prerequisites.db that match the particular class that is shown. The 2 are related by a unique code called ClassID. It is a simple [lookup] to get the title and professor given a ClassID. Grant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

creator code (1997) question: back button prevention (1997) japanese characters (1997) Wrapping text (1998) credit card authorization question (1997) RE: Promise of future help (1998) I assume it is a safe bet this does not help (1998) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Tab Charactor (1997) Re:trouble (1997) Clearly.home (1998) Multiple catalog databases and showcart (1997) Default contains WEBDNA (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) PSC recommends what date format yr 2000??? (1997) [WebDNA] Selling my WSC shares (2016) Re1000001: Setting up shop (1997) Show shoppingcart after remove last item (1997) Re:Problem (1997) Help name our technology! (1997)