Presentazione 28

19
Foad Project Nicola Tagliagambe Micalizzi 703566 Fabio Rusconi 705448 1 martedì 26 gennaio 2010

description

Presentazione per il corso di Web 2.0 - Università degli studi dell' Insubria

Transcript of Presentazione 28

Page 1: Presentazione 28

Foad Project Nicola Tagliagambe Micalizzi 703566

Fabio Rusconi 705448

1martedì 26 gennaio 2010

Page 2: Presentazione 28

Indice

Stato del lavoro alla precedente presentazione

Stato del lavoro attuale

Sviluppi

2martedì 26 gennaio 2010

Page 3: Presentazione 28

Indice

Stato del lavoro alla precedente presentazione

Stato del lavoro attuale

Sviluppi

3martedì 26 gennaio 2010

Page 4: Presentazione 28

La precedente architettura

FOADapplication

HTML+

RDFa

RDF

Host

FOADcrawler

Database

Internet

Socialnetwork 2

Socialnetwork 1

4martedì 26 gennaio 2010

Page 5: Presentazione 28

Osservazioni

Non è realistico richiedere delle conoscenze di tipo informatico agli utenti

Non si riesce a realizzare l’architettura completa in un tempo accettabile

Quindi si propone una nuova architettura

5martedì 26 gennaio 2010

Page 6: Presentazione 28

Proposta di un’architettura alternativa

Utente

Foad.com

Foad App Pagina RDFA

Foad url

Rete sociale

Foad Database

Applicativo

6martedì 26 gennaio 2010

Page 7: Presentazione 28

Vantaggi della nuova architettura

L’architettura è interamente implementabile

L’architettura si adatta al contesto informatico attuale, integrandosi con le reti sociali

All’utente non vengono richieste particolari conoscenze informatiche

I dati sono sempre disponibili e sicuri

7martedì 26 gennaio 2010

Page 8: Presentazione 28

Indice

Stato del lavoro alla precedente presentazione

Stato del lavoro attuale

Sviluppi

8martedì 26 gennaio 2010

Page 9: Presentazione 28

Dizionario RDF 1<!--

2 3 This is the FOAD formal vocabulary description, expressed using W3C RDFS and OWL markup. 4 It also describes the new FOAF terms introduced with FOAD. 5 6 For more information about FOAD see the FOAD project page: http://localhost:3000/ 7 8 --> 9 10 <?xml version="1.0" encoding="utf-8"?> 11 12 <rdf:RDF 13 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 14 xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" 15 xmlns:owl="http://www.w3.org/2002/07/owl#" 16 xmlns:foaf="http://xmlns.com/foaf/0.1/"> 17 18 19 20 <!-- 21 FOAD classes 22 --> 23 24 <rdfs:Class rdf:about="#Animal" rdfs:label="Animal" rdfs:comment="An animal"> 25 <rdfs:subClassOf><owl:Class rdf:about="http://xmlns.com/foaf/0.1/Agent"/></rdfs:subClassOf> 26 <rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html" /> 27 </rdfs:Class> 28 29 <rdfs:Class rdf:about="#Dog" rdfs:label="Dog" rdfs:comment="A dog"> 30 <rdfs:subClassOf><owl:Class rdf:about="#Animal"/></rdfs:subClassOf> 31 <rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html" /> 32 </rdfs:Class> 33

9martedì 26 gennaio 2010

Page 10: Presentazione 28

Dizionario RDF 36 <!--

37 FOAD dog properties 38 --> 39 <rdf:Property rdf:about="#father" rdfs:label="father" rdfs:comment="The father of this dog."> 40 <rdfs:domain rdf:resource="#Dog"/> 41 <rdfs:range rdf:resource="#Dog"/> 42 <rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html"/> 43 </rdf:Property> 44 45 <rdf:Property rdf:about="#mother" rdfs:label="mother" rdfs:comment="The mother of this dog."> 46 <rdfs:domain rdf:resource="#Dog"/> 47 <rdfs:range rdf:resource="#Dog"/> 48 <rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html"/> 49 </rdf:Property> 50 51 <rdf:Property rdf:about="#register" rdfs:label="register" rdfs:comment="The register of this dog."> 52 <rdfs:domain rdf:resource="#Dog"/> 53 <rdfs:range rdf:resource="http://www.w3.org/TR/rdf-schema/#ch_literal"/> 54 <rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html"/> 55 </rdf:Property> 56 57 <rdf:Property rdf:about="#coatColor" rdfs:label="coatColor" rdfs:comment="The coat's color of this dog."> 58 <rdfs:domain rdf:resource="#Dog"/> 59 <rdfs:range rdf:resource="http://www.w3.org/TR/rdf-schema/#ch_literal"/> 60 <rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html"/> 61 </rdf:Property> 62 63 64

10martedì 26 gennaio 2010

Page 11: Presentazione 28

Dizionario RDF 65 <!-- 66 FOAD animal properties 67 --> 68 <rdf:Property rdf:about="#breed" rdfs:label="breed" rdfs:comment="The breed of this animal."> 69 <rdfs:domain rdf:resource="#Animal"/> 70 <rdfs:range rdf:resource="http://www.w3.org/TR/rdf-schema/#ch_literal"/> 71 <rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html"/> 72 </rdf:Property> 73 74 <rdf:Property rdf:about="#breeder" rdfs:label="breeder" rdfs:comment="The breeder of this animal."> 75 <rdfs:domain rdf:resource="#Animal"/> 76 <rdfs:range rdf:resource="#Person"/> 77 <rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html"/> 78 </rdf:Property> 79 80 <rdf:Property rdf:about="#owner" rdfs:label="owner" rdfs:comment="The owner of this animal."> 81 <rdfs:domain rdf:resource="#Animal"/> 82 <rdfs:range rdf:resource="#Person"/> 83 <rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html"/> 84 </rdf:Property>

