Blogging with Ajax

| | 9 Comments

Ajax (Asynchronous JavaScript And XML) is a very cool technology for placing dynamic content on static websites.

The basics of the technology is that you use javascript to fetch XML data from your server and then display that data on the page. It allows you to query your server and update a page without requiring users to reload the page.

I’ve written two Ajax plugins for movable type tonight. The first one was a simple plugin which checks to see if the user can login to the movable type interface. If the check it successful, it shows additional content, like links to junk and edit comments. This plugin will only be apparant to myself, since I am the only person who can login. The second plugin is available to regular readers. It provides a way to automatically reply to comments. Simply click the “(q)” link beside a comment and your browser will query my server for the text of the comment and then place that text in the comment box, wrapping it inside a quote box.

Try it out.

9 Comments

Try quoting this comment. Click the “(q)” link.

Reed A. Cartwright Wrote:

Try quoting this comment. Click the “(q)” link.

(Comment # 2576)

Testing, testing, 1-2-3-…

coturnix Wrote:

Testing, testing, 1-2-3-…

(Comment # 2578)

And now a little more sophisticated - quoting just a part of it…

I’ve replace the (q) with an image.

Reed A. Cartwright Wrote:

I’ve replace the (q) with an image.

(Comment # 2589)

Great reading, keep up the great posts. Peace, JiggaDigga

thanks for sharing

Excellent! Thanks for your posting.

About this Entry

This page contains a single entry by Reed A. Cartwright published on January 28, 2006 11:24 PM.

Science Fiction was the previous entry in this blog.

Human Evolution is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Archives

Powered by Movable Type 4.37