{"comment":{"created_at":"2011-10-24T13:58:30Z","body":"Quick note: @mklabs and I are discussions some ideas and solutions around how best to move forward with this outside of this thread for the moment. Once we have some more progress, we'll post back with updates and hopefully a proposed solution in a fork that can be adapted for use.","updated_at":"2011-10-24T13:58:30Z","url":"https://api.github.com/repos/jquery/web-learn-jquery-com/issues/comments/2503707","id":2503707,"user":{"avatar_url":"https://secure.gravatar.com/avatar/96270e4c3e5e9806cf7245475c00b275?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"96270e4c3e5e9806cf7245475c00b275","url":"https://api.github.com/users/addyosmani","id":110953,"login":"addyosmani"}},"action":"created","issue":{"number":27,"created_at":"2011-10-22T19:15:00Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"This is a discussion on how we aim to handle integrating the jQuery fundamentals exercises as a part of the new learning site. \r\n\r\nOn our last call we discussed a few options including having a gist/repo to jsFiddle hook (similar to what @divya/nimbupani previously mentioned) so that exercises can be maintained under source control but still offer the benefits of fiddle editing for those that wish to play around with the code examples. \r\n\r\nIf we did opt to go down that path, there are few different questions we need to answer like:\r\n\r\nHow are these going to be presented to the end user? - having access to both gists and fiddles means that we could either opt to embed gists (which come with GitHub forkability) vs embedded fiddles (which can be forked and run live). \r\n\r\nMy personal view is that the fiddles offer more value here for embeds, but this comes with an added reliance on jsFiddle.com staying live. As many of us know, the service has been prone to periods of large downtime/slowness lately and I think we need to consider the pro's of what the service allows us to do vs. the possibility of pages hanging waiting on fiddles to load up.\r\n\r\nA possible solution to this is using something (embedded gists, js syntax highlighted code samples) to display code samples on pages and then just a jsFiddle link (generated based on the hook) below the sample so that users can play with it if they want to. This would avoid any hanging issues.\r\n\r\nI'd like to hear what others thing about these ideas. Would the last point offer the best balance? If not, do you have any alternative suggestions? ","comments":7,"title":"Solution For Handling Exercises","updated_at":"2011-10-24T13:58:30Z","url":"https://api.github.com/repos/jquery/web-learn-jquery-com/issues/27","id":2024041,"assignee":{"avatar_url":"https://secure.gravatar.com/avatar/96270e4c3e5e9806cf7245475c00b275?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"96270e4c3e5e9806cf7245475c00b275","url":"https://api.github.com/users/addyosmani","id":110953,"login":"addyosmani"},"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/96270e4c3e5e9806cf7245475c00b275?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"96270e4c3e5e9806cf7245475c00b275","url":"https://api.github.com/users/addyosmani","id":110953,"login":"addyosmani"},"html_url":"https://github.com/jquery/web-learn-jquery-com/issues/27","labels":[],"state":"open"},"legacy":{"issue_id":2024041,"comment_id":2503707}}