Joe Lanman

Web design and development when not playing computer games

Prototyping with jsFiddle.net

Published on July 4, 2010

I’m a big fan of applications that do a simple thing well; jsFiddle.net is an innovative environment to work on HTML, CSS and JavaScript in the browser. Coded by Piotr Zalewa and designed by Oskar Krawczyk, it’s a tool I’ve found really useful for me and my team – the simple four-pane layout is brilliantly suited to front-end development:

Prototyping

jsFiddle is really fast to work with – the layout means all your code is available at once, and it comes with ‘batteries included’ – you can select from common JavaScript libraries to have preloaded. All this means it’s great for prototyping little interaction ideas – say a menu or dialog box.

Collaboration is easy – send the url to a colleague for them to comment on your work, or edit it and send you the updated version – code as conversation. Even versioning is supported- every change adds a number to the URL, eg. http://jsfiddle.net/ATFcS/1 becomes http://jsfiddle.net/ATFcS/2 when saved, so it’s easy to go back and review older versions – a brilliant touch.

Teaching

Learning is always easier when you’re given examples, and being able to then play with the examples is even better. I’ve found jsFiddle perfect for explaining aspects of web development to people – I’ll knock up a simple example with just the features that we’re discussing, and the recipient can see what I’m talking about and modify the code to really cement their understanding. There’s even a lovely embedded mode – next time you talk about a JavaScript/CSS/HTML technique  online, why not make it in jsFiddle and embed an interactive example?

Debugging

When faced with a bug in a complex design,  it can be hard to track down exactly what’s causing the issue. I’ve found it can be very helpful to recreate a simplified set-up in jsFiddle – if I can replicate the issue it’s then very fast to manipulate the code to find a solution.

So those are a few uses for jsFiddle – please feel free to leave your own tips and tricks in the comments.

Filed under: Front-end
Tags: , , , ,

8 Comments

  1. Bernhard says:

    I love it as well. I have found that http://jsbin.com by Remy Sharp does a better job of demonstrating prototypes because the page doesn’t have the header bar that jsFiddle puts at the top of the embedded page, and I can share links that show the result directly, without my customer needing to click to the results.

    Also, they could make the experience quicker by adding access keys to the four panes, or at LEAST to the run button to see the updated results more quickly.

    Still; it’s only in Beta so these features might yet make the final cut.

    • Bernhard says:

      jsFiddle just tweeted to tell me that it is possible to provide a link to preview a page without the header bar, and only showing the results. Just append /show/ to the URL. Like this: http://jsfiddle.net/zalun/xBFKF/1/show/

    • Mikael says:

      Bernard, jsbin doesn’t have extjs support, so it doesn’t work for me. What’s wrong with a useful header bar anyway? Would be nice to be able to move it out of the way if you don’t need it I suppose.

  2. Bernhard says:

    Woops – I said it’s in Beta when it’s still only in ALPHA.

  3. It’s also very handy for submitting reproducible problems in bug reports to browser and js lib developers.

  4. zalun says:

    Hi, thanks for the post.

    Beta version is coming as soon as it will be ready (http://blog.jsfiddle.net/post/721507037/jsfiddle-beta-is-coming), there will be quite a lot of beta testing user accounts given away, so follow http://twitter.com/js_fiddle to catch the first wave.

  5. Dave says:

    I just wish they had an option to work offline. And I wish it worked on the iPad.

  6. Jason Grant says:

    Can we see an example of something you have prototyped using this method?

    I am starting to get intrigued by this.

Leave a Reply

buy Endep where buy cheap Amitriptyline line buy Amitriptyline no visa without rx buy no online rx Donepezil buy Amitriptyline discount Amitriptyline online no prescription Amitriptyline buy on line buy Donepezil and Endep uk Endep Endep no prescription Endep capsule buy Endep pills where can i buy Endep without prescription buy Endep where purchase Endep buy Endep no prescriptions purchase generic Endep online buy Endep fed ex where buy Endep buy Anafranil pay cod Aricept drug cheap Aricept usa generic Aricept cost buy cheap generic Aricept online Aricept no prescription overnight buy cheap Nizoral on line Nizoral without prescription buy Nizoral diet pill buy cheap Nizoral online free consult Nizoral non prescription for next day delivery buy Nizoral online no prescription cheap Nizoral online buy cheap generic Nizoral buy Nizoral mastercard buy discount Lisinopril online order no online rx Lisinopril buy cheap generic Arimidex Arimidex canadian pharmacy order no online rx Arimidex Arimidex buy Abilify order online buy Abilify usa buy Abilify on line without a rx buy Finpecia without prescription to ship overnight Finpecia xr buy online cheap best buy Amitriptyline Amitriptyline from india is it safe next day fedex shipping for Famvir Buy Famvir without a Discount Famvir order Famvir purchase online Famvir without prescription purchase Famvir over the counter cod overnight Famvir fedex shipping buy Amitriptyline legally no rx cod Fluoxetine purchase Fluoxetine online buy Fluoxetine 20 mg buy Fluoxetine no perscription cod Fluoxetine cheap mexican generic Fluoxetine online buy cheap Fluoxetine without prescription Fluoxetine capsule buy no online rx Prozac order no online rx Fluoxetine where to purchase generic Famvir online without a rx Lisinopril bestellen purchase Famvir no visa online without prescription buy in Anafranil uk Anafranil capsule buy cod Anafranil where to buy Anafranil by cod buy Anafranil without a perscription buy Anafranil with american express buy Anafranil cheap buy Nizoral online no rx Lisinopril buy Lisinopril overnight us delivery no prescription Lisinopril purchase online prescription Lisinopril without buying Lisinopril online without rx maxalt online prescription no prescription Maxalt with fedex buy no perscription Maxalt buy Maxalt online pills purchase Maxalt overnight Maxalt online buy saturday delivery buy Maxalt online no prescription Lisinopril online purchase purchase Lisinopril no prescription cheap maxalt overnight no script mastercard accepted arimidex without prescription or membership no perscription arimidex order online Aricept without prescription overnight Aricept c.o.d purchase online Aricept without rx purchase Aricept online without script Aricept uk sales Amitriptyline no prior script buy Accutane 40 mg without a rx overnight delivery Accutane 40 mg 40mg buy Accutane 40 mg in india purchase Accutane 40 mg money purchase online us pharmacy 40 mg Accutane fedex 40 mg Accutane overnight without a prescription purchase Amitriptyline pay pal without rx buy Amitriptyline with american express purchase Accutane 40 mg on line no rx buy generic Accutane 40 mg canada buy brand Accutane 40 mg buy Accutane 40 mg without a perscription purchase 40 mg Accutane without a rx online 40 mg Accutane online no perscription fedex

WP SlimStat

site tracking with Asynchronous Google Analytics plugin for Multisite by WordPress Expert at Web Design Jakarta.