Main > Diary > Development

« Interview of Dad on ArtistsHouseMusic.com | Main | On the Merits of Bud Light »

February 5, 2007

Enter AJAX

I AJAXified the comment system for the blog. It's about time to join the rest of 2007, I say.

Wrangling MT, my legacy templates, and all the spam prevention stuff I've got integrated proved me to completely mis-scope how long this would take. I figured I could have the whole thing done in an evening, but it turned into about three nights of work on and off the past couple of weeks. Bleh.

I pulled the basic ideas from BrettDeWoody's MT AJAX Comments, but modified the scripts and such to play nicely with the DOM structure I had already defined. A couple of AJAX spinners later and I was ready to roll. Even after the rough spots, working with prototype.js directly (outside the safety of Rails, per se) certainly does leave one with a sense of awe of the authors of http://script.aculo.us/.

Go ahead, comment away. I'll no doubt make some improvements to the system over the next little while but for now, my new primary drive will be to add some more content. It is time to pick up the camera again!

Posted by jordanh at February 5, 2007 1:49 AM

Trackback Pings

TrackBack URL for this entry:
http://jordan.husney.com/mt/mt-tb.cgi/289.

Comments

Here's a comment!

Posted by: Jordan at February 5, 2007 2:00 AM

Preview doesn't work. I'm guessing Post does, thought I won't really know until I press the button.

Posted by: Kevin [TypeKey Profile Page] at February 12, 2007 12:19 AM

Ah-ha...testing! I just *knew* I should have done some of that!

I tracked it down to a combination form serialization/template variable problem. It should be fixed now!

Thank you very much for the heads-up!

Posted by: Jordan at February 12, 2007 2:33 AM

That preview is pretty cool...

Posted by: Kevin [TypeKey Profile Page] at February 12, 2007 6:41 AM

teste

Posted by: test at March 2, 2007 9:06 PM

You don't happen to have any source available, do you? BrettDeWoody's site seems to be down and has been for some time.

Posted by: Jeremiah at June 16, 2007 2:50 AM

I know this was last year, but if you're still checking this, I'm really rooting for a response!

Posted by: Jeremiah at January 20, 2008 2:17 AM

Post a comment




Remember Me?