Opera 7 + F7
a(tom)Blog - le serveur
Yoan BLANC - 25 juin 2004 - EIAJ

a(tom)Blog - le serveur

Cours :

Application Internet

Professeur :

André Liechti

Table des matières

Introduction

L'idée

Faire un système centralisé de gestion de weblog (carnet web).

Intérets

Outils

Web Service

client serveur

Communication client-serveur via l'internet.

Atom

<?xml version="1.0" encoding='utf-8'?>
<entry xmlns="http://purl.org/atom/ns#">
	<title>Olé</title>
	<link rel="alternate" type="text/html" href="http://example.org/ole" />
	<id>tag:example.org,2004:ole</id>
	<issued>2004-03-15T12:03:55-05:00</issued>
	<content type="text/html">
	  <div xmlns="http://www.w3.org/1999/xhtml">
		<p>Hello World !</p>
	  </div>
	</content>
</entry>

AtomAPI

Le mode de communication.

Entrée
  • GET : obtention
  • POST : création
  • PUT : envoi
  • DELETE : suppresion
Fil
  • GET : obtention

XML / XSLT

Le language XML de manipulation XML.

Serveur

Fonctions

Et le tout entièrement valide : RSS, Atom et XHTML 1.0 Strict.

Fonctionnement

fonctionnement

  1. Requête HTTP
  2. Authentification (au besoin)
  3. Réalisation de l'action : Génération, Mise à jour, Suppression
  4. Réponse

Démonstraction

atom.dosimple.ch

Effet démo, me voici !

Conclusion

The END

Et ils vécurent heureux et eurent beaucoup d'enfants.

Merci de votre attention.