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