Top Banner

Click here to load reader

of 25

Proof of Concept achieved! by Melanie Ransmeier and Mike Cox Using IRMA Web Services to create dynamic web applications.

Dec 26, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • Slide 1
  • Proof of Concept achieved! by Melanie Ransmeier and Mike Cox Using IRMA Web Services to create dynamic web applications
  • Slide 2
  • Presentation overview Project Inspiration Making it Happen Search criteria Data Set-up Getting the data - REST Page Layout Data Processing & Display Demo Future Work & Potential
  • Slide 3
  • Inspiration! Air Quality in Parks Goal is to provide park and network specific air quality information. Identify location specific air quality impacts Summarize relevant studies and monitoring Links to available data sources Idea! Lets provide all of the significant references too. Problem Dont want to build or maintain a database to store this information.
  • Slide 4
  • IRMA Connections NRInfo already stores and manages reference information Most of our key references were already in NatureBib and transitioned to NRInfo Service oriented architecture allows for access to the databases supporting NRInfo from a public facing web page.
  • Slide 5
  • Search Criteria Provide high quality air references Park/Network specific Sort by topic aerosol contaminants deposition haze mercury Establish our own reference set Tie refs to locations in NRInfo Formalize key-words and add them to NRInfo records *ARD_Park-Air-Info_CollectionARD_Park-Air-Info_Collection nitrogen ozone sulfur toxics visibility Data Set-up
  • Slide 6
  • More data considerations Entering new citations Check for existing records first! Modify existing records Ownership = permission to edit key-words and locations. Making a reference visible on the web 1. Ref must be activated 2. and made public in NRInfo Information resource sensitivity must be set to Non-Sensitive this needs to be set for all legacy records imported from NatureBib or DataStore.
  • Slide 7
  • The Programming Goal Create a simple search page that pulls specific references from NRINFO and output formatted data to a web page
  • Slide 8
  • REST Representational State Transfer Fielding (2000) Rest Constraints: 1. Client-Server 2. Stateless 3. Cache 4. Uniform Interface 5. Layered 6. Code On Demand (Optional)
  • Slide 9
  • Basically You send a web request (URI) to get formatted data! http://example.com?key={key}
  • Slide 10
  • NRINFO REST NRINFO Reference Returns a Representation of Data in NRINFO database Here, its a subset of information pertaining to a reference According to Reference Application Help Manual: http://inp2300fcsmaca1/Reference/Reference/Search?unitshttp://inp2300fcsmaca1/Reference/Reference/Search?units= {unitcodes}&searchField={searchField}&searchStrings= {searchstrings}&format=xml
  • Slide 11
  • Reference Service Parameters Format *Required Unit Code(s) Search Field Search String Start Index Reference Type Bounding Area
  • Slide 12
  • Base URI UnitSubject Custom URI http://inp2300fcsmaca1/Reference/Reference/Search? format=xmlformat=xml && units=ROMO& searchField=keyword& searchStrings=ARD_Park-Air-Info_Collection;aerosol
  • Slide 13
  • Slide 14
  • ARD Search Page Design Basic Query Unit + Keyword Formatted, Sorted Results
  • Slide 15
  • Bound to xml file easy to change reduces web page size Ideally, eventually will pull from Unit service Park List Bound to XML UnitList.xml Rocky
  • Slide 16
  • Ajax Panel I.Process Drop Down Values II.Form REST URL III.Request Info from NRINFO IV.Apply XSLT to Sort Results V.Return Formatted Data VI.Profit results.cfm
  • Slide 17
  • Slide 18
  • http://www.w3.org/1999/XSL/Transform XSLT XML HTML
  • Slide 19
  • On update of Park or subject, region automatically refreshes
  • Slide 20
  • LIVE DEMO -- hopefully http://www.nature.nps.gov/air/Permits/aris/References/RefSearch.cfm
  • Slide 21
  • Summary Actively getting freshest data from NRINFO Reduce Redundancy Data Storage Update
  • Slide 22
  • Future Work & Potential Allow multi-select from drop down lists Include download files when possible Update GRI & ARD publications pages to draw from NRINFO Improve efficiency of publication management Custom delivery of information on webpages More user-centric
  • Slide 23
  • References http://nrpcsharepoint/irma/Reference%20Application%20 Help/ReferenceHelp.pdf http://nrpcsharepoint/irma/Reference%20Application%20 Help/ReferenceHelp.pdf http://archive.msdn.microsoft.com/cannonicalRESTEntity http://en.wikipedia.org/wiki/Representational_State_Tran sfer http://en.wikipedia.org/wiki/Representational_State_Tran sfer http://www.ics.uci.edu/~fielding/pubs/dissertation/top.h tm http://www.ics.uci.edu/~fielding/pubs/dissertation/top.h tm
  • Slide 24
  • Thank you Air Resources Division Ellen Porter Colleen Flanagan Ksienya Pugacheva Geologic Resources Division Bruce Heise & Tim Connors I&M Brent Frakes Kathy Dratch Lisa Nelson
  • Slide 25
  • Questions? Melanie Ransmeier [email protected] 303.969.2315 Mike Cox [email protected] 303.969.2082