Olivier Audard

  • Home
  • Articles
  • Notes
  • Github
  • 2012

  • Queued ajax requests with jQuery and Coffescript
    Olivier Audard
    March 31st 2012
    articles
    Coffeescript, DeferredObjects, JavaScript, jQuery, jQueryPlugin
    permalink, shortlink

    I recently had to queue a few ajax requests. I wrote a little piece of Coffeescript+jQuery to provide a reusable way of doing it.
    Using jQuery’s Deferred objects and CoffeeScript makes the task really easy.


  • File Upload Form - Part 1: Feature Detection
    Olivier Audard
    March 24th 2012
    articles
    FeatureDetection, Forms, JavaScript, ProgressiveEnhancement
    permalink, shortlink

    Last Thursday, I gave a talk at @JSSophia, the local Javascript User Group I co-founded with @FredGuillaume.
    The group is just starting (2nd meeting), so there were only a few people, but as some of them looked quite interested by my talk, and some other couldn’t come due to personal or professional duties, I thought I could write a couple of blog posts about the same topic.

    I choose File Upload Form example because it’s standalone, frequently used and it can be improved by many ways with HTML5 APIs.
    It’s a good example to introduce some very important Javascript concepts:

    1. Using feature detection for progressive enhancement
    2. Using loosely coupled modules to architecture web applications.

    This post focus on the first part of the talk.
    It presents the feature detection technique.
    I’ll cover the second part, loosely coupled modules, in another article.


  • 2011

  • jQuery plugin for ping-URL process
    Olivier Audard
    July 26th 2011
    articles
    JavaScript, jQuery, jQueryPlugin
    permalink, shortlink

    If your page runs into an iframe hosted by another domain, you may want to keep the session open. The following jQuery plugin automates the “ping URL” process and provides some options.


  • jQuery plugin pattern written in Coffeescript
    Olivier Audard
    July 24th 2011
    articles
    CoffeeScript, JavaScript, jQuery, jQueryPlugin
    permalink, shortlink

    Once your CoffeeScript environment is up and running, you may want to write some awesome new jQuery plugin with CoffeeScript.

    The code bellow is a starting point, it’s clearly inspired from the jQuery Doc. Just search/replace pluginName with your plugin name and go ahead with your own code.


  • 2010

  • Plugin jQuery - Aide contextuelle Javascript
    Olivier Audard
    September 5th 2010
    articles
    JavaScript, jQuery, jQueryPlugin
    permalink, shortlink

    Voilà déjà pas mal de temps que je n’ai rien publié ici… Ce qui ne veux pas dire que j’ai rien dans les cartons. C’est plutôt le temps qui manque un peu quand il s’agit de présenter tout ça de façon correcte.

    Pour changer un peu des précédent articles dédiés au développement iPhone, je vais aujourd’hui présenter un petit outil Javascript, utilisant le Framework jQuery. Rien de révolutionnaire, c’est simplement un plugin jQuery permettant de dérouler un bandeau HTML au dessous d’un autre. J’ai appelé ce plugin ‘helpBox’ car ce widget est particulièrement adapté pour afficher une aide contextuelle.


Copyright © 2016-2023 Olivier Audard – I'm a human
  • Home
  • Articles
  • Notes
  • Github