background preloader

Json

Facebook Twitter

Lightweight Visual Thesaurus, v. 0.2. JSON 2 HTML. Picture this: You are driving at 60 km/h when a six-year old child runs out on to the road 30 metres in front of you. Could you stop in time? Buzz can tell you. What is buzz? Buzz is a reaction tester game; it tests you on your ability to react to changes on the screen. How to play? Click Login to create a username or to login using an existing username. Play online Download You can download buzz to play it without opening your web browser. High scores How you're scored First, the length of time between the button changing to "Click Me! " Copyright © 2007 Brenton Fletcher. QuirksBlog: The AJAX response: XML, HTML, or JSON? Page last changed today Since my last AJAX project I've increasingly been wondering about the "ideal" output format for the AJAX response. Once you've succesfully fired an AJAX request, what sort of response should the server give?

An XML document? An HTML snippet? A JSON string which is converted to a JavaScript object? (This article has been translated into Spanish.) When you receive an additional bit of data for your AJAX application, you should start up a script that incorporates this extra data into your single-page HTML interface. In my last project I received some data as XML documents and some as HTML snippets, and they needed different kinds of scripts to write the data to the page. After I'd finished the application I delved a bit deeper into JavaScript Object Notation, invented by Douglas Crockford and recently chosen as the default output format for most Yahoo services, and I think I like it, although I've never yet used it.

I'm left wondering: which format is the best? No. Json Parser Online. Introduction à AJAX et interaction avec PHP - Club d'entraide des développeurs francophones. I-A. Remerciements▲ Un grand merci à Denis Cabasson et Guillaume Rossolini pour leurs conseils avisés, leur rapidité et leur patience pendant la relecture. I-B. Prémbule : qu'est-ce qu'AJAX ? ▲ On parle beaucoup d'AJAX en ce moment dans le buzzword Web 2.0. En effet la technologie Web entière est basée sur le modèle de l'aller retour : pour une requête serveur, vous avez un retour qui se traduit par un rafraîchissement des données (la page Web affichée). Ce modèle de fonctionnement est fiable car existant depuis très longtemps mais il pose aussi des problèmes d'interaction homme machine et de performances.

D'un point de vue utilisateur, le rafraîchissement de toute la page au moindre clic est synonyme de temps d'attente et de scintillement qui n'est pas toujours du meilleur effet dans une application professionnelle. Du point de vue des performances, à la moindre modification, vous rechargez une page entière avec toutes ses balises HTML, ce qui génère un trafic important. I-C. II-A. II-B. <? Preloading Data with Ajax and JSON. Web Toolkit - Build AJAX apps in the Java language.