Video JavaScript Media from Developer Fusion https://www.developerfusion.com/t/javascript/media/view/video/ Video JavaScript Media from Developer Fusion http://www.rssboard.org/rss-specification en-GB Mon, 05 Nov 2012 22:41:00 GMT #390 Turbolinks Turbolinks can make your Rails app feel faster by using JavaScript to replace the page content when clicking a link. It will be default in new Rails 4.0 applications, but here I show how to use it in Rails 3 and mention some of the gotchas. http://www.developerfusion.com/media/147326/390-turbolinks/ http://www.developerfusion.com/media/147326/390-turbolinks/ Mon, 05 Nov 2012 22:41:00 GMT James Crowley #360 Facebook Authentication This will show how to create a new facebook application and configure it. Then add some authentication with the omniauth-facebook gem and top it off with a client-side authentication using the JavaScript SDK. http://www.developerfusion.com/media/144313/360-facebook-authentication/ http://www.developerfusion.com/media/144313/360-facebook-authentication/ Mon, 02 Jul 2012 14:29:00 GMT James Crowley #340 DataTables DataTables makes it easy to convert a plain HTML table into one with pagination, sorting, and searching - all done with JavaScript and jQuery. Here I show how to set this up and use a Rails application as the data source. http://www.developerfusion.com/media/141688/340-datatables/ http://www.developerfusion.com/media/141688/340-datatables/ Thu, 12 Apr 2012 04:52:00 GMT James Crowley #328 Twitter Bootstrap Basics Twitter Bootstrap can help make beautiful web apps quickly by providing you with useful CSS and JavaScript. Here you will learn how to include it into Rails with the twitter-bootstrap-rails gem. http://www.developerfusion.com/media/139107/328-twitter-bootstrap-basics/ http://www.developerfusion.com/media/139107/328-twitter-bootstrap-basics/ Wed, 29 Feb 2012 08:02:00 GMT James Crowley #324 Passing Data to JavaScript There are a variety of ways to pass variables from a Rails application to JavaScript. Here I show three techniques: a script tag, a data attribute, and the Gon gem. http://www.developerfusion.com/media/138156/324-passing-data-to-javascript/ http://www.developerfusion.com/media/138156/324-passing-data-to-javascript/ Tue, 14 Feb 2012 08:53:00 GMT James Crowley #316 Private Pub Private Pub makes it easier than ever to publish and subscribe to real-time events in a Rails app. You can use publish_to with a block of JavaScript or supply a hash for use with JSON. http://www.developerfusion.com/media/136587/316-private-pub/ http://www.developerfusion.com/media/136587/316-private-pub/ Tue, 17 Jan 2012 06:24:00 GMT James Crowley #267 CoffeeScript Basics CoffeeScript allows you to write JavaScript in a concise, elegant fashion. Here I convert JavaScript code to CoffeeScript in a Rails 3.1 app. http://www.developerfusion.com/media/119851/267-coffeescript-basics/ http://www.developerfusion.com/media/119851/267-coffeescript-basics/ Mon, 23 May 2011 09:55:00 GMT James Crowley #261 Testing JavaScript with Jasmine Are you testing your JavaScript? Learn how to add specs using Jasmine. This episode also covers jQuery integration with jasmine-jquery. http://www.developerfusion.com/media/118907/261-testing-javascript-with-jasmine/ http://www.developerfusion.com/media/118907/261-testing-javascript-with-jasmine/ Tue, 10 May 2011 03:36:00 GMT James Crowley #258 Token Fields With the jQuery Tokeninput plugin it is easy to add an autocompleting list of entries for a many-to-many association. http://www.developerfusion.com/media/118910/258-token-fields/ http://www.developerfusion.com/media/118910/258-token-fields/ Tue, 10 May 2011 03:36:00 GMT James Crowley #257 Request Specs and Capybara Request specs in RSpec are a great way to ensure the entire application stack is working properly. Here I also show how to use capybara with integrated JavaScript testing using Selenium. http://www.developerfusion.com/media/118911/257-request-specs-and-capybara/ http://www.developerfusion.com/media/118911/257-request-specs-and-capybara/ Tue, 10 May 2011 03:36:00 GMT James Crowley #246 AJAX History State The new pushState function in JavaScript allows us to change the full URL with AJAX. This means the back button, reloading, and bookmark support can be easily added. http://www.developerfusion.com/media/118922/246-ajax-history-state/ http://www.developerfusion.com/media/118922/246-ajax-history-state/ Tue, 10 May 2011 03:36:00 GMT James Crowley Chris Pels on jQuery While at the Boston Code Camp 2010, Carl talked to Chris Pels about jQuery. Chris talks about how jQuery works, and how to use it in any web app. http://www.developerfusion.com/media/113958/chris-pels-on-jquery/ http://www.developerfusion.com/media/113958/chris-pels-on-jquery/ Fri, 04 Mar 2011 12:40:00 GMT James Crowley #229 Polling for Changes If you have frequently changing data on the server side, it's helpful to automatically display this to the user as well. Here I show how to accomplish this with polling in jQuery. http://www.developerfusion.com/media/118939/229-polling-for-changes/ http://www.developerfusion.com/media/118939/229-polling-for-changes/ Tue, 10 May 2011 03:36:00 GMT James Crowley Learn to use the Javascript Client Object Model Scott Hillier shows SharePoint developers how to use the JavaScript Client Object Model. http://www.developerfusion.com/media/84033/learn-to-use-the-javascript-client-object-model/ http://www.developerfusion.com/media/84033/learn-to-use-the-javascript-client-object-model/ Thu, 10 Jun 2010 16:10:00 GMT James Crowley Learn to use the Javascript Client Object Model Scott Hillier shows SharePoint developers how to use the JavaScript Client Object Model. http://www.developerfusion.com/media/84028/learn-to-use-the-javascript-client-object-model/ http://www.developerfusion.com/media/84028/learn-to-use-the-javascript-client-object-model/ Thu, 10 Jun 2010 16:10:00 GMT James Crowley #205 Unobtrusive Javascript Keep JavaScript out of your HTML content with unobtrusive JavaScript. Here I show how Rails 3 works with this best practice. http://www.developerfusion.com/media/118963/205-unobtrusive-javascript/ http://www.developerfusion.com/media/118963/205-unobtrusive-javascript/ Tue, 10 May 2011 03:36:00 GMT James Crowley #197 Nested Model Form Part 2 Add and remove nested model fields dynamically through JavaScript using either Prototype or jQuery. http://www.developerfusion.com/media/118971/197-nested-model-form-part-2/ http://www.developerfusion.com/media/118971/197-nested-model-form-part-2/ Tue, 10 May 2011 03:36:00 GMT James Crowley #175 AJAX History and Bookmarks Browser page history and bookmarks do not usually work with AJAX requests, but in this episode I show you how to remedy this problem using a simple jQuery plugin. http://www.developerfusion.com/media/118993/175-ajax-history-and-bookmarks/ http://www.developerfusion.com/media/118993/175-ajax-history-and-bookmarks/ Tue, 10 May 2011 03:36:00 GMT James Crowley #174 Pagination with AJAX Learn an easy, unobtrusive way to add AJAX functionality to an existing set of pagination links using jQuery. http://www.developerfusion.com/media/118994/174-pagination-with-ajax/ http://www.developerfusion.com/media/118994/174-pagination-with-ajax/ Tue, 10 May 2011 03:36:00 GMT James Crowley #169 Dynamic Page Caching Use JavaScript to allow dynamic content in a page cache. In this episode I show you how to insert the user-specific content into a page through JavaScript. http://www.developerfusion.com/media/118999/169-dynamic-page-caching/ http://www.developerfusion.com/media/118999/169-dynamic-page-caching/ Tue, 10 May 2011 03:36:00 GMT James Crowley