SlideShare una empresa de Scribd logo
1 de 46
Descargar para leer sin conexión
painless web development
avec Cozy
retour d'expérience

Pierre
J'ai codé à l'arrache, en mangeant des donuts
et en regardant des vidéos de chats rigolos.
Ensuite j'ai balancé sur github.
Pierre, oct 2013
Et voilà, j'avais mon lecteur de flux rss
qui marche suivant ma manière.
Pierre, oct 2013
retour d'expérience

Raphaël
Coder une app sur
Cozy,
c'est vraiment
nouveau.
Les usages potentiels
semblent se
démultiplier
au fur et a mesure
qu'on avance.
Raphaël, Oct 2013
Avec Cozy Cloud j'ai l'impression de faire
partie d'une révolution qui va transformer le
WEB.
Raphaël, Oct 2013
Avec Cozy Cloud j'ai l'impression de faire
partie d'une révolution qui va transformer le
WEB.
Raphaël, Oct 2013
retour d'expérience

Frank
J'étais bien content de retrouver toutes
mes données avec mon Cozy mais je
voulais aussi un outil pour en tirer parti.
Frank, Sept 2013
J'ai donc commencé à construire des analytics dessus. Ce qui
m'a amené à faire KYou, un outil de Quantified Self.
Frank, Sept 2013
Qui s'en sert ?
Public plutôt technophile mais des gens
plus proches de Mme Michu commence à
arriver.
3000 téléchargements d'app le mois
dernier.
Perspectives
L'Android des serveurs, des boxes.
OVH est déjà intéressé.
Les premières discussions avec Bouygues
et GDF arrivent.
Cozy c'est quoi
Votre cloud personel
Vos données

Vos web apps

Sur votre hardware
Interface type smartphone
Testez ici :
https://demo.cozycloud.cc

Interface type smartphone
je peux installer ma propre app
+
App
Collaboration
Coder votre app
Vos technos
+

+
+

+

+

+
+

+

+

+
conditions
Un fichier server.js
+
Manifeste NodeJS (package.json)
var express = require('express');
var app = express();
app.get('/', function(req, res){
res.send('Hello World');
});
app.listen(3000);
{
"name": "YourApp",
"description": "Your super app",
"keywords": [ "cozy" ],
"licenses": [{
"type": "AGPL v3.0",
"url": "http://www.gnu.org/licenses/agpl-3.0.html"
}],
"version": "0.1.0",
"homepage": "http://youraccount.github.io/yourapp",
"author": "You <you@cozycloud.cc>",
"contributors": ["You <you@cozycloud.cc>"],
"engines": { "node": "*" },
"main": "server.js",
"scripts":
{
"start": "node server.js"
},
"dependencies": {
"express": "*",
"sqlite": "*"
},
"repository": {
"type": "git",
"url": "git://github.com/youraccount/yourapp"
},,
}
ou technos Cozy
Data System
•

•
•

API Rest
• Documents JSON
• Fichiers
Droit d'accès
Publication/Souscription

backup et synchronisation
faciles
Réplication / backup
Réplication / backup

Synchronisation
# ODM classique
Note.create(data, function(err, note) {
console.log(id);
});
# Indexation
note.index(["title", "content"], function(err) {
Note.search("dragons", function(err, notes) {
...
});
});
# Fichiers
note.attachFile(file.path, {name: file.name}, function(err){
fileStream = note.getFile(name, function(err){
...
});
});

# Pub/Sub
realtime = new RealtimeAdapter(app, ['note.*']);
realtime.on('note.update', function(event, id) {
# do something...
});
conditions
Un fichier server.js
+
Manifeste NodeJS (package.json)
+
Paramètres Cozy (permissions)
 
{

}

"name": "YourApp",
"description": "Your super app",
"keywords": [ "cozy" ],
"licenses": [{
"type": "AGPL v3.0",
"url": "http://www.gnu.org/licenses/agpl-3.0.html"
}],
"version": "0.1.0",
"homepage": "http://youraccount.github.io/yourapp",
"author": "You <you@cozycloud.cc>",
"contributors": ["You <you@cozycloud.cc>"],
"engines": { "node": "*" },
"main": "server.js",
"scripts":
{
"start": "node server.js"
},
"dependencies": {
"express": "*",
"sqlite": "*"
},
"devDependencies": {},
"repository": {
"type": "git",
"url": "git://github.com/youraccount/yourapp"
},
"cozy-permissions": {
"Mail": {
"description": "Track the number of mails you receive each day."
},
"Task": {
"description": "Track the number of tasks you achieve each day."
}
}
"optionalDependencies": {},
1. Template d'application
$ cozy new yourapp

2. Environnement de dev isolé
$ cozy dev:init && cozy dev:start
3. Deploiement rapide
$ cozy deploy

4. Dev front-end facile
$ cd client && brunch w
Essayez le tutoriel
http://cozy.io/hack
Crédits photos : Pierre, Raphaël, Frank, Ben Garney, blaster_e11, CG94 Photos (Flickr)
Licences Creative Commons

Más contenido relacionado

Similar a Développement web sans souffrance avec Cozy

Hands on lab Elasticsearch
Hands on lab ElasticsearchHands on lab Elasticsearch
Hands on lab ElasticsearchDavid Pilato
 
Lyon JUG - Elasticsearch
Lyon JUG - ElasticsearchLyon JUG - Elasticsearch
Lyon JUG - ElasticsearchDavid Pilato
 
Elasticsearch - Montpellier JUG
Elasticsearch - Montpellier JUGElasticsearch - Montpellier JUG
Elasticsearch - Montpellier JUGDavid Pilato
 
Elasticsearch - OSDC France 2012
Elasticsearch - OSDC France 2012Elasticsearch - OSDC France 2012
Elasticsearch - OSDC France 2012David Pilato
 
Javascript as a first programming language : votre IC prête pour la révolution !
Javascript as a first programming language : votre IC prête pour la révolution !Javascript as a first programming language : votre IC prête pour la révolution !
Javascript as a first programming language : votre IC prête pour la révolution !VISEO
 
Azure camp 30 septembre spécial robotique
Azure camp 30 septembre spécial robotiqueAzure camp 30 septembre spécial robotique
Azure camp 30 septembre spécial robotiqueAymeric Weinbach
 
Paris data geek - Elasticsearch
Paris data geek - ElasticsearchParis data geek - Elasticsearch
Paris data geek - ElasticsearchDavid Pilato
 
Développer une application android en 2015
Développer une application android  en 2015Développer une application android  en 2015
Développer une application android en 2015Florent Champigny
 
Je configure mes serveurs avec fabric et fabtools
Je configure mes serveurs avec fabric et fabtoolsJe configure mes serveurs avec fabric et fabtools
Je configure mes serveurs avec fabric et fabtoolsRonan Amicel
 
Innovathon - Technologies mises à disposition
Innovathon - Technologies mises à dispositionInnovathon - Technologies mises à disposition
Innovathon - Technologies mises à dispositionBeMyApp
 
Elasticsearch - Esme sudria
Elasticsearch - Esme sudriaElasticsearch - Esme sudria
Elasticsearch - Esme sudriaDavid Pilato
 
DevOps, freedom to get stuff done
DevOps, freedom to get stuff doneDevOps, freedom to get stuff done
DevOps, freedom to get stuff doneAhmed Bessifi
 
Prise en main de Jhipster
Prise en main de JhipsterPrise en main de Jhipster
Prise en main de JhipsterKokou Gaglo
 
La Duck Conf 2018 : "How to make your mobile happy?"
La Duck Conf 2018 : "How to make your mobile happy?"La Duck Conf 2018 : "How to make your mobile happy?"
La Duck Conf 2018 : "How to make your mobile happy?"OCTO Technology
 

Similar a Développement web sans souffrance avec Cozy (20)

Cozy, a Personal PaaS
Cozy, a Personal PaaSCozy, a Personal PaaS
Cozy, a Personal PaaS
 
Hands on lab Elasticsearch
Hands on lab ElasticsearchHands on lab Elasticsearch
Hands on lab Elasticsearch
 
Lyon JUG - Elasticsearch
Lyon JUG - ElasticsearchLyon JUG - Elasticsearch
Lyon JUG - Elasticsearch
 
Elasticsearch - Montpellier JUG
Elasticsearch - Montpellier JUGElasticsearch - Montpellier JUG
Elasticsearch - Montpellier JUG
 
Elasticsearch - OSDC France 2012
Elasticsearch - OSDC France 2012Elasticsearch - OSDC France 2012
Elasticsearch - OSDC France 2012
 
Javascript as a first programming language : votre IC prête pour la révolution !
Javascript as a first programming language : votre IC prête pour la révolution !Javascript as a first programming language : votre IC prête pour la révolution !
Javascript as a first programming language : votre IC prête pour la révolution !
 
Azure camp 30 septembre spécial robotique
Azure camp 30 septembre spécial robotiqueAzure camp 30 septembre spécial robotique
Azure camp 30 septembre spécial robotique
 
Paris data geek - Elasticsearch
Paris data geek - ElasticsearchParis data geek - Elasticsearch
Paris data geek - Elasticsearch
 
Mysql
MysqlMysql
Mysql
 
Développer une application android en 2015
Développer une application android  en 2015Développer une application android  en 2015
Développer une application android en 2015
 
Je configure mes serveurs avec fabric et fabtools
Je configure mes serveurs avec fabric et fabtoolsJe configure mes serveurs avec fabric et fabtools
Je configure mes serveurs avec fabric et fabtools
 
Innovathon - Technologies mises à disposition
Innovathon - Technologies mises à dispositionInnovathon - Technologies mises à disposition
Innovathon - Technologies mises à disposition
 
NodeJs in real life
NodeJs in real lifeNodeJs in real life
NodeJs in real life
 
Elasticsearch - Esme sudria
Elasticsearch - Esme sudriaElasticsearch - Esme sudria
Elasticsearch - Esme sudria
 
L'univers Android
L'univers AndroidL'univers Android
L'univers Android
 
DevOps, freedom to get stuff done
DevOps, freedom to get stuff doneDevOps, freedom to get stuff done
DevOps, freedom to get stuff done
 
Prise en main de Jhipster
Prise en main de JhipsterPrise en main de Jhipster
Prise en main de Jhipster
 
Chap android
Chap androidChap android
Chap android
 
La Duck Conf 2018 : "How to make your mobile happy?"
La Duck Conf 2018 : "How to make your mobile happy?"La Duck Conf 2018 : "How to make your mobile happy?"
La Duck Conf 2018 : "How to make your mobile happy?"
 
la réalité mélangée de A a Z
la réalité mélangée de A a Zla réalité mélangée de A a Z
la réalité mélangée de A a Z
 

Más de Frank Rousseau

Synchronisation de périphériques avec Javascript et PouchDB
Synchronisation de périphériques avec Javascript et PouchDBSynchronisation de périphériques avec Javascript et PouchDB
Synchronisation de périphériques avec Javascript et PouchDBFrank Rousseau
 
Device Synchronization with Javascript and PouchDB
Device Synchronization with Javascript and PouchDBDevice Synchronization with Javascript and PouchDB
Device Synchronization with Javascript and PouchDBFrank Rousseau
 
Comment les grands acteurs du web s'improvisent magiciens et jouent avec nos ...
Comment les grands acteurs du web s'improvisent magiciens et jouent avec nos ...Comment les grands acteurs du web s'improvisent magiciens et jouent avec nos ...
Comment les grands acteurs du web s'improvisent magiciens et jouent avec nos ...Frank Rousseau
 
20130528 solution linux_frousseau_nopain_webdev
20130528 solution linux_frousseau_nopain_webdev20130528 solution linux_frousseau_nopain_webdev
20130528 solution linux_frousseau_nopain_webdevFrank Rousseau
 
A startup with no office, hipster tools and open source products
A startup with no office, hipster tools and open source productsA startup with no office, hipster tools and open source products
A startup with no office, hipster tools and open source productsFrank Rousseau
 
How to make a Personal Single Page Application with Cozy
How to make a Personal Single Page Application with CozyHow to make a Personal Single Page Application with Cozy
How to make a Personal Single Page Application with CozyFrank Rousseau
 
How to quickly make REST APIs with CompoundJS
How to quickly make REST APIs with CompoundJSHow to quickly make REST APIs with CompoundJS
How to quickly make REST APIs with CompoundJSFrank Rousseau
 
Haibu: dev deployment is fast and easy again
Haibu: dev deployment is fast and easy againHaibu: dev deployment is fast and easy again
Haibu: dev deployment is fast and easy againFrank Rousseau
 
Cozy Cloud for RMLL 2012
Cozy Cloud for RMLL 2012Cozy Cloud for RMLL 2012
Cozy Cloud for RMLL 2012Frank Rousseau
 

Más de Frank Rousseau (12)

Synchronisation de périphériques avec Javascript et PouchDB
Synchronisation de périphériques avec Javascript et PouchDBSynchronisation de périphériques avec Javascript et PouchDB
Synchronisation de périphériques avec Javascript et PouchDB
 
Device Synchronization with Javascript and PouchDB
Device Synchronization with Javascript and PouchDBDevice Synchronization with Javascript and PouchDB
Device Synchronization with Javascript and PouchDB
 
Comment les grands acteurs du web s'improvisent magiciens et jouent avec nos ...
Comment les grands acteurs du web s'improvisent magiciens et jouent avec nos ...Comment les grands acteurs du web s'improvisent magiciens et jouent avec nos ...
Comment les grands acteurs du web s'improvisent magiciens et jouent avec nos ...
 
20130528 solution linux_frousseau_nopain_webdev
20130528 solution linux_frousseau_nopain_webdev20130528 solution linux_frousseau_nopain_webdev
20130528 solution linux_frousseau_nopain_webdev
 
A startup with no office, hipster tools and open source products
A startup with no office, hipster tools and open source productsA startup with no office, hipster tools and open source products
A startup with no office, hipster tools and open source products
 
How to make a Personal Single Page Application with Cozy
How to make a Personal Single Page Application with CozyHow to make a Personal Single Page Application with Cozy
How to make a Personal Single Page Application with Cozy
 
How to quickly make REST APIs with CompoundJS
How to quickly make REST APIs with CompoundJSHow to quickly make REST APIs with CompoundJS
How to quickly make REST APIs with CompoundJS
 
Haibu: dev deployment is fast and easy again
Haibu: dev deployment is fast and easy againHaibu: dev deployment is fast and easy again
Haibu: dev deployment is fast and easy again
 
Cozy Cloud, JDLL 2012
Cozy Cloud, JDLL 2012Cozy Cloud, JDLL 2012
Cozy Cloud, JDLL 2012
 
Newebe, JDLL 2012
Newebe, JDLL 2012Newebe, JDLL 2012
Newebe, JDLL 2012
 
Newebe for RMLL 2012
Newebe for RMLL 2012Newebe for RMLL 2012
Newebe for RMLL 2012
 
Cozy Cloud for RMLL 2012
Cozy Cloud for RMLL 2012Cozy Cloud for RMLL 2012
Cozy Cloud for RMLL 2012
 

Développement web sans souffrance avec Cozy