Video RIA & Web Media from Developer Fusion https://www.developerfusion.com/t/ria/media/view/video/sort/popularity/ Video RIA & Web Media from Developer Fusion http://www.rssboard.org/rss-specification en-GB Mon, 30 May 2011 08:05:00 GMT #136 jQuery How do you use jQuery with Rails? In this episode I redo episode #43 using jQuery instead of Prototype/RJS. http://www.developerfusion.com/media/119032/136-jquery/ http://www.developerfusion.com/media/119032/136-jquery/ 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 #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 #220 PDFKit Generating PDFs in plain Ruby can be a lot of work. Instead, consider generating PDFs from HTML using PDFKit. http://www.developerfusion.com/media/118948/220-pdfkit/ http://www.developerfusion.com/media/118948/220-pdfkit/ Tue, 10 May 2011 03:36: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 #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 #180 Finding Unused CSS Over time a CSS file can become large and filled with unused selectors. In this episode I show how to use the Deadweight gem to determine which CSS selects you can remove. http://www.developerfusion.com/media/118988/180-finding-unused-css/ http://www.developerfusion.com/media/118988/180-finding-unused-css/ 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 #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 #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 #266 HTTP Streaming HTTP Streaming allows the browser to start processing the HTML response while the Rails app is still processing the rest of the request. http://www.developerfusion.com/media/119478/266-http-streaming/ http://www.developerfusion.com/media/119478/266-http-streaming/ Mon, 16 May 2011 07:44:00 GMT James Crowley #268 Sass Basics Sass extends CSS with variables, nesting, mixins and more. Here I show how to convert plain CSS to SCSS in a Rails 3.1 app. http://www.developerfusion.com/media/120080/268-sass-basics/ http://www.developerfusion.com/media/120080/268-sass-basics/ Mon, 30 May 2011 08:05: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 #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 #247 Offline Apps Part 1 Learn how to make a site usable offline through an HTML 5 cache manifest. This first part of the series covers rack-offline and problems you may run into. http://www.developerfusion.com/media/118921/247-offline-apps-part-1/ http://www.developerfusion.com/media/118921/247-offline-apps-part-1/ Tue, 10 May 2011 03:36:00 GMT James Crowley #77 Destroy Without JavaScript If the user has JavaScript disabled, the "Destroy" link might not work properly. In this episode I will explore a number of ways to work around this issue. http://www.developerfusion.com/media/119091/77-destroy-without-javascript/ http://www.developerfusion.com/media/119091/77-destroy-without-javascript/ Tue, 10 May 2011 03:36:00 GMT James Crowley #27 Cross Site Scripting Another common security issue is cross site scripting. In this episode you will see why it is so important to escape any HTML a user may submit. http://www.developerfusion.com/media/119141/27-cross-site-scripting/ http://www.developerfusion.com/media/119141/27-cross-site-scripting/ Tue, 10 May 2011 03:36:00 GMT James Crowley #69 Markaby in Helper Do you ever need to generate HTML code in a helper method? Placing it directly in Ruby strings is not very pretty. Learn a great way to generate HTML through Markaby in this episode. http://www.developerfusion.com/media/119099/69-markaby-in-helper/ http://www.developerfusion.com/media/119099/69-markaby-in-helper/ Tue, 10 May 2011 03:36:00 GMT James Crowley