11martedì 26 gennaio 2010

Page 12: Presentazione 28

Dizionario RDF 89 <!-- 90 FOAF new properties 91 --> 92 <rdf:Property rdf:about="#dateOfBirth" rdfs:label="dateOfBirth" rdfs:comment="The date of birth of this Agent"> 93 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/> 94 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/> 95 <rdfs:domain rdf:resource="http://xmlns.com/foaf/0.1/Agent"/> 96 <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/> 97 <rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html"/> 98 </rdf:Property> 99 100 <rdf:Property rdf:about="#entitlement" rdfs:label="entitlement" rdfs:comment="The entitlement acquired by this Agent.">101 <rdfs:domain rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>102 <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>103 <rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html"/>104 </rdf:Property>105 106 <rdf:Property rdf:about="#height" rdfs:label="height" rdfs:comment="The height of this Agent.">107 <rdfs:domain rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>108 <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>109 <rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html"/>110 </rdf:Property>111 112 <rdf:Property rdf:about="#weight" rdfs:label="weight" rdfs:comment="The weight of this Agent.">113 <rdfs:domain rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>114 <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>115 <rdfs:isDefinedBy rdf:resource="http://localhost:3000/foad/spec.html"/>116 </rdf:Property>117 118 119 </rdf:RDF>

12martedì 26 gennaio 2010

Page 13: Presentazione 28

L’applicazione web

13martedì 26 gennaio 2010

Page 14: Presentazione 28

L’applicazione web

14martedì 26 gennaio 2010

Page 15: Presentazione 28

Il codice RDFa generato<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:foad="localhost:3000/foad/foad/spec.html" > <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Dixi personal FOAD</title> <link rel="stylesheet" href="/stylesheets/master.css" type="text/css" media="screen" title="no title" charset="utf-8" /> </head> <body> <div id="content" typeof="foad:Dog" xmlns:foad="http://loaclhost:3000/foaf/spec"> <h2 property="foaf:name">Dixi</h2> <div id="dog-image"> <a style="border:none;" rel="foaf:depiction" href="www.fab.com/dixi_photo.com"><img src="www.fab.com/dixi_photo.com" alt="dog's image" width="320"/></a> </div> <dl> <div class="blocco"> <dt>Register:</dt> <dd property="foad:register">1683-7452-9573</dd> <dt>Gender:</dt> <dd property="foaf:gender"> Famale </dd>

<dt>Date of birth:</dt> <dd property="foaf:dateOfBirth">23-09-2006</dd>

15martedì 26 gennaio 2010

Page 16: Presentazione 28

Il codice RDFa generato

<dt>Height:</dt> <dd property="foaf:height">1,40 </dd> <dt>Color:</dt> <dd property="foad:coatColor">Brown </dd> <dt>Weight:</dt> <dd property="foaf:weight">16 kg</dd> </div> <div class="blocco"> <dt>Father:</dt> <dd>Jonny</dd> <dt>Father's register:</dt> <dd>2376-8529-1124</dd> <dt>Father's FOAD:</dt> <dd><a rel="foad:father" href="www.foad.com/dogs/jonnhy2376.html">www.foad.com/dogs/jonnhy2376.html</a></dd> </div> <div class="blocco"> <dt>Mother:</dt> <dd>Lucy</dd> <dt>Mother's register:</dt> <dd>3458-1256-1786</dd> <dt>Mother's FOAD:</dt> <dd><a rel="foad:mother" href="www.foad.com/dogs/lucy3458.html">www.foad.com/dogs/lucy3458.html</dd> </div>

16martedì 26 gennaio 2010

Page 17: Presentazione 28

Il codice RDFa generato

<div class="blocco"> <dt>Owner:</dt> <dd>Fab</dd> <dt>Owner's FOAF:</dt> <dd><a rel="foad:owner" href="www.foaf.com/person/fab.rdf">www.foaf.com/person/fab.rdf</a></dd> </div> <div class="blocco"> <dt>Breeder:</dt> <dd>Tom</dd> <dt>Breeder's FOAF:</dt> <dd><a rel="foad:breeder" href="www.foaf.com/person/tom.rdf">www.foaf.com/person/tom.rdf</a></dd> </div> <div class="blocco"> <dt>Entitlements:</dt> <dd property="foaf:entitlement"> Best dog award 2009 , Fox Hunter 2007 </dd> </div> </dl> <a href="http://localhost:3000/foaf/" class="home">back to home</a> </div> <div id="footer"> <p>Foad Project is a project by Fabio Rusconi and Nicola Tagliagambe Micalizzi.</p> </div>

</body></html>

17martedì 26 gennaio 2010

Page 18: Presentazione 28

Indice

Stato del lavoro alla precedente presentazione

Stato del lavoro attuale

Sviluppi

18martedì 26 gennaio 2010

Page 19: Presentazione 28

Sviluppi

Porting dell’applicativo da Rails a PHP + MySQL

Implementazione di un’applicazione di interfaccia con il social network Facebook

19martedì 26 gennaio 2010