Skip to content

Commit

Permalink
Major release : graphe navigation, localStorage implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
florianbacle committed Apr 18, 2013
1 parent 7030bee commit b48ef97
Show file tree
Hide file tree
Showing 16 changed files with 1,353 additions and 569 deletions.
14 changes: 10 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,20 @@
<!--<link rel="stylesheet" href="css/themes/A.min.css" />
<link rel="stylesheet" href="css/themes/B.min.css" />
<link rel="stylesheet" href="css/themes/C.min.css" />-->
<link rel="stylesheet" href="css/themes/D.min.css" />
<link rel="stylesheet" href="css/themes/C.min.css" />
<link rel="stylesheet" href="css/appStyle.css" />

<!-- JQuery - JQueryMobile-->
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="js/lib/jqm-config.js"></script>
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>

<!-- Time -->
<script src="js/lib/moment.min.js" type="text/javascript"></script>

<!-- JStorage -->
<script src="js/lib/store.js" type="text/javascript"></script>

<!-- Graph -->
<script src="js/lib/arbor.js"></script>
<script src="js/lib/arbor-tween.js"></script>
Expand All @@ -40,7 +43,9 @@
<script src="js/model/DBLPCommandStore.js" type="text/javascript"></script>
<script src="js/model/DDGoCommandStore.js" type="text/javascript"></script>
<script src="js/model/GoogleCommandStore.js" type="text/javascript"></script>


<!-- Local Storage -->
<script src="js/localStorage/localStorageManager.js" type="text/javascript"></script>

<!-- EntryPoint -->
<script src="js/entryPoint/main.js" type="text/javascript"></script>
Expand All @@ -52,7 +57,8 @@

<!-- view -->
<script src="js/view/AbstractView.js" type="text/javascript"></script>
<script src="js/view/Backbone-Jquery-ui-mobile-Adapter.js" type="text/javascript"></script>
<script src="js/view/ViewAdapter.js" type="text/javascript"></script>
<script src="js/view/ViewAdapter.Graph.js" type="text/javascript"></script>


<!-- Configuration -->
Expand Down
94 changes: 39 additions & 55 deletions js/configuration/Configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
var Configuration = {
//Defnition of the conference
"conference" : {
"name": "ISWC 2012",
"logoUri": "http://iswc2012.semanticweb.org/sites/default/files/iswc_logo.jpg",
"baseUri": "http://data.semanticweb.org/conference/iswc/2012",
"name": "WWW'2012",
"logoUri": "http://data.semanticweb.org/images/logo_www2012.jpg",
"baseUri": "http://data.semanticweb.org/conference/www/2012",
},

//Defnition of the datasources
Expand All @@ -25,7 +25,7 @@
// commands : Name of the json var that implements all the commands that can be used on the service
"datasources" : {
"SemanticWebDogFoodDatasource" : {
"uri" : "http://data.semanticweb.org/sparql",
"uri" : "http://posters.www2012.org:8080/sparql/",
"crossDomainMode" : "CORS",
"commands" : SWDFCommandStore,
},
Expand Down Expand Up @@ -64,23 +64,16 @@
"Home" : {
"hash" : "",
"view" : "home",
"title": "ISCW'2012 - DataConf",
"title": "WWW'2012 - publications",
"commands" : [
{
"datasource" : "SemanticWebDogFoodDatasource",
"name" : "getConferenceMainEvent",
}
"name" : "getConferenceMainTrackEvent",
},
]
},
"Proceedings-search" : {
"hash" : "proceedings-search",
"view" : "proceedingsSearch",
"title": "Search in proceedings",
"commands" : [
]
},
"Proceedings-search-by-author" : {
"hash" : "proceedings-search/by-author",
"hash" : "search/by-author/*uri",
"view" : "searchFormAuthor",
"title": "Search by author",
"commands" : [
Expand All @@ -90,19 +83,8 @@
}
]
},
"Proceedings-search-author" : {
"hash" : "proceedings-search/author-:author",
"view" : "searchFormAuthorProceedings",
"title": "Author publications",
"commands" : [
{
"datasource" : "SemanticWebDogFoodDatasource",
"name" : "getAuthorsProceedings",
}
]
},
"Proceedings-search-by-keyword" : {
"hash" : "proceedings-search/by-keyword",
"hash" : "search/by-keyword/*uri",
"view" : "searchFormKeyword",
"title": "Search by keywords",
"commands" : [
Expand All @@ -113,7 +95,7 @@
]
},
"Proceedings-search-by-title" : {
"hash" : "proceedings-search/by-title",
"hash" : "search/by-title/*uri",
"view" : "searchFormTitle",
"title": "Search by title",
"commands" : [
Expand All @@ -124,27 +106,36 @@
]
},
"Event" : {
"hash" : "event/*id",
"hash" : "event/*uri",
"view" : "event",
"title": "Track",
"title": "Search in event",
"commands" : [
{
"datasource" : "SemanticWebDogFoodDatasource",
"name" : "getEvent",
},
{
"datasource" : "SemanticWebDogFoodDatasource",
"name" : "getSubEvent",
"name" : "getSessionSubEvent",

},
{
"datasource" : "SemanticWebDogFoodDatasource",
"name" : "getTrackSubEvent",

},
{
"datasource" : "SemanticWebDogFoodDatasource",
"name" : "getEventPublications",
},
{
"datasource" : "SemanticWebDogFoodDatasource",
"name" : "getConferenceMainSessionEvent",
}
]
},
"Publication" : {
"hash" : "publication/:id",
"hash" : "publication/:name/*uri",
"view" : "publication",
"title": "Publication",
"commands" : [
Expand All @@ -159,21 +150,17 @@
{
"datasource" : "SemanticWebDogFoodDatasource",
"name" : "getPublicationKeywords",
},
/*{
"datasource" : "SemanticWebDogFoodDatasource",
"name" : "getRdfGraphFromPublicationTitle",
}*/
}
]
},
"Author" : {
"hash" : "author/:id",
"hash" : "author/:name/*uri",
"view" : "author",
"title": "Author",
"commands" : [
{
"datasource" : "DblpDatasource",
"name" : "getAuthor",
{
"datasource" : "GoogleDataSource",
"name" : "getAuthorPersonalPage",
},
{
"datasource" : "SemanticWebDogFoodDatasource",
Expand All @@ -183,18 +170,15 @@
"datasource" : "SemanticWebDogFoodDatasource",
"name" : "getAuthorOrganization",
},
{
"datasource" : "DuckDuckGoDatasource",
"name" : "getResultAuthor",
},
{
"datasource" : "GoogleDataSource",
"name" : "getAuthorPersonalPage",
{
"datasource" : "DblpDatasource",
"name" : "getAuthor",
}

]
},
"ExternPublication" : {
"hash" : "externPublication/:id",
"hash" : "externPublication/*uri",
"view" : "externPublication",
"title": "External publication",
"commands" : [
Expand All @@ -205,7 +189,7 @@
]
},
"Keyword" : {
"hash" : "keyword/:id",
"hash" : "keyword/:uri",
"view" : "keyword",
"title": "Keyword",
"commands" : [
Expand All @@ -216,17 +200,17 @@
]
},
"Organization" : {
"hash" : "organization/:id",
"hash" : "organization/:name/*uri",
"view" : "organization",
"title": "Organization",
"commands" : [
{
"datasource" : "SemanticWebDogFoodDatasource",
"name" : "getOrganization",
},
{
"datasource" : "DuckDuckGoDatasource",
"name" : "getResultOrganization",
},
{
"datasource" : "SemanticWebDogFoodDatasource",
"name" : "getOrganization",
}
]
}
Expand Down
Loading

0 comments on commit b48ef97

Please sign in to comment.