Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Annotations for CDS services Euro-VO Technology Forum, 17 March 2009 Web 2.0: annotations for CDS services Brice GASSMANN Sébastien DERRIERE Thomas BOCH.

Similar presentations


Presentation on theme: "1 Annotations for CDS services Euro-VO Technology Forum, 17 March 2009 Web 2.0: annotations for CDS services Brice GASSMANN Sébastien DERRIERE Thomas BOCH."— Presentation transcript:

1 1 Annotations for CDS services Euro-VO Technology Forum, 17 March 2009 Web 2.0: annotations for CDS services Brice GASSMANN Sébastien DERRIERE Thomas BOCH

2 2 Annotations for CDS services Euro-VO Technology Forum, 17 March 2009 Summary Introduction Overview Infrastructure Functionalities Integration within CDS services

3 3 Annotations for CDS services Euro-VO Technology Forum, 17 March 2009 Introduction Web 2.0 = the user can contribute to the contents of a Web site Annotations for the CDS services 2 types of annotations Comment = simple text Error notification = report an error and ask the CDS to do something to correct it What could we annotate ? Simbad objects, VizieR tables, VizieR sources,... It is extensible

4 CDS User Login CDSLoginInt userId:... username:... password:... email:... userId:... usernmae:... YAML database CDSLogin login(u,p)‏ Ok public private Login to the CDS Add a comment Cookie « CdsUserId » Login form username:... password:... Annotations CDSAnnotations MYSQL database Add com. form Cookie « CdsUserId »

5 5 Annotations for CDS services Euro-VO Technology Forum, 17 March 2009 Infrastructure Database MySQL server Web application (Tomcat)‏ User interface: JSP, Taglib Taglib allows the developer to create his own tags => jsp code is clearer (no need of scriptlet anymore)‏ Database interface: JDBC (Java Database Connectivity) library Generic java library to interact with relational databases We can change the database without changing the client code

6 6 Annotations for CDS services Euro-VO Technology Forum, 17 March 2009 Functionalities User interface View the comments for a particular element in a given context (i.e.: view comments for the object called MCG+00-12-002 in Simbad)‏ for a particular user Add/Edit a comment RSS feed RSS is available to follow the comments for a particular element in a given context

7 7 Annotations for CDS services Euro-VO Technology Forum, 17 March 2009 View comments Parameters Context = simbadObject Element = MCG+00-12-002 UserId = cookie information

8 8 Annotations for CDS services Euro-VO Technology Forum, 17 March 2009 Add/Edit a comment Parameters Context = simbadObject Element = MCG+00-12-002 UserId = cookie information Option for private comments

9 9 Annotations for CDS services Euro-VO Technology Forum, 17 March 2009 Functionalities XML service for a non-graphical interaction HTTP requests with a command parameter addComment(userId, target, element, text), getComment(annotationId),... Example: http://annotationServer/service?command=getComment&annotationId=25 XML is returned to get data or see the status of the command Example for getComment(25)‏: usertest5 Mar 12, 2009 11:27 AM simbadObject MCG+00-12-002 Here is a comment

10 10 Annotations for CDS services Euro-VO Technology Forum, 17 March 2009 Integration in CDS services 2 links to construct and add to the existing pages A link pointing to the page to view the related comments A link pointing to the page to add a comment Easy and non-intrusive integration Deployment by the beginning of April Assessment Annotations on Simbad objects will be tested first Usage statistics will be done Hack-a-thon: see what can be done with SKUA ?

11 11 Annotations for CDS services Euro-VO Technology Forum, 17 March 2009 Questions ?


Download ppt "1 Annotations for CDS services Euro-VO Technology Forum, 17 March 2009 Web 2.0: annotations for CDS services Brice GASSMANN Sébastien DERRIERE Thomas BOCH."

Similar presentations


Ads by Google