Devchat.tv Episode Roundup

Devchat.tv Episode Roundup

Download on the App Store

All Devchat.tv Episode Roundup episodes

  • 058 TMTC Tyler Bye (ABC Network iPad App)

    There's a lot more to the ABC iPad app than just the iOS components. There's a HTTP Live Streaming level to this that manages all of the content for the application and streams it to the devices.

    Tyler explains the history of Protoven, Uplynk, and a lot of technical details behind how the ABC iPad app hangs together both on the backend and frontend.

    39 min
  • CoffeeScript: The Cool Parts
    CoffeeScript offers more than nice syntax for setting and managing data and functions. It also offers Classes, Inheritance, access to a 'super' method, Ruby-style string interpolation, easy variable and function bindings, and chained comparisons.
    Here's the code I showed in the video:
    class Vehicle
    constructor: (@name) ->
    move: (miles) ->
    console.log @name + " drove " + miles + " miles."
    class VWBug extends Vehicle
    move: ->
    console.log "Cruisin'..."
    super 100
    class Truck extends Vehicle
    move: ->
    console.log "Haulin'..."
    super 50
    mater = new Truck "Mater"
    herbie = new VWBug "Herbie"
    mater.move()
    herbie.move()
    a1c = "7.6"
    healthy = 7.0 > a1c > 5.0
    console.log "A1C within healthy range: #{a1c}"
    Account = (customer, cart) ->
    @customer = customer
    @cart = cart
    $('.shopping_cart').click (event) =>
    @customer.purchase @cart
    If you're new to CoffeeScript, make sure you check out the CoffeeScript Cookbook and CoffeeScript Basics.
    Download 150.3 MB
    Download (iPod & iPhone) 87.1 MB
    23 min
  • CoffeeScript: The Cool Parts
    CoffeeScript offers more than nice syntax for setting and managing data and functions. It also offers Classes, Inheritance, access to a 'super' method, Ruby-style string interpolation, easy variable and function bindings, and chained comparisons.
    Here's the code I showed in the video:
    class Vehicle
    constructor: (@name) ->
    move: (miles) ->
    console.log @name + " drove " + miles + " miles."
    class VWBug extends Vehicle
    move: ->
    console.log "Cruisin'..."
    super 100
    class Truck extends Vehicle
    move: ->
    console.log "Haulin'..."
    super 50
    mater = new Truck "Mater"
    herbie = new VWBug "Herbie"
    mater.move()
    herbie.move()
    a1c = "7.6"
    healthy = 7.0 > a1c > 5.0
    console.log "A1C within healthy range: #{a1c}"
    Account = (customer, cart) ->
    @customer = customer
    @cart = cart
    $('.shopping_cart').click (event) =>
    @customer.purchase @cart
    If you're new to CoffeeScript, make sure you check out the CoffeeScript Cookbook and CoffeeScript Basics.
    Download 150.3 MB
    Download (iPod & iPhone) 87.1 MB
    0 min
  • CoffeeScript: The Cool Parts
    CoffeeScript offers more than nice syntax for setting and managing data and functions. It also offers Classes, Inheritance, access to a 'super' method, Ruby-style string interpolation, easy variable and function bindings, and chained comparisons.
    Here's the code I showed in the video:
    class Vehicle
    constructor: (@name) ->
    move: (miles) ->
    console.log @name + " drove " + miles + " miles."
    class VWBug extends Vehicle
    move: ->
    console.log "Cruisin'..."
    super 100
    class Truck extends Vehicle
    move: ->
    console.log "Haulin'..."
    super 50
    mater = new Truck "Mater"
    herbie = new VWBug "Herbie"
    mater.move()
    herbie.move()
    a1c = "7.6"
    healthy = 7.0 > a1c > 5.0
    console.log "A1C within healthy range: #{a1c}"
    Account = (customer, cart) ->
    @customer = customer
    @cart = cart
    $('.shopping_cart').click (event) =>
    @customer.purchase @cart
    If you're new to CoffeeScript, make sure you check out the CoffeeScript Cookbook and CoffeeScript Basics.
    Download 150.3 MB
    Download (iPod & iPhone) 87.1 MB
    0 min
  • 057 TMTC Jamis Buck Interview

    Jamis Buck is a Ruby on Rails developer working at 37signals. He was part of the Rails Core Team, created the SQLite driver for Ruby, and created the Capistrano library for deploying applications in Ruby.

    We talked about several things including:

    • the Maze algorithms he's been working on on his blog
    • Capistrano
    • Ruby on Rails
    • 37signals
    • Vim and text editors
    • Testing tools
    • 43 min
    • 009 RC RubyGems and Bundler
      Ruby has a package manager for its libraries or gems. It should be a concept familiar with other package managers like apt, yum, or yast.
      Gems are libraries for Ruby. Many gems are built to extend Ruby on Rails and are a great way to add functionality to your application. You can see available gems at RubyGems.org. In order to install Rails, you typically need Rubygems installed via a "gem install rails". To get a pre-release version of Rails, you can run "gem install rails --pre".
      Gems for use in your Rails application are included in your Gemfile. Once you've specified the gems, run "bundle" or "bundle install" to get the gems you need. You can set up a test group to include testing and debugging libraries and exclude them in production environments.
      Bundler handles dependency problems by evaluating dependencies and then chooses the libraries that meet all dependencies.
      14 min
    • 008 RC ActiveRecord Migration Gotchas
      Rails Migrations are generally pretty straightforward, but there are a few things that people do that wind up giving them headaches later on.
      First, don't change migrations once they've been committed or deployed. This causes problems because ActiveRecord tracks migrations that have already been run. So, editing a migration that's already been run will result in your changes not being made.
      Second, use Rails' built in migration and model generators. It generates the id number in the front of the migration from a timestamp which minimizes that possibility of having a collision on the migration's identifier.
      Third, create mapping tables in your migrations so your connections work. When you do these migrations, make sure you have ":id => false" on your "create_table" call.
      When creating mapping tables, eliminate the meta data on the mapping unless you're using a "has_many :through =>" relationship. Adding meta fields to mapping tables will be deprecated in Rails 3.1.
      Fourth, add indexes to all foreign id's. Those are the "_id" columns in your tables. I've used the rails_indexes plugin for this.
      Fifth, don't reference Models in your migrations. If your Model implementation or attribute sets change, your migrations may no longer work. Instead, call "execute" with your SQL queries to update and save data in the database in your migrations.
      Finally, go check out the Ruby Rogues podcast! You can also get my interview with Tom Preston-Werner from Github here.
      15 min