odaesa

Personal tools

Redeveloping the user system and REST

From W

Jump to: navigation, search

global links:

  1. new NPD admin system (test version)
  2. new NPD user system (test version)
  3. Reports - weekly reports. setup and test reports, and others
  4. Meetings - information on past and future meetings
  5. Project plan - the original, and current updates
  6. the completed dissertation
  7. Original NPD - info and links
  8. Web services links


To include details of the redevelopment of the user system, if time permits. If this happens, a REST framework will be used to expose the data, which will provide another access method.

This has happened, but there is short time to write a report on it. Details will be in the final dissertation. The new website and REST implementation is available at:

ix0.org/npd/user


Brief usage details:

Use the site as normal. Search, or navigate content (most of which still requires updating). But also the data can be accessed by typing /GeneID after the above web address. e.g., the address:

ix0.org/npd/user/1NP00017

goes straight to the results of that Gene ID. Also, the results are given in subsections, and each of these are accessible via the URL too:

ix0.org/npd/user/1NP00017/names

shows only the names part of the results.

The REST functionality has also been mapped to a dedicated URL at:

ix0.org/npd/rest

going straight to that URL actually links back to the web services explanation page on the user site (which has yet to be filled with content), but going to any Gene ID after rest will work as described above. the advantage of the rest URL is that it defaults to XML as the output type.

Additionally, it is also possible to get straight to the results by typing the Gene ID straight after the NPD URL, so missing out the /rest or /user.

Last notes on functionality: to change output type, just add .csv or .xml or .html to the end of the URL. Also, you can actually provide a Gene Name instead of a Gene ID, and as long as it actually is a unique gene name, you will get the expected results. But this functionality will not work without going via the /rest or /user URL, and also probably has issues with some of the weird gene names that are in the database, so is not strongly reliable.