SlideShare uma empresa Scribd logo
1 de 38
Documents intéractifs CGI - JavaScript Saïd Radhouani  Université de Genève avril 2005
Introduction ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
CGI – Common Gateway Interface ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
CGI - généralités ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
CGI – principe de fonctionnement ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
CGI – principe de fonctionnement ,[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI Navigateur  web (client) <html> … </html> http://www. ...[paramètres] page html Serveur Web La page HTML est créée en fonction de la requête HTTP Le client reçoit la page dont le contenu est créé en temps réel Chaque client reçoit une page dont le contenu est dépendant de sa requête
Les formulaires ,[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Les formulaires -  La balise FORM ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Les formulaires - La balise FORM ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Les formulaires - La balise FORM ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Les formulaires - Envoi des données ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Les formulaires - La balsie INPUT  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Les formulaires - Champ de saisi 04 avril 2005 Saïd Radhouani - CUI
Les formulaires - Champ de saisi ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Les formulaires - Cases à cocher ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Les formulaires - Bonton option ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Les formulaires - La balise SELECT ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Les formulaires - La balise SELECT ,[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Les formulaires - Groupement dans une sélection ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Les formulaires - Regroupement d’éléments ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Les formulaires - Sélection d’un fichier ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Les formulaires - Champs cachés ,[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Les formulaires - Bouton SUBMIT/RESET ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Démos ,[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Introduction à JavaScript contr ôle des champs d’un formulaire
Langage de script - JavaScript  ,[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI ------------ ------------   ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ HTML Script <SCRIPT language=&quot;Javascript&quot;> L e code d u  script  </SCRIPT  >
Web intéractif ,[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI Navigateur  web (client) <html> … < javascript …> … </html> http://www.unige.ch/… Serveur Web Interpréteur Java script page html
JavaScript - Utilisation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
JavaScript ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
javaScript - Variables ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
javaScript - Quelques opérateurs ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
JavaScript : Structures de contrôle ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
javaScript : Structures de contrôle ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
JavaScript : Boucles ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
JavaScript : Fonctions ,[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
JavaScript : Evénements ,[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
JavaScript- Contr ôle des champs d’un formulaire ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI
Liens tiles ,[object Object],[object Object],04 avril 2005 Saïd Radhouani - CUI

Mais conteúdo relacionado

Destaque

Cultiva olivos para aceitunas de mesa
Cultiva olivos para aceitunas de mesaCultiva olivos para aceitunas de mesa
Cultiva olivos para aceitunas de mesaGlen Kane
 
2010 09-15 lock-schuppencoworking
2010 09-15 lock-schuppencoworking2010 09-15 lock-schuppencoworking
2010 09-15 lock-schuppencoworkingRalf Lippold
 
Desert沙漠
Desert沙漠Desert沙漠
Desert沙漠Jaing Lai
 
Presentación1
Presentación1Presentación1
Presentación1ewoods000
 
Catalogue LCSN 2011: Formation Professionnelle Management, Négociation, Gesti...
Catalogue LCSN 2011: Formation Professionnelle Management, Négociation, Gesti...Catalogue LCSN 2011: Formation Professionnelle Management, Négociation, Gesti...
Catalogue LCSN 2011: Formation Professionnelle Management, Négociation, Gesti...lindabachammar
 
Green IT - Invesstissements et philosophie d'entreprise
Green IT - Invesstissements et philosophie d'entrepriseGreen IT - Invesstissements et philosophie d'entreprise
Green IT - Invesstissements et philosophie d'entrepriseAastraBelgium
 
Je vais + transport + who with + how long
Je vais + transport + who with + how longJe vais + transport + who with + how long
Je vais + transport + who with + how longfausto2007
 
Résultats enquête - Les blogueurs de vin francophones : profils, motivations ...
Résultats enquête - Les blogueurs de vin francophones : profils, motivations ...Résultats enquête - Les blogueurs de vin francophones : profils, motivations ...
Résultats enquête - Les blogueurs de vin francophones : profils, motivations ...glemperiere
 
Utopolis mechelen stagepresentatie
Utopolis mechelen   stagepresentatieUtopolis mechelen   stagepresentatie
Utopolis mechelen stagepresentatieCharissa121
 
10 juillet 2011 lausanne
10 juillet 2011   lausanne10 juillet 2011   lausanne
10 juillet 2011 lausanneadsarclemanique
 

Destaque (16)

Cultiva olivos para aceitunas de mesa
Cultiva olivos para aceitunas de mesaCultiva olivos para aceitunas de mesa
Cultiva olivos para aceitunas de mesa
 
2010 09-15 lock-schuppencoworking
2010 09-15 lock-schuppencoworking2010 09-15 lock-schuppencoworking
2010 09-15 lock-schuppencoworking
 
3 juin 2012 renens
3 juin 2012   renens3 juin 2012   renens
3 juin 2012 renens
 
Desert沙漠
Desert沙漠Desert沙漠
Desert沙漠
 
Algorythm
AlgorythmAlgorythm
Algorythm
 
Presentación1
Presentación1Presentación1
Presentación1
 
Catalogue LCSN 2011: Formation Professionnelle Management, Négociation, Gesti...
Catalogue LCSN 2011: Formation Professionnelle Management, Négociation, Gesti...Catalogue LCSN 2011: Formation Professionnelle Management, Négociation, Gesti...
Catalogue LCSN 2011: Formation Professionnelle Management, Négociation, Gesti...
 
Le temps
Le tempsLe temps
Le temps
 
Description du projet 2 logos
Description du projet 2 logosDescription du projet 2 logos
Description du projet 2 logos
 
Green IT - Invesstissements et philosophie d'entreprise
Green IT - Invesstissements et philosophie d'entrepriseGreen IT - Invesstissements et philosophie d'entreprise
Green IT - Invesstissements et philosophie d'entreprise
 
Je vais + transport + who with + how long
Je vais + transport + who with + how longJe vais + transport + who with + how long
Je vais + transport + who with + how long
 
Résultats enquête - Les blogueurs de vin francophones : profils, motivations ...
Résultats enquête - Les blogueurs de vin francophones : profils, motivations ...Résultats enquête - Les blogueurs de vin francophones : profils, motivations ...
Résultats enquête - Les blogueurs de vin francophones : profils, motivations ...
 
Utopolis mechelen stagepresentatie
Utopolis mechelen   stagepresentatieUtopolis mechelen   stagepresentatie
Utopolis mechelen stagepresentatie
 
19 juin 2011
19 juin 201119 juin 2011
19 juin 2011
 
10 juillet 2011 lausanne
10 juillet 2011   lausanne10 juillet 2011   lausanne
10 juillet 2011 lausanne
 
Pune2
Pune2Pune2
Pune2
 

Semelhante a Documents intéractifs

Publication de documents sur le Web
Publication de documents sur le WebPublication de documents sur le Web
Publication de documents sur le WebSaïd Radhouani
 
Active Server Pages (ASP)
Active Server Pages (ASP)Active Server Pages (ASP)
Active Server Pages (ASP)Saïd Radhouani
 
Introduction au langage PHP (2éme partie) élaborée par Marouan OMEZZINE
Introduction au langage PHP (2éme partie) élaborée par Marouan OMEZZINEIntroduction au langage PHP (2éme partie) élaborée par Marouan OMEZZINE
Introduction au langage PHP (2éme partie) élaborée par Marouan OMEZZINEMarouan OMEZZINE
 
Jump Camp - HTML5
Jump Camp - HTML5Jump Camp - HTML5
Jump Camp - HTML5chaudavid
 
Apprendre Solr en deux heures
Apprendre Solr en deux heuresApprendre Solr en deux heures
Apprendre Solr en deux heuresSaïd Radhouani
 
PHP (Partie II) Par Mahdi Ben Alaya
PHP (Partie II) Par Mahdi Ben AlayaPHP (Partie II) Par Mahdi Ben Alaya
PHP (Partie II) Par Mahdi Ben AlayaMahdi Ben Alaya
 
Symfony2 - Un Framework PHP 5 Performant
Symfony2 - Un Framework PHP 5 PerformantSymfony2 - Un Framework PHP 5 Performant
Symfony2 - Un Framework PHP 5 PerformantHugo Hamon
 
Rest pour l'interopérabilité
Rest pour l'interopérabilitéRest pour l'interopérabilité
Rest pour l'interopérabilitépeportier
 
Rest ful architecture
Rest ful architectureRest ful architecture
Rest ful architecturezaghir
 
Site Web Centrale Eco
Site Web   Centrale EcoSite Web   Centrale Eco
Site Web Centrale Ecom.dubucq
 
Resource Oriented Architecture
Resource Oriented ArchitectureResource Oriented Architecture
Resource Oriented ArchitectureDNG Consulting
 
Introduction aux technologies du Web (2)
Introduction aux technologies du Web (2)Introduction aux technologies du Web (2)
Introduction aux technologies du Web (2)Saïd Radhouani
 
Referencement et performance pour sites E-commerce
Referencement et performance pour sites E-commerceReferencement et performance pour sites E-commerce
Referencement et performance pour sites E-commerceMohammed ALAMI ✅
 
C5 Javascript French
C5 Javascript FrenchC5 Javascript French
C5 Javascript FrenchVlad Posea
 

Semelhante a Documents intéractifs (20)

Publication de documents sur le Web
Publication de documents sur le WebPublication de documents sur le Web
Publication de documents sur le Web
 
Active Server Pages (ASP)
Active Server Pages (ASP)Active Server Pages (ASP)
Active Server Pages (ASP)
 
Introduction au langage PHP (2éme partie) élaborée par Marouan OMEZZINE
Introduction au langage PHP (2éme partie) élaborée par Marouan OMEZZINEIntroduction au langage PHP (2éme partie) élaborée par Marouan OMEZZINE
Introduction au langage PHP (2éme partie) élaborée par Marouan OMEZZINE
 
Jump Camp - HTML5
Jump Camp - HTML5Jump Camp - HTML5
Jump Camp - HTML5
 
Apprendre Solr en deux heures
Apprendre Solr en deux heuresApprendre Solr en deux heures
Apprendre Solr en deux heures
 
PHP (Partie II) Par Mahdi Ben Alaya
PHP (Partie II) Par Mahdi Ben AlayaPHP (Partie II) Par Mahdi Ben Alaya
PHP (Partie II) Par Mahdi Ben Alaya
 
Atelier template
Atelier templateAtelier template
Atelier template
 
Symfony2 - Un Framework PHP 5 Performant
Symfony2 - Un Framework PHP 5 PerformantSymfony2 - Un Framework PHP 5 Performant
Symfony2 - Un Framework PHP 5 Performant
 
Rest pour l'interopérabilité
Rest pour l'interopérabilitéRest pour l'interopérabilité
Rest pour l'interopérabilité
 
HTML
HTMLHTML
HTML
 
Introduction à PHP
Introduction à PHPIntroduction à PHP
Introduction à PHP
 
Rest ful architecture
Rest ful architectureRest ful architecture
Rest ful architecture
 
Site Web Centrale Eco
Site Web   Centrale EcoSite Web   Centrale Eco
Site Web Centrale Eco
 
Mpdf 9
Mpdf 9Mpdf 9
Mpdf 9
 
Resource Oriented Architecture
Resource Oriented ArchitectureResource Oriented Architecture
Resource Oriented Architecture
 
Introduction aux technologies du Web (2)
Introduction aux technologies du Web (2)Introduction aux technologies du Web (2)
Introduction aux technologies du Web (2)
 
Referencement et performance pour sites E-commerce
Referencement et performance pour sites E-commerceReferencement et performance pour sites E-commerce
Referencement et performance pour sites E-commerce
 
Html5 & ie
Html5 & ieHtml5 & ie
Html5 & ie
 
Association 2 0
Association 2 0Association 2 0
Association 2 0
 
C5 Javascript French
C5 Javascript FrenchC5 Javascript French
C5 Javascript French
 

Mais de Saïd Radhouani

Anatomy of Search Relevance: From Data To Action
Anatomy of Search Relevance: From Data To ActionAnatomy of Search Relevance: From Data To Action
Anatomy of Search Relevance: From Data To ActionSaïd Radhouani
 
PhD Defense Presentation - Soutenance de thèse
PhD Defense Presentation - Soutenance de thèse PhD Defense Presentation - Soutenance de thèse
PhD Defense Presentation - Soutenance de thèse Saïd Radhouani
 
PhD Dissertation - Manuscrit de thèse de doctorat
PhD Dissertation - Manuscrit de thèse de doctoratPhD Dissertation - Manuscrit de thèse de doctorat
PhD Dissertation - Manuscrit de thèse de doctoratSaïd Radhouani
 
Introduction à l\'e-learnining
Introduction à l\'e-learniningIntroduction à l\'e-learnining
Introduction à l\'e-learniningSaïd Radhouani
 
Introduction aux technologies du Web (1)
Introduction aux technologies du Web (1)Introduction aux technologies du Web (1)
Introduction aux technologies du Web (1)Saïd Radhouani
 
Introduction à la Recherche d'information
Introduction à la Recherche d'informationIntroduction à la Recherche d'information
Introduction à la Recherche d'informationSaïd Radhouani
 

Mais de Saïd Radhouani (13)

Anatomy of Search Relevance: From Data To Action
Anatomy of Search Relevance: From Data To ActionAnatomy of Search Relevance: From Data To Action
Anatomy of Search Relevance: From Data To Action
 
PhD Defense Presentation - Soutenance de thèse
PhD Defense Presentation - Soutenance de thèse PhD Defense Presentation - Soutenance de thèse
PhD Defense Presentation - Soutenance de thèse
 
PhD Dissertation - Manuscrit de thèse de doctorat
PhD Dissertation - Manuscrit de thèse de doctoratPhD Dissertation - Manuscrit de thèse de doctorat
PhD Dissertation - Manuscrit de thèse de doctorat
 
Conception de sites Web
Conception de sites WebConception de sites Web
Conception de sites Web
 
Introduction à XML
Introduction à XMLIntroduction à XML
Introduction à XML
 
Introduction à l\'e-learnining
Introduction à l\'e-learniningIntroduction à l\'e-learnining
Introduction à l\'e-learnining
 
Introduction à XML
Introduction à XMLIntroduction à XML
Introduction à XML
 
Serveur Web (1)
Serveur Web (1)Serveur Web (1)
Serveur Web (1)
 
Serveur Web (2)
Serveur Web (2)Serveur Web (2)
Serveur Web (2)
 
SPIP
SPIPSPIP
SPIP
 
PHP &amp; MySQL
PHP &amp; MySQLPHP &amp; MySQL
PHP &amp; MySQL
 
Introduction aux technologies du Web (1)
Introduction aux technologies du Web (1)Introduction aux technologies du Web (1)
Introduction aux technologies du Web (1)
 
Introduction à la Recherche d'information
Introduction à la Recherche d'informationIntroduction à la Recherche d'information
Introduction à la Recherche d'information
 

Documents intéractifs

  • 1. Documents intéractifs CGI - JavaScript Saïd Radhouani Université de Genève avril 2005
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25. Introduction à JavaScript contr ôle des champs d’un formulaire
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.

Notas do Editor

  1. (FOR référence l’ID de l’attribut)
  2. Pour créer un bouton qui sera défini plus tard (par JavaScript, par exemple) &lt;input type=button&gt;