Applications

Email Template

In today’s episode, we put together several of the small bits of Ruby lore we’ve learned in order to build a simple and pragmatic mail templating system.

Parallel Fib

Last time around we introduced the Queue class. In this episode, we’ll put it to work!

Client Session Object

In another peek into my ongoing behind-the-scenes work on RubyTapas, today I extract the responsibility for representing a logged-in screen-scraping user-agent session into its own class.

SAX

This episode takes a look at how to use the Nokogiri gem to extract data from large HTML documents without reading the whole document into memory.

Gem-Love Part 11

Finishing up my list of TODO items, today I address some structural coupling that my test stubs have revealed. This is a live episode, so no script today.

Gem-Love Part 10

Note: This week RubyTapas moves to its new release schedule of two episodes a week. I’ve already sent out an update detailing the reason for the change, but for those who have disabled email updates, I’ve also added a note to the FAQ here: https://rubytapas.com/faq#frequency-change Working through my TODO list from the recent feature additions, in today’s episode I seek to resolve the semantic conflict between User and GemUser through refactoring. This is a live episode, so no script today. Code here: https://github.com/avdi/gem-love/tree/rubytapas-episode-102

Screen Scraping Gateway

Today’s episode tackles the problem of talking to a web app which has no published API, using the Mechanize screen-scraping gem. In the process, we’ll explore the Gateway pattern for encapsulating external resources.

Gem-Love Part 9

In today’s concluding slice of this live-coding session, I wrap up my work on adding users to Gem-Love by TDDing the server side support for API keys. This is a live episode, so no script today. Source: https://github.com/avdi/gem-love/tree/rubytapas-095