Articles

HTTP Caching

At RailsConf 2009 on Thursday, Ryan Tomayko, creator of Rack::Cache, gave a talk on using HTTP-based caching, and the value of using it in addition to client caching and object caches like Varnish.

Handy resources for people new to Rails

I have a couple of updates planned for this week, stay tuned! In the mean time, I've been speaking to a bunch of people fairly new to rails, so I thought I'd point out a couple of great places to visit if you are new to rails and are looking for some good places to start. (There are, of course, plenty more, but you have to draw the line somewhere) :-

Great Pod/Screencasts

Join the Brightbox team!

Brightbox is looking for two new people to join the systems team, a Senior Linux Systems Administrator and a Linux/Rails System Support person. Both roles are full-time and you can work from home, from our office in Leeds, or a bit of both.

Send a hello, a CV and salary expectations to jobs at the Brightbox UK domain. CVs should be in an open format, preferably PDF or plain text. Closing date is 31st May 2009.

As always, recruitment agents should e-mail our special recruitment company email address: root@localhost

On Ruby Interview with Pat Eyler

For a bit of a change-up, Sean Carley (@milythael) is running this interview.Pat has become a well known online author in the Ruby community with frequent book reviews, interviews and post on various useful topics. When he asked the community who we would like to see interviewed, I turned the tables on him.You've become a well known blogger in the Ruby community. You're active in organizing the

Securing A Website With Client SSL Certificates

In the comments of the last article Morgan came up with the idea of client SSL certificates to secure the admin panel. This is not authentication in a classical sense, it is saying which SSL certificates (which you self-signed) you allow to access a particular site. This is a better solution than limiting the access to various IP adresses when you are a work nomad and you have to access it from different parts in the world.

The steps to do this are:

Motivation

The Mega RailsConf 2009 Round Up

Hello world

Hello everyone!

Rails 3 tutorials, screencasts, talks, articles, blog posts & more.

Euruko 2009 Summary

Euroko’s 2009 is over and in these few lines I’ll try to summarize two days full of sessions,
laughs and Ruby. Everything started with Matz’s opening speech which focuses on ‘Things we got’ explaining why Ruby’s got all the features a good language need (starting from the name), what are the next steps in the core development and why we don’t need to rush in the future.

ajax | Rails Fire

ajax

GitHub Rebase #38

Welcome to Rebase 38. Suggestions for projects to cover are always welcome, check out the criteria here. In the meantime, check out this preview of some neat visualizations using the GitHub API of how developers are connected:

jQuery Ajax

PeepCode Meet jQuery quickly became our fastest-selling title of all time. In this screencast, we explore the Ajax features of the popular jQuery JavaScript framework.

We start simply with the transfer of HTML fragments in only one line of code. You’ll learn about the convenience methods in jQuery and then dive down into the details of the low-level Ajax method.

Using Prototype and JQuery with Rails3 (UJS)

I've been look for some information on the unobtrusive javascript features in Rails 3, and it turns out that there's not much out there! Either that, or I'm looking in the wrong places.

So here is my attempt to explain some of the features. I'll create two sample blog apps, one using Prototype and the other using JQuery (the code is available on github).

Install Rails 3

If you haven't already, get Rails 3 installed. Everything you need to know is here.

Sikwamic: Simple Key-Value With Comet

GET: http://github.com/dorkalev/Sikwamic

What is it good for?

LOOP CHAT!

LOOP CHAT!

This is a dead simple proof of concept for a chat the comet way.

My motivation for creating this proof of concept is the lack of DEAD SIMPLE implementations of commet around.

GitHub Rebase #35

Rebase: good for reorganizing commits, squashing down changesets, and repairing dentures.

Rails Autocomplete without Ajax (Autocompleter.local)

This was fun - though not easy to find the answer right away.I wanted to add an autocomplete to a form, but I wanted the suggestions to be local (I didn't want to make any ajax requests, I wanted to use a pre-defined javascript array).This ended up to real easy.The scenario here - I have a nested set of objects that an admin may want to give membership privileges to an existing user in their

Meet jQTouch

With technical review by jQTouch author David Kaneda!

jQTouch makes programming for mobile browsers fun! Simple HTML, CSS, and jQuery Javascript combine to make it easy to build applications for WebKit-based mobile browsers like the iPhone/iPod Touch, Android, and Palm webOS.

Ruby & WebSockets: TCP for the Browser

WebSockets are one of the most underappreciated innovations in HTML5. Unlike local storage, canvas, web workers, or even video playback, the benefits of the WebSocket API are not immediately apparent to the end user.

Ruby EventMachine: a short introduction

Introduction

Before answering what is EventMachine, first I will try to explain the problem that EventMachine solves.

A network server like http server or chat server usually works in a threaded model. What it means is that on a particular port, a process is listening for connections. When a client makes a connection then this process spawns a new thread and that thread is handed over the task of responding to that client. If server is getting too much traffic then the number of threads created by the main process goes up very quickly.

Syndicate content