Your SlideShare is downloading. ×
Presentazione 28
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Presentazione 28

944
views

Published on

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

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

Published in: Education

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
944
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Foad Project Nicola Tagliagambe Micalizzi 703566 Fabio Rusconi 705448 martedì 26 gennaio 2010 1
  • 2. Indice Stato del lavoro alla precedente presentazione Stato del lavoro attuale Sviluppi martedì 26 gennaio 2010 2
  • 3. Indice Stato del lavoro alla precedente presentazione Stato del lavoro attuale Sviluppi martedì 26 gennaio 2010 3
  • 4. La precedente architettura Internet HTML + RDFa FOAD FOAD crawler Host application Database RDF Social Social network 1 network 2 martedì 26 gennaio 2010 4
  • 5. 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 martedì 26 gennaio 2010 5
  • 6. Proposta di un’architettura alternativa Foad.com Foad App Pagina Foad Utente RDFA Database Foad url Rete sociale Applicativo martedì 26 gennaio 2010 6
  • 7. 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 martedì 26 gennaio 2010 7
  • 8. Indice Stato del lavoro alla precedente presentazione Stato del lavoro attuale Sviluppi martedì 26 gennaio 2010 8
  • 9. 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 martedì 26 gennaio 2010 9
  • 10. 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 martedì 26 gennaio 2010 10
  • 11. 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> martedì 26 gennaio 2010 11
  • 12. Dizionario RDF 89 <!-- 90 OAF new properties F 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> martedì 26 gennaio 2010 12
  • 13. L’applicazione web martedì 26 gennaio 2010 13
  • 14. L’applicazione web martedì 26 gennaio 2010 14
  • 15. 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> martedì 26 gennaio 2010 15
  • 16. 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> martedì 26 gennaio 2010 16
  • 17. 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> martedì 26 gennaio 2010 17
  • 18. Indice Stato del lavoro alla precedente presentazione Stato del lavoro attuale Sviluppi martedì 26 gennaio 2010 18
  • 19. Sviluppi Porting dell’applicativo da Rails a PHP + MySQL Implementazione di un’applicazione di interfaccia con il social network Facebook martedì 26 gennaio 2010 19