oralcard frameworks and apis

Post on 30-Mar-2016

219 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Presented in my first BioInformatics meeting.

TRANSCRIPT

OralcardFrameworks and APIs

José Melo jmsmelo@ua.pt

Instituto de engenharia eletrónica e telecomunicações de aveiro

October, 20th 2010

➔Main objective

➔Needs

➔Main solution

➔Example

➔Demonstration

➔Next steps

Guidelines

Oralcard objective

Build an information web system centeredin oral health area

Useful for researchers and dentists

Using open source tools

What do we need?

BacteriasProteins

Signaling Pathways Pharmaceuticals

➔ A web service that integrates:✔ Data;

✔ Services,

✔ Distributed applications.

➔ Building and designing a full SQL database from start still takes

lots of time and effort,

➔ Connecting a SQL database to the outside demands some

workarounds.

➔ (...)

Why a solution?

MOLGENIS!

Possibilities

➔ Molgenis allow us to automatically generate:✔ a database;

✔ a web user interface;

✔ back ends to store data;

✔ programmatic interfaces to R language,

✔ web services.

➔ Design a simple journal system featuring✔ multiple articles;

✔ multiple authors;

✔ category browsing;

✔ article browsing,

✔ author browsing.

Job

Database design: author

<entity name="Author">

<field name="author_id" type="autoid" />

<field name="shortname" unique="true" readonly="true"/>

<field name="fullname" readonly="true"/>

<field name="email" unique="true" nillable="true"/>

<field name="birthday" type="date" nillable="true" readonly="true"/>

</entity>

<entity name="Category">

<field name="category_id" type="autoid"/>

<field name="title" unique="true"/>

<field name="desctiption" nillable="true"/>

</entity>

Database design: article

<entity name="Article">

<field name="article_id" type="autoid"/>

<field name="title" unique="true" readonly="true"/>

<field name="excerpt" type="text"/>

<field name="body" type="text"/>

<field name="date" type="date" readonly="true"/>

<field name="tags" type="text"/>

<field name="author" type="xref"

xref_field="Author.author_id"

xref_label="shortname" />

<field name="category" type="xref"

xref_field="Category.category_id"

xref_label="title"/>

</entity>

application UI

… and now...

a DEMO

Next step

➔ Build a front-end client application to read the

articles in a better way

View all articlesView all articles for a given author

Search articles by tag

Thank you!

Questions?

top related