Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.

For the best experience please use the latest Chrome, Safari or Firefox browser.

Responsive AJAX Pier-Olivier Thibault Twitter: @pothibo

Responsive AJAX?

Charge le strict minimum, on utilise l'AJAX pour charger des réponses en JS que nous chargerons.
Mise en garde

Vous connaissez?

        $.ajax({
            url: "http://un.example.com/index.json",
            success: function(response) {
                if (response.status == "success") {
                    // create DOM. Insert it. 
                }
                else {
                    // Error handling.
                    // Do complex stuff with error keys.
                }
            },
            error: function() {
                // Error Handling.
            }
        })
        

Inspiration fonctionnelle

Retourner des fonctions javascript qui s'applique au DOM.
Exemples
Avantages
Projets Connexes
Merci!

Use a spacebar or arrow keys to navigate