Jesse Newland

24 Posts tagged with ajax

The Endless Page

A nice implementation of the Endless Page AJAX Pattern

Er.js: Erlang-in-JavaScript

Er.js piggybacks on Neil Mix’s Thread.js which fakes threading in JavaScript 1.7 using coroutines and nested generator continuations. The goal is to replicate Erlang’s concurrent lockless process model and message-passing APIs in JavaScript.

mnot’s Web log: The State of Browser Caching

An in-depth look at what bugs exist in current browser's caching support

SuperInPlaceControls

Better In-place Controls for Rails 2.0

Display Validation Errors For Your Ajaxified Form

Nice pattern for displaying validation errors for an AJAX-ed Form

Streamlined - Trac

Streamlined is a plugin for Ruby on Rails that provides an instant, production-ready UI for your ActiveRecord models.

Ajax Pagination in less than 5 minutes

just implemented this. slick

Rails on the Run - Ajax Pagination in less than 5 minutes

will_paginate meets lowpro. awesomeness.

iui - Google Code

iPhone UI framework

SWFUpload Revision 6.2

Nice, clean, unobtrusive flash/javascript multiple file uploader w/ progress bars.

From Rails Ajax helpers to Low Pro, Part 2

Writing unobtrusive Javascript using Low Pro

dustyd.net - PhotoNotes (Flickr Notes)

Photo Notes is a JavaScript implementation of photo "annotations".

Howto Dynamically Insert Javascript And CSS

a short and sweet little tutorial detailing how to dynamically load remote javascript and css files into an existing page

code_fu - AJAX file uploads in Rails using attachment_fu and responds_to_parent

AJAX-y file uploads with attachment_fu using an IFRAME trick. Slick

Rails API with the AJAX flavor

Nice touches to the Rails API docs. If only I could get this for edge as well...

Google AJAX Feed API

With the AJAX Feed API, you can download any public Atom or RSS feed using only JavaScript, so you can easily mash up feeds with your content and other APIs like the Google Maps API.

BadgerFish

BadgerFish is a convention for translating an XML document into a JSON object.

Jester: JavaScriptian REST

A JavaScript implementation of REST. It provides (nearly) identical syntax to ActiveResource for using REST to find, update, and create data.

IFRAME remoting made easy

...a pattern of posting a form to a hidden IFRAME returning javascript control back to the parent page to display a progress bar, make visual effects, show a “uploading” graphic or basically do anything than the default blocking of the page until the

caboose Ajax File Upload

A pseudo ajax file uploading solution using the responds_to_parent plugin

allison: a modern rdoc template :: evan weaver

A pretty RDoc template.

Inline AJAX form validation plugin for ruby on rails

This is smooth, and easy. Nice.

Prototype Javascript Framework

The much-needed Prototype API Docs. If you haven't seen Prototype, give it a whirl - it's Javascript for Ruby-heads.

Updates to Marshmallow, the Campfire bot

At work, we’ve been using Campfire, the wonderful web-based group chat application from 37signals for a while now, and have found it essential in our virtual environment.

I recently discovered Marshmallow, the unofficial Campfire API, and setup deploy notifications, and couple other little hacks to keep the virtual office up to speed. However, Marshmallow was missing a critical feature (in my mind): the ability to watch and process others’ messages in the room. So, I spent a couple minutes this morning and added a new watch method:

I also added a new topic method to set the current room’s topic – we use it to match Basecamp project numbers and put the project URL in the topic.

The SVN server for Marshmallow seems to be down, and I can’t seem to get in touch with court3nay, so I figured I’d just let this loose. Without further ado, here’s Marshmallow 0.3.

Example Usage

#!/usr/local/bin/ruby

require 'marshmallow'

bot = Marshmallow.new(:domain => 'yoursubdomain')
bot.login :method => :login, :username => "email@you.com", :password => "secret", :room => "34567"

while(true)
  bot.watch do |m|
    bot.say("Hello, #{m[:person]}") if m[:message].match(/^(hello|hi|hey)$/i)
  end
  sleep 3
end
next page »
What is this?