Weblog entry #51 for Steve

Xen and the art of Website programming ..
Posted by Steve on Tue 6 Dec 2005 at 01:10
Tags: none.

Xen 3.0 is now out.

I've installed it upon my laptop and will write up a brief guide shortly, perhaps tomorrow.

In other site-related news I wish to use Ajax, I've heard it is the bees knees!

So far my simple demo works, and I can see a lot of cases where I can use it - sadly not on this site though.

The most obvious place to use it here is to replace the poll with the results once you've voted - but honestly I'm not sure if that is a good idea.

Other uses are harder to think of. Short of comment previews perhaps?

It did occur to me a while back it might be nice to allow users to "rate" articles, on a 1-5 scale. I've seen IBM do that on their developer site, and I do usually take the time to vote.

I'm not too sure of the gain, since i can usually tell by the comments when a piece is good / bad. Perhaps something to code for a rainy day?

 

Comments on this Entry

Posted by ajt (204.193.xx.xx) on Tue 6 Dec 2005 at 14:05
[ Send Message | View Weblogs ]
Obviously there is gmail and google maps but also have a look at www.mightyv.com for a very nice Perl and AJAX based site.

--
"It's Not Magic, It's Work"
Adam

[ Parent | Reply to this comment ]

Posted by Steve (82.41.xx.xx) on Wed 7 Dec 2005 at 18:32
[ Send Message | View Steve's Scratchpad | View Weblogs ]

That is a nice site.

I guess adding technologoy for the sake of it is a bad plan, but the more I play with simple demos the more I like it!

Steve

[ Parent | Reply to this comment ]

Posted by Anonymous (213.164.xx.xx) on Tue 6 Dec 2005 at 15:07
A worrying number of ajax applications do not check that a communication with the server succeeded before moving on to the next request.

[ Parent | Reply to this comment ]

Posted by Steve (82.41.xx.xx) on Wed 7 Dec 2005 at 18:33
[ Send Message | View Steve's Scratchpad | View Weblogs ]

I'm usually pretty paranoid about checking all kinds of things. But that is certainly something to be aware of so thanks for pointing it out.

Steve

[ Parent | Reply to this comment ]

Posted by eric (194.2.xx.xx) on Mon 12 Dec 2005 at 10:48
[ Send Message | View Weblogs ]
good article for Xen3.0.
I use Xen 2.0.7 on sarge to run various sarge (mainly) hosts at home, and I recently make the switch from an old woody server to a xen-based sarge one at work.
It runs well and I really love XEN (creating a new server for watever in 15 minutes is... so goood), it's the future of virtualization technology, but... do you know what are the differences between Xen 2.0 and 3.0?, I checked on google and Xen sites, but can't find anything.

about Ajax, I think preview of comments is a good tidea, but, as you say, not really critical for the site.

[ Parent | Reply to this comment ]

Posted by Anonymous (82.41.xx.xx) on Mon 12 Dec 2005 at 13:05

Thanks :)

I tried to look at the changlog link on the Xen website, but it doesn't contain anything useful so I'm hazy on the changes. I know that it has got faster, more stable, and is getting better on 64 bit machines but more than that I don't know.

Using it is very simple, and as you say, a new instance can be created very quickly. The only drawback is the requirement of having a special kernel, etc, I liked UML because of its simplicity, but Xen currently has it beat.

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search