background preloader

Ajax

Facebook Twitter

It

Rails. Google Gears (BETA) Last February, we let you know we were shifting our focus from Gears to HTML5. Over the last year or so, we’ve been working closely with other browser vendors and standards bodies to help define and standardize HTML5 features across browsers, and we’ve worked hard to improve these HTML5 capabilities in Chrome: We implemented support for application caches, which are a great replacement for Gears’ offline features. App caches are already being used by web apps like the NYTimes app in the Chrome Web Store.

There is also full-featured debugging support for application caches in Chrome’s developer tools.Together with our friends at Mozilla and Microsoft, we proposed, specified, and implemented the IndexedDB API. With all this now available in HTML5, it’s finally time to say goodbye to Gears. The code itself will of course remain open source, and anyone is free to use it. Our mission with Gears was to enable more powerful web applications. Pro Web 2.0 Mashups. I know what porn you surf: Analytics gets creepy – Watching Webs. There’s a known weakness in browsers which we wrote about in the book.

Every time we talked with someone about it, they’d ask us why we didn’t start a company that took advantage of the loophole, and the answer was, well, it’s creepy. The loophole basically lets you see where else your visitors have been on the Internet. Well, it’s now out in the open, in two forms: Beencounter, and Haveyourfriendsbeenthere. To be perfectly clear, the site won’t show you everything your visitors surf–just whether or not they’ve been to a set of sites you define. You decide what sites you’d like to find out aboutYou embed these sites in a hidden portion of the pageWhen a visitor loads the page, the sites that are visited are marked a:visited in the page’s CSSThe Javascript in the page can then grab this property of each link and send it back to you Knowing where a visitor has been can be used for all kinds of things.

Full WEB 2.0 API List | Tech Magazine. Izzy Video: DV Tutorials (Video Podcast) Using prototype.js v1.4.0. Last update: August 18th 2007 Table of Contents What is that? In case you haven't already used it, prototype.js is a JavaScript library initially written by Sam Stephenson. This amazingly well thought and well written piece of standards-compliant code takes a lot of the burden associated with creating rich, highly interactive web pages that characterize the Web 2.0 off your back. When I first started trying to use this library, a few years ago, I noticed that the documentation was definitely not one of its strongest points. I'm also offering an un-official reference for the objects, classes, functions, and extensions provided by this library. As you read the examples and the reference, developers familiar with the Ruby programming language will notice an intentional similarity between Ruby's built-in classes and many of the extensions implemented by this library.

Toc Related article Advanced JavaScript guide. The utility functions Using the $() function Using the $$() function Tricked out strings. Autosuggest Example 1. Rushi’s Ramblings » AJAX Resources for Beginners. Creating an AJAX Driven Web Chat Program. Creating the Chat Tables We are going to create two tables for the chat program, but we will only use one for the first part of this tutorial. The two tables are "chat" where we will in later tutorials store all of the different chat rooms, and "message" which contains the list of all messages sent to the chat system. --Chat Table DROP TABLE IF EXISTS `chat`; CREATE TABLE `chat` ( `chat_id` INT ( 11 ) NOT NULL AUTO_INCREMENT , `chat_name` VARCHAR ( 64 ) DEFAULT NULL , `start_time` DATETIME DEFAULT NULL , PRIMARY KEY ( `chat_id` ) ) ENGINE= INNODB DEFAULT CHARSET =latin1; --Message Table DROP TABLE IF EXISTS `message`; CREATE TABLE `message` ( `message_id` INT ( 11 ) NOT NULL AUTO_INCREMENT , `chat_id` INT ( 11 ) NOT NULL DEFAULT '0' , `user_id` INT ( 11 ) NOT NULL DEFAULT '0' , `user_name` VARCHAR ( 64 ) DEFAULT NULL , `message` TEXT , `post_time` DATETIME DEFAULT NULL , PRIMARY KEY ( `message_id` ) ) ENGINE= INNODB DEFAULT CHARSET =latin1; Now lets add the rest of the HTML:

Rasmus' 30 second AJAX Tutorial - lunatechian (lunatech-ian.