Presentation is loading. Please wait.

Presentation is loading. Please wait.

Plant Accession Application Maintenance Manual. Accession Application Website Environment Overview WinHost.com ASP Pages VBScript Procs Constants Style.

Similar presentations


Presentation on theme: "Plant Accession Application Maintenance Manual. Accession Application Website Environment Overview WinHost.com ASP Pages VBScript Procs Constants Style."— Presentation transcript:

1 Plant Accession Application Maintenance Manual

2 Accession Application Website Environment Overview WinHost.com ASP Pages VBScript Procs Constants Style Sheets Production Software ASP Pages VBScript Procs Constants Style Sheets Test Software MySQL Database Test Plant Accesion Database PC Running Windows 8 Web Browsers −Firefox −Internet Explorer IIS Services Version 8.5.9600.16384 Classic ASP VBScript SQL Client (SQLyog) SQL Server (MySQL) FTP (AceFTP) Text Editor (Metapad) Email active server component (ASPMail)* Development Environment Production Environment Hosts the application website WinHost Max Package Including: −Windows IIS V8 −MySQL −FTP −Classic ASP −VB Script −ASP Mail* −PHP* −Many others (See WinHost.com)* Developer User Development and DB Administration performed on local PC WinHost.com used as webserver to Internet users * Not required for this application Production Plant Accession Database MySQL Database

3 Accession Website Development Environment All development and testing occurs locally on the developer’s PC Root node is “localhost” MySQL Server Microsoft Internet Information Services (IIS) Web Browser ASP Pages VBScript Procs Constants Style Sheets Test Software Developer PC Running Windows 8 Text Editor (Metapad) SQL Client (SQLyog) MySQL Database Test Plant Accesion Database

4 Two Products used in local development environment SQLyog is a client program which provides a GUI for maintaining your MySQL databases. It can connect to your local database, the database on WinHost, or to both at the same time. It provide facilities for backup and restore as well as maintaining db structure and data Other packages similar to SQLyog can also be used AceFTP provides a GUI for FTP It can be used for moving files back and forth between the development environment and the web server. Other FTP packages similar to AceFTP can also be used.

5 Updating the Accession Website FTP (AceFTP) ASP Pages VBScript Procs Constants Style Sheets Test Software Developer MySQL Database Test Database PC Running Windows 8 WinHost.com ASP Pages VBScript Procs Constants Style Sheets Production Software FTP Once a change has been made and tested in the development environment, it is moved to the production environment where it becomes visible to the general public.

6 LWAF Database Administration Environment Database Administrator Plant Accession Database MySQL Client (SQLyog) PC Running Windows Vista MySQL Server WinHost.com Database administration takes advantage of the MySQL Client/Server model. Database backups, mass changes and other ad-hoc operations are done using the “SQLyog” client on the PC which is connected to the MySQL server on WinHost.com. You can also use this same architecture to connect to the “localhost” server to do database administration on the local test database.

7 Accession Website Directory Structure plantslw Newsletters Administrative The directories shown below are those that contain accession website files. Arboretum Root (/) directory ImagesCommonCodeAppLWAFAppAccession JMNSoftware ArbDocsHelp

8 General Flow of Webpages Single Plant Record Update Form Lookup Table Selection Menu Report PageCustom Report Menu Accession Home Page Lookup Table Update Form Mulitple Plant Records Update Form Note: You can always go back to the Home Page or the Custom Report Menu from any screen.

9 Accession Application Programs ProgramDescription index.aspThis program sets in the root directory on WinHost.com. It is identical to plants.asp. plants.aspThis ASP page is the "entry page" into the plant accession application. It is the “HomePage” to the accession app. It presents a menu to the user who then selects a report or other action. The menu is submitted back to plants.asp and then the appropriate program is invoked by plants.asp to create a report or take some other action. db_plant_select.aspThis program acts like a "traffic cop" - receiving requests from other pgms (including itself) and then invokes the appropriate program among a set of plant programs. Typically, this ASP page creates what is called the "Custom Menu" and then accepts the input back from this menu, forms the appropriate SQL query, and then invokes the appropriate report program. db_plant_report.aspThis ASP page creates a listing of accessioned plants and provides a link to google pix for each plant in the listing. This pgm is invoked from either db_plants.asp or db_plant_select. Several session variables have been set by those programs so that this pgm knows the selection criteria, name, and format of the report to generate. db_plant_maintain.aspThis ASP page is used to add, revise, or delete accessioned plant records. db_plant_maintain_list.aspThis ASP page creates a listing of accessioned plants. Each line item (plant record) in the report may be modified if you have update authority. The form presented by this program limits the display to 50 plants. The form has been designed primarily for the quick update of bloom dates and notes. db_plant_lookup_select.aspProvides a form for selecting what plant accession lookup table to update. Input submitted on the form goes to db_plant_lookup_maintain.asp db_plant_lookup_maintain.aspThis ASP page is used to add, revise, or delete entries in one of several lookup tables in the system.

10 Accession Application Programs (Cont.) ProgramDescription cultivar_update.aspA special purpose program that has to be invoked manually (there are not links to it). It does some correction to cultivar names. Use this program only if you know what you are doing! db_plant_accession_record.aspThis ASP page prints out one page per record showing all of the plant record's field values. This one page report can be used as the "accession record" for the plant in question.. db_plant_labels.aspThis ASP page creates plant labels for Avery 8160 labels. It is invoked from a web page created by db_plant_report.asp db_plant_report_names.aspThis ASP page creates a listing of accessioned plants. Each line item in the report may be modified if you have update authority. links.aspThis ASP page provides a list of links related to the Arboretum. plant_articles.aspProvides a list of articles written by me. plant_contact.aspA “contact us” page for the Accession application. It directs users to the Arboretum docents.

11 Program/Webpage Relationship plants.asp db_plant_maintain.asp db_plant_maintain_list.aspdb_plant_report.asp db_plant_select.asp index.asp db_plant_lookup_select.asp db_plant_lookup_maintain.asp Mulitple Plant Records Update Form Single Plant Record Update Form Lookup Table Selection Menu Report Page Custom Report Menu Accession Home Page Lookup Table Update Form Redirects to Transfers to Creates form Submitted to Creates form Submitted to Transfers to Creates page Links to Creates form Sumitted to Creates form Submitted to Creates form Submitted to Links to This chart shows: What programs create what pages or forms What programs forms are submitted to What programs are invoked via links* What programs are invoked via transfers * Note: All pages provide links back to plants.asp and db_plant_select.asp to show the accession home page and custom report menu respectively. However, these links are not shown on this diagram in order to limit the number of lines shown.


Download ppt "Plant Accession Application Maintenance Manual. Accession Application Website Environment Overview WinHost.com ASP Pages VBScript Procs Constants Style."

Similar presentations


Ads by Google