SlideShare uma empresa Scribd logo
1 de 24
Apps for Science Elsevier | Developer Network
WorkShop – OpenSocial Gadgets for Science Web 2.0 – Much to do about … a lot   Gadgets Widgets IFrame HTML5 Browser Add-ons Plugins Facebook Apps Mobile Apps Web2.0 Open API Open Data Open Gov JavaScript Linked Data
WorkShop – OpenSocial Gadgets for Science  Web 2.0 – iGoogle is Apps
1 billion downloads 350,000 Apps WorkShop – OpenSocial Gadgets for Science Web 2.0 - Mobile Apps  is Apps
WorkShop – OpenSocial Gadgets for Science Web 2.0 – Browser Plugins is Apps  Opera Browser – 2.5% IE – 26%  Mozilla – 42.8% Chrome – 23.8% Safari -  4%
WorkShop – OpenSocial Gadgets for Science Web 2.0 - Facebook is Apps  Facebook Apps 500 million users
WorkShop – OpenSocial Gadgets for Science SciVerse is OpenSocial - Facebook versus OpenSocial
WorkShop – OpenSocial Gadgets for Science SciVerse is OpenSocial  Facebook versus OpenSocial   500 million versus 900 million users
WorkShop – OpenSocial Gadgets for Science SciVerse is Innovation in STM Publishing  Gutenberg Printing Press 1440 Lodewijk Elsevir 1580
WorkShop – OpenSocial Gadgets for Science World Wide Web  Tim Berners-Lee  - first Web Server (EVER) 1990
WorkShop – OpenSocial Gadgets for Science ScienceDirect Online – more than 10 million scientific articles
WorkShop – OpenSocial Gadgets for Science Scopus online – 40 million abstracts
WorkShop – OpenSocial Gadgets for Science SciVerse Apps – HTML, JavaScript, APIs What is an App? The IFRAME Revolution <iframe src=&quot;iframe1.html&quot; width=“400&quot; height=“200&quot;> </iframe> <script type=‘text/javascript’>  Function fnWrite() { getElementById(‘content-div’).innerHTML =  “ HelloWorld”; } </script> <div id=‘content-div’></div>
WorkShop – OpenSocial Gadgets for Science  What are APIs? What is a Mashup? API API SciVerse APIs <script type=‘text/javascript’> url1 = ‘http://api.sciverse.com/search’; data1 = makeUrlRequest(url1); param1=data1[0]; url2 = ‘http://api.nytimes.com/search’; data2 =  makeUrlRequest(url2, param1); mashup = data2; getElementById(‘div1’) = mashup; </script> sciencedirect scopus
WorkShop – OpenSocial Gadgets for Science  SciVerse
WorkShop – OpenSocial Gadgets for Science  SciVerse Content API Content API - Search http://api.elsevier.com/content/search/index:CLUSTER?query=xx&view=VIEW CLUSTER HUB, SCIDIR, SCOPUS, AUTHOR, AFFILIATION VIEW STANDARD, COMPLETE query date  Content API - Retrieval http://api.elsevier.com/content/CONTENT-CATEGORY/LABEL:ID?view=VIEW CONTENT-CATEGORY article, abstract, author, affiliation LABEL EID, PII, DOI, SCOPUS_ID, AUTHOR_ID, AFFIL_ID, PUBMED_ID VIEW META, REF, FULL, LIGHT, STANDARD
WorkShop – OpenSocial Gadgets for Science  SciVerse – Framework API SciVerse – Framework API gadgets.sciverse.getAllResults(callback) gadgets.sciverse.getArticleContent(callback) gadgets.sciverse.getContextInfo(callback) gadgets.sciverse.getPageUrl(callback) gadgets.sciverse.getResults(requestedResults, callback) gadgets.sciverse.invokeResultsView(resultIndex, viewParams) gadgets.sciverse.makeContentApiRequest(url, callback, requestHeaders) gadgets.sciverse.makeRequest(url, callback, params) gadgets.hub.executeSearch(searchTerms)
WorkShop – OpenSocial Gadgets for Science  SciVerse – Framework API - ContextInfo accountId, artNum, au1, au1First, au1Init, au1Suffix, au1Sur, auCorp,  authorKeywords, date, docTitle, doi, entitlement, genre,  indexTerms, individualUser, isbn, issn, issue, keywords, offset, originPage,  otherKeywords, pageContentDivTagName, pages, pageType, part, partTitle,  partValue, pii, platform, scDocId, scopusFlag, searchQuery, searchTerms,  secureAuthToken , sortOrder, sPage, srcTitle, ssn, timestamp, volume, year function getContextInfoCallback(result){ // get authtoken for content API call var authtoken = result.secureAuthtoken; var searchterm = result.searchTerms; } <script type=&quot;text/javascript&quot;> var prefs = new gadgets.Prefs(); var authToken = prefs.getString(&quot;secureAuthtoken&quot;);                                </script>
WorkShop – OpenSocial Gadgets for Science  SciVerse – Content API var requestHeaders = {}; requestHeaders['X-ELS-APIKey'] = your-API-key; requestHeaders['X-ELS-Authtoken'] = authtoken; requestHeaders['Accept'] = &quot;application/json&quot;; var params = {}; params[gadgets.io.RequestParameters.HEADERS] = requestHeaders; // only necessary when using gadgets.io.makeRequest //params[gadgets.io.RequestParameters.AUTHORIZATION] =  gadgets.io.AuthorizationType.NONE; //params[gadgets.io.RequestParameters.CONTENT_TYPE] =  gadgets.io.ContentType.JSON; gadgets.sciverse.makeContentApiRequest(url, callback, params);
WorkShop – OpenSocial Gadgets for Science  SciVerse – Mashup <script type=‘text/javascript’> Var myapikey = ‘aaaass223ssss’; Function fnCreateMashup(){ gadgets.sciverse.getContextInfo(fnContextInfoCallback); } Funtion fnContentInfoCallback(response){ var search = response.searchQuery; var url = ‘http://api.nytimes.com/svc/search/v1/article?query=‘+search+’&api-key=‘+myapikey+ ‘ format=json’; var params = { ‘ href’ : url, ‘ format’ : ‘json’, ‘ authz’ : ‘none’ }; osapi.http.get(params1).execute(fnNyTimesCallback); } Function fnNyTimesCallback(nytimesResponse) { var output = ‘’; // using jquery $.each(nytimesResponse.content.results, function(I, result){ output = output + result.data + ‘ – ‘ + result.title; } } Gadgets.util.registerOnLoadHandler(fnCreateMashup); </script>
WorkShop – OpenSocial Gadgets for Science  SciVerse – OpenSocial Definition File <?xml version= &quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <Module> <ModulePrefs title= &quot;SciVerseExamples-ContentAPICall1&quot; author_email=&quot;CaprioR@your.domain&quot;> <Require feature= &quot;opensocial-0.9&quot; /> <Require feature= &quot;sciverse&quot; /> <Require feature= &quot;hub&quot; /> <Require feature= &quot;org.jquery.core-1.4.2&quot; /> </ModulePrefs> <Content type= &quot;html&quot; view=&quot;canvas&quot;><![CDATA[ <!-- The code for Canvas view is here. --> ]]></Content> <Content type= &quot;html&quot; view=&quot;profile&quot;><![CDATA[ Profile View ]]></Content> <Content type= &quot;html&quot; view=&quot;sciverseResultsView&quot;><![CDATA[ <!-- The code for Sciverse Results View view is here. --> <div>Sciverse Results View view for SciVerseExamples-ContentAPICall1.</div> ]]></Content> </Module>
WorkShop – OpenSocial Gadgets for Science  SciVerse – Integration Points view Integration point profile Hub - Home page, Search Results page ScienceDirect-  Full Text Article page, Search Results page Scopus - Record page canvas New full page sciverseResultsView Hub - Search Results page (under each result) ScienceDirect - Search Results page (under each result)
WorkShop – OpenSocial Gadgets for Science  SciVerse – Resources SciVerse – SDK plugin for Eclipse http://developer.sciverse.com/sdk   SciVerse – Content API http://developer.sciverse.com/api   SciVerse – Framework API http://developer.sciverse.com/framework Follow @SciVerseDev http://twitter.com/sciversedev Developer Blog http://developer.sciverse.com/blog Apps For Science  http://www.appsforscience.com Developer Events - Hack For Science http://www.hackforscience.com
The End

Mais conteúdo relacionado

Destaque

Computational Systems Biology (JCSB)
Computational Systems Biology (JCSB)Computational Systems Biology (JCSB)
Computational Systems Biology (JCSB)Annex Publishers
 
Data Scientist - The Sexiest Job of the 21st Century?
Data Scientist - The Sexiest Job of the 21st Century?Data Scientist - The Sexiest Job of the 21st Century?
Data Scientist - The Sexiest Job of the 21st Century?IoT User Group Hamburg
 
Systems biology: Bioinformatics on complete biological system
Systems biology: Bioinformatics on complete biological systemSystems biology: Bioinformatics on complete biological system
Systems biology: Bioinformatics on complete biological systemLars Juhl Jensen
 
Tutorial 1: Your First Science App - Araport Developer Workshop
Tutorial 1: Your First Science App - Araport Developer WorkshopTutorial 1: Your First Science App - Araport Developer Workshop
Tutorial 1: Your First Science App - Araport Developer WorkshopVivek Krishnakumar
 
Day in the Life of a Computer Scientist
Day in the Life of a Computer ScientistDay in the Life of a Computer Scientist
Day in the Life of a Computer ScientistJustin Brunelle
 
System biology and its tools
System biology and its toolsSystem biology and its tools
System biology and its toolsGaurav Diwakar
 
IBM - Big Value from Big Data
IBM - Big Value from Big DataIBM - Big Value from Big Data
IBM - Big Value from Big DataWilfried Hoge
 
Alan Turing Scientist Unlimited | Turing100@Persistent Systems
Alan Turing Scientist Unlimited | Turing100@Persistent SystemsAlan Turing Scientist Unlimited | Turing100@Persistent Systems
Alan Turing Scientist Unlimited | Turing100@Persistent SystemsPersistent Systems Ltd.
 
Computational Biology and Bioinformatics
Computational Biology and BioinformaticsComputational Biology and Bioinformatics
Computational Biology and BioinformaticsSharif Shuvo
 
Multi-omics infrastructure and data for R/Bioconductor
Multi-omics infrastructure and data for R/BioconductorMulti-omics infrastructure and data for R/Bioconductor
Multi-omics infrastructure and data for R/BioconductorLevi Waldron
 
Analytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
Analytics meets Big Data – R/Python auf der Hadoop/Spark-PlattformAnalytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
Analytics meets Big Data – R/Python auf der Hadoop/Spark-PlattformRising Media Ltd.
 
MongoDB - Big Data mit Open Source
MongoDB - Big Data mit Open SourceMongoDB - Big Data mit Open Source
MongoDB - Big Data mit Open SourceB1 Systems GmbH
 
The Computer Scientist and the Cleaner v4
The Computer Scientist and the Cleaner v4The Computer Scientist and the Cleaner v4
The Computer Scientist and the Cleaner v4turingfan
 
Computational Approaches to Systems Biology
Computational Approaches to Systems BiologyComputational Approaches to Systems Biology
Computational Approaches to Systems BiologyMike Hucka
 
PO WER - XX LO Gdańsk - Alan Turing
PO WER - XX LO Gdańsk - Alan TuringPO WER - XX LO Gdańsk - Alan Turing
PO WER - XX LO Gdańsk - Alan TuringAgnieszka J.
 
Do you know what k-Means? Cluster-Analysen
Do you know what k-Means? Cluster-Analysen Do you know what k-Means? Cluster-Analysen
Do you know what k-Means? Cluster-Analysen Harald Erb
 

Destaque (20)

Computational Systems Biology (JCSB)
Computational Systems Biology (JCSB)Computational Systems Biology (JCSB)
Computational Systems Biology (JCSB)
 
Data Scientist - The Sexiest Job of the 21st Century?
Data Scientist - The Sexiest Job of the 21st Century?Data Scientist - The Sexiest Job of the 21st Century?
Data Scientist - The Sexiest Job of the 21st Century?
 
Systems biology: Bioinformatics on complete biological system
Systems biology: Bioinformatics on complete biological systemSystems biology: Bioinformatics on complete biological system
Systems biology: Bioinformatics on complete biological system
 
Tutorial 1: Your First Science App - Araport Developer Workshop
Tutorial 1: Your First Science App - Araport Developer WorkshopTutorial 1: Your First Science App - Araport Developer Workshop
Tutorial 1: Your First Science App - Araport Developer Workshop
 
Day in the Life of a Computer Scientist
Day in the Life of a Computer ScientistDay in the Life of a Computer Scientist
Day in the Life of a Computer Scientist
 
System biology and its tools
System biology and its toolsSystem biology and its tools
System biology and its tools
 
IBM - Big Value from Big Data
IBM - Big Value from Big DataIBM - Big Value from Big Data
IBM - Big Value from Big Data
 
Alan Turing Scientist Unlimited | Turing100@Persistent Systems
Alan Turing Scientist Unlimited | Turing100@Persistent SystemsAlan Turing Scientist Unlimited | Turing100@Persistent Systems
Alan Turing Scientist Unlimited | Turing100@Persistent Systems
 
COMPUTATIONAL BIOLOGY
COMPUTATIONAL BIOLOGYCOMPUTATIONAL BIOLOGY
COMPUTATIONAL BIOLOGY
 
Computational Biology and Bioinformatics
Computational Biology and BioinformaticsComputational Biology and Bioinformatics
Computational Biology and Bioinformatics
 
Multi-omics infrastructure and data for R/Bioconductor
Multi-omics infrastructure and data for R/BioconductorMulti-omics infrastructure and data for R/Bioconductor
Multi-omics infrastructure and data for R/Bioconductor
 
Analytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
Analytics meets Big Data – R/Python auf der Hadoop/Spark-PlattformAnalytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
Analytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
 
MongoDB - Big Data mit Open Source
MongoDB - Big Data mit Open SourceMongoDB - Big Data mit Open Source
MongoDB - Big Data mit Open Source
 
The Computer Scientist and the Cleaner v4
The Computer Scientist and the Cleaner v4The Computer Scientist and the Cleaner v4
The Computer Scientist and the Cleaner v4
 
Computational Approaches to Systems Biology
Computational Approaches to Systems BiologyComputational Approaches to Systems Biology
Computational Approaches to Systems Biology
 
Zwischen Browser, Code & Photoshop - aus dem Leben eines Webworkers
Zwischen Browser, Code & Photoshop - aus dem Leben eines WebworkersZwischen Browser, Code & Photoshop - aus dem Leben eines Webworkers
Zwischen Browser, Code & Photoshop - aus dem Leben eines Webworkers
 
Python for Data Science
Python for Data SciencePython for Data Science
Python for Data Science
 
LSESU a Taste of R Language Workshop
LSESU a Taste of R Language WorkshopLSESU a Taste of R Language Workshop
LSESU a Taste of R Language Workshop
 
PO WER - XX LO Gdańsk - Alan Turing
PO WER - XX LO Gdańsk - Alan TuringPO WER - XX LO Gdańsk - Alan Turing
PO WER - XX LO Gdańsk - Alan Turing
 
Do you know what k-Means? Cluster-Analysen
Do you know what k-Means? Cluster-Analysen Do you know what k-Means? Cluster-Analysen
Do you know what k-Means? Cluster-Analysen
 

Semelhante a Apps for Science - Elsevier Developer Network Workshop 201102

China Science Challenge
China Science ChallengeChina Science Challenge
China Science Challengeremko caprio
 
Jaoo - Open Social A Standard For The Social Web
Jaoo - Open Social A Standard For The Social WebJaoo - Open Social A Standard For The Social Web
Jaoo - Open Social A Standard For The Social WebPatrick Chanezon
 
OpenSocial Intro
OpenSocial IntroOpenSocial Intro
OpenSocial IntroPamela Fox
 
Google Devfest Singapore - OpenSocial
Google Devfest Singapore - OpenSocialGoogle Devfest Singapore - OpenSocial
Google Devfest Singapore - OpenSocialPatrick Chanezon
 
OGCE Project Overview
OGCE Project OverviewOGCE Project Overview
OGCE Project Overviewmarpierc
 
Future of Web Development
Future of Web DevelopmentFuture of Web Development
Future of Web DevelopmentZeno Rocha
 
Java y Ciencia de Datos - Java Day Ecuador
Java y Ciencia de Datos - Java Day EcuadorJava y Ciencia de Datos - Java Day Ecuador
Java y Ciencia de Datos - Java Day Ecuadorjorgaf
 
BarCamp KL H20 Open Social Hackathon
BarCamp KL H20 Open Social HackathonBarCamp KL H20 Open Social Hackathon
BarCamp KL H20 Open Social Hackathonmarvin337
 
Playing with parse.com
Playing with parse.comPlaying with parse.com
Playing with parse.comJUG Genova
 
Goodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social UpdateGoodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social UpdatePatrick Chanezon
 
Goodle Developer Days London 2008 - Open Social Update
Goodle Developer Days London 2008 - Open Social UpdateGoodle Developer Days London 2008 - Open Social Update
Goodle Developer Days London 2008 - Open Social UpdatePatrick Chanezon
 
Mashups & APIs
Mashups & APIsMashups & APIs
Mashups & APIsPamela Fox
 
API Technical Writing
API Technical WritingAPI Technical Writing
API Technical WritingSarah Maddox
 

Semelhante a Apps for Science - Elsevier Developer Network Workshop 201102 (20)

China Science Challenge
China Science ChallengeChina Science Challenge
China Science Challenge
 
Jaoo - Open Social A Standard For The Social Web
Jaoo - Open Social A Standard For The Social WebJaoo - Open Social A Standard For The Social Web
Jaoo - Open Social A Standard For The Social Web
 
OpenSocial Intro
OpenSocial IntroOpenSocial Intro
OpenSocial Intro
 
Google Devfest Singapore - OpenSocial
Google Devfest Singapore - OpenSocialGoogle Devfest Singapore - OpenSocial
Google Devfest Singapore - OpenSocial
 
OGCE Project Overview
OGCE Project OverviewOGCE Project Overview
OGCE Project Overview
 
Future of Web Development
Future of Web DevelopmentFuture of Web Development
Future of Web Development
 
Open social
Open socialOpen social
Open social
 
SEA Open Hack - YAP
SEA Open Hack - YAPSEA Open Hack - YAP
SEA Open Hack - YAP
 
Hi5 Open Social
Hi5   Open SocialHi5   Open Social
Hi5 Open Social
 
YAP / Open Mail Overview
YAP / Open Mail OverviewYAP / Open Mail Overview
YAP / Open Mail Overview
 
Java y Ciencia de Datos - Java Day Ecuador
Java y Ciencia de Datos - Java Day EcuadorJava y Ciencia de Datos - Java Day Ecuador
Java y Ciencia de Datos - Java Day Ecuador
 
BarCamp KL H20 Open Social Hackathon
BarCamp KL H20 Open Social HackathonBarCamp KL H20 Open Social Hackathon
BarCamp KL H20 Open Social Hackathon
 
Playing with parse.com
Playing with parse.comPlaying with parse.com
Playing with parse.com
 
Goodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social UpdateGoodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social Update
 
Opensocial
OpensocialOpensocial
Opensocial
 
Goodle Developer Days London 2008 - Open Social Update
Goodle Developer Days London 2008 - Open Social UpdateGoodle Developer Days London 2008 - Open Social Update
Goodle Developer Days London 2008 - Open Social Update
 
Mashups & APIs
Mashups & APIsMashups & APIs
Mashups & APIs
 
API Technical Writing
API Technical WritingAPI Technical Writing
API Technical Writing
 
Swift meetup22june2015
Swift meetup22june2015Swift meetup22june2015
Swift meetup22june2015
 
Spring Surf 101
Spring Surf 101Spring Surf 101
Spring Surf 101
 

Último

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 

Último (20)

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 

Apps for Science - Elsevier Developer Network Workshop 201102

  • 1. Apps for Science Elsevier | Developer Network
  • 2. WorkShop – OpenSocial Gadgets for Science Web 2.0 – Much to do about … a lot Gadgets Widgets IFrame HTML5 Browser Add-ons Plugins Facebook Apps Mobile Apps Web2.0 Open API Open Data Open Gov JavaScript Linked Data
  • 3. WorkShop – OpenSocial Gadgets for Science Web 2.0 – iGoogle is Apps
  • 4. 1 billion downloads 350,000 Apps WorkShop – OpenSocial Gadgets for Science Web 2.0 - Mobile Apps is Apps
  • 5. WorkShop – OpenSocial Gadgets for Science Web 2.0 – Browser Plugins is Apps Opera Browser – 2.5% IE – 26% Mozilla – 42.8% Chrome – 23.8% Safari - 4%
  • 6. WorkShop – OpenSocial Gadgets for Science Web 2.0 - Facebook is Apps Facebook Apps 500 million users
  • 7. WorkShop – OpenSocial Gadgets for Science SciVerse is OpenSocial - Facebook versus OpenSocial
  • 8. WorkShop – OpenSocial Gadgets for Science SciVerse is OpenSocial Facebook versus OpenSocial 500 million versus 900 million users
  • 9. WorkShop – OpenSocial Gadgets for Science SciVerse is Innovation in STM Publishing Gutenberg Printing Press 1440 Lodewijk Elsevir 1580
  • 10. WorkShop – OpenSocial Gadgets for Science World Wide Web Tim Berners-Lee - first Web Server (EVER) 1990
  • 11. WorkShop – OpenSocial Gadgets for Science ScienceDirect Online – more than 10 million scientific articles
  • 12. WorkShop – OpenSocial Gadgets for Science Scopus online – 40 million abstracts
  • 13. WorkShop – OpenSocial Gadgets for Science SciVerse Apps – HTML, JavaScript, APIs What is an App? The IFRAME Revolution <iframe src=&quot;iframe1.html&quot; width=“400&quot; height=“200&quot;> </iframe> <script type=‘text/javascript’> Function fnWrite() { getElementById(‘content-div’).innerHTML = “ HelloWorld”; } </script> <div id=‘content-div’></div>
  • 14. WorkShop – OpenSocial Gadgets for Science What are APIs? What is a Mashup? API API SciVerse APIs <script type=‘text/javascript’> url1 = ‘http://api.sciverse.com/search’; data1 = makeUrlRequest(url1); param1=data1[0]; url2 = ‘http://api.nytimes.com/search’; data2 = makeUrlRequest(url2, param1); mashup = data2; getElementById(‘div1’) = mashup; </script> sciencedirect scopus
  • 15. WorkShop – OpenSocial Gadgets for Science SciVerse
  • 16. WorkShop – OpenSocial Gadgets for Science SciVerse Content API Content API - Search http://api.elsevier.com/content/search/index:CLUSTER?query=xx&view=VIEW CLUSTER HUB, SCIDIR, SCOPUS, AUTHOR, AFFILIATION VIEW STANDARD, COMPLETE query date Content API - Retrieval http://api.elsevier.com/content/CONTENT-CATEGORY/LABEL:ID?view=VIEW CONTENT-CATEGORY article, abstract, author, affiliation LABEL EID, PII, DOI, SCOPUS_ID, AUTHOR_ID, AFFIL_ID, PUBMED_ID VIEW META, REF, FULL, LIGHT, STANDARD
  • 17. WorkShop – OpenSocial Gadgets for Science SciVerse – Framework API SciVerse – Framework API gadgets.sciverse.getAllResults(callback) gadgets.sciverse.getArticleContent(callback) gadgets.sciverse.getContextInfo(callback) gadgets.sciverse.getPageUrl(callback) gadgets.sciverse.getResults(requestedResults, callback) gadgets.sciverse.invokeResultsView(resultIndex, viewParams) gadgets.sciverse.makeContentApiRequest(url, callback, requestHeaders) gadgets.sciverse.makeRequest(url, callback, params) gadgets.hub.executeSearch(searchTerms)
  • 18. WorkShop – OpenSocial Gadgets for Science SciVerse – Framework API - ContextInfo accountId, artNum, au1, au1First, au1Init, au1Suffix, au1Sur, auCorp, authorKeywords, date, docTitle, doi, entitlement, genre, indexTerms, individualUser, isbn, issn, issue, keywords, offset, originPage, otherKeywords, pageContentDivTagName, pages, pageType, part, partTitle, partValue, pii, platform, scDocId, scopusFlag, searchQuery, searchTerms, secureAuthToken , sortOrder, sPage, srcTitle, ssn, timestamp, volume, year function getContextInfoCallback(result){ // get authtoken for content API call var authtoken = result.secureAuthtoken; var searchterm = result.searchTerms; } <script type=&quot;text/javascript&quot;> var prefs = new gadgets.Prefs(); var authToken = prefs.getString(&quot;secureAuthtoken&quot;);                                </script>
  • 19. WorkShop – OpenSocial Gadgets for Science SciVerse – Content API var requestHeaders = {}; requestHeaders['X-ELS-APIKey'] = your-API-key; requestHeaders['X-ELS-Authtoken'] = authtoken; requestHeaders['Accept'] = &quot;application/json&quot;; var params = {}; params[gadgets.io.RequestParameters.HEADERS] = requestHeaders; // only necessary when using gadgets.io.makeRequest //params[gadgets.io.RequestParameters.AUTHORIZATION] = gadgets.io.AuthorizationType.NONE; //params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.JSON; gadgets.sciverse.makeContentApiRequest(url, callback, params);
  • 20. WorkShop – OpenSocial Gadgets for Science SciVerse – Mashup <script type=‘text/javascript’> Var myapikey = ‘aaaass223ssss’; Function fnCreateMashup(){ gadgets.sciverse.getContextInfo(fnContextInfoCallback); } Funtion fnContentInfoCallback(response){ var search = response.searchQuery; var url = ‘http://api.nytimes.com/svc/search/v1/article?query=‘+search+’&api-key=‘+myapikey+ ‘ format=json’; var params = { ‘ href’ : url, ‘ format’ : ‘json’, ‘ authz’ : ‘none’ }; osapi.http.get(params1).execute(fnNyTimesCallback); } Function fnNyTimesCallback(nytimesResponse) { var output = ‘’; // using jquery $.each(nytimesResponse.content.results, function(I, result){ output = output + result.data + ‘ – ‘ + result.title; } } Gadgets.util.registerOnLoadHandler(fnCreateMashup); </script>
  • 21. WorkShop – OpenSocial Gadgets for Science SciVerse – OpenSocial Definition File <?xml version= &quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <Module> <ModulePrefs title= &quot;SciVerseExamples-ContentAPICall1&quot; author_email=&quot;CaprioR@your.domain&quot;> <Require feature= &quot;opensocial-0.9&quot; /> <Require feature= &quot;sciverse&quot; /> <Require feature= &quot;hub&quot; /> <Require feature= &quot;org.jquery.core-1.4.2&quot; /> </ModulePrefs> <Content type= &quot;html&quot; view=&quot;canvas&quot;><![CDATA[ <!-- The code for Canvas view is here. --> ]]></Content> <Content type= &quot;html&quot; view=&quot;profile&quot;><![CDATA[ Profile View ]]></Content> <Content type= &quot;html&quot; view=&quot;sciverseResultsView&quot;><![CDATA[ <!-- The code for Sciverse Results View view is here. --> <div>Sciverse Results View view for SciVerseExamples-ContentAPICall1.</div> ]]></Content> </Module>
  • 22. WorkShop – OpenSocial Gadgets for Science SciVerse – Integration Points view Integration point profile Hub - Home page, Search Results page ScienceDirect- Full Text Article page, Search Results page Scopus - Record page canvas New full page sciverseResultsView Hub - Search Results page (under each result) ScienceDirect - Search Results page (under each result)
  • 23. WorkShop – OpenSocial Gadgets for Science SciVerse – Resources SciVerse – SDK plugin for Eclipse http://developer.sciverse.com/sdk SciVerse – Content API http://developer.sciverse.com/api SciVerse – Framework API http://developer.sciverse.com/framework Follow @SciVerseDev http://twitter.com/sciversedev Developer Blog http://developer.sciverse.com/blog Apps For Science http://www.appsforscience.com Developer Events - Hack For Science http://www.hackforscience.com