Click here to load reader
Upload
rehan
View
48
Download
5
Tags:
Embed Size (px)
DESCRIPTION
Using IRMA Web Services to create dynamic web applications. Proof of Concept achieved! by Melanie Ransmeier and Mike Cox. Presentation overview. Project Inspiration Making it Happen Search criteria Data Set-up Getting the data - REST Page Layout Data Processing & Display Demo - PowerPoint PPT Presentation
Citation preview
Using IRMA Web Services to create dynamic web applications
Proof of Concept achieved!
by Melanie Ransmeier and Mike CoxUsing IRMA Web Services to create dynamic web applicationsPresentation overviewProject InspirationMaking it HappenSearch criteriaData Set-upGetting the data - REST Page LayoutData Processing & DisplayDemoFuture Work & Potential
Inspiration!Air Quality in ParksGoal is to provide park and network specific air quality information.Identify location specific air quality impactsSummarize 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.
IRMA ConnectionsNRInfo already stores and manages reference informationMost of our key references were already in NatureBib and transitioned to NRInfoService oriented architecture allows for access to the databases supporting NRInfo from a public facing web page.
Search CriteriaProvide high quality air referencesPark/Network specific Sort by topicaerosolcontaminantsdepositionhazemercury
Establish our own reference setTie refs to locations in NRInfo Formalize key-words and add them to NRInfo records*ARD_Park-Air-Info_Collection
nitrogenozonesulfurtoxicsvisibility
Data Set-upMore data considerationsEntering new citationsCheck for existing records first!Modify existing recordsOwnership = permission to edit key-words and locations.Making a reference visible on the webRef must be activated and made public in NRInfoInformation resource sensitivity must be set to Non-Sensitive this needs to be set for all legacy records imported from NatureBib or DataStore.
The Programming GoalCreate a simple search page that pulls specific references from NRINFO and output formatted data to a web page
Emphasis on SimpleWant to be able to provide basic procedure + template code for interested parties7RESTRepresentational State TransferFielding (2000) Rest Constraints:Client-ServerStatelessCacheUniform InterfaceLayered 6. Code On Demand (Optional)
Returns a representation, or subset of data from NRINFO Reference ServiceFielding Doctoral Dissertation on Architectural Styles and the Design of Network-based Software Architectures
8BasicallyYou send a web request (URI) to get formatted data!
http://example.com?key={key}
All of the goals are taken care of by the fact that we are using the http protocol to retrieve data from NRINFO9NRINFO RESTNRINFO Reference Returns a Representation of Data in NRINFO databaseHere, its a subset of information pertaining to a reference
According to Reference Application Help Manual:
http://inp2300fcsmaca1/Reference/Reference/Search?units={unitcodes}&searchField={searchField}&searchStrings={searchstrings}&format=xml
Reference Service ParametersFormat *Required Unit Code(s)Search FieldSearch StringStart IndexReference TypeBounding Area
Format The format of the returned results must be specified. Unit Code(s) One or more unit codes can optionally be specified. Search String One or more search strings can optionally be specified. Search Field If a search string(s) is/are specified, a single search field can optionally be specified. Start Index Since there are only 300 results returned, User can optionally specify the range of records to return. Reference Type A single Reference Type can optionally be specified. Bounding Area A single bounding area can optionally be specified.
11http://inp2300fcsmaca1/Reference/Reference/Search?format=xml &units=ROMO&searchField=keyword&searchStrings=ARD_Park-Air-Info_Collection;aerosol
ARD Search Page Design
Basic Query Unit + KeywordFormatted,SortedResultsBasic SearchResults sorted alphabetically & Using a hanging indent style14
Bound to xml fileeasy to changereduces web page size Ideally, eventually will pull from Unit servicePark List Bound to XMLUnitList.xml
Rocky B/c there are ~70 Units, using an XML file for the dropdown cuts down on the web page size15
Ajax PanelProcess Drop Down ValuesForm REST URLRequest Info from NRINFOApply XSLT to Sort ResultsReturn Formatted DataProfitresults.cfm
XSLTXML
HTML
On update of Park or subject, region automatically refreshesLIVE DEMO -- hopefullyhttp://www.nature.nps.gov/air/Permits/aris/References/RefSearch.cfm
SummaryActively getting freshest data from NRINFOReduce RedundancyData StorageUpdate
Future Work & PotentialAllow multi-select from drop down listsInclude download files when possibleUpdate GRI & ARD publications pages to draw from NRINFO
Improve efficiency of publication management Custom delivery of information on webpages More user-centric
Referenceshttp://nrpcsharepoint/irma/Reference%20Application%20Help/ReferenceHelp.pdfhttp://archive.msdn.microsoft.com/cannonicalRESTEntityhttp://en.wikipedia.org/wiki/Representational_State_Transferhttp://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm
Thank youAir Resources DivisionEllen PorterColleen FlanaganKsienya PugachevaGeologic Resources DivisionBruce Heise & Tim ConnorsI&MBrent FrakesKathy DratchLisa Nelson
Questions?Melanie Ransmeier [email protected]
Mike [email protected]