Random Thoughts
Ideas, Achievements, Humor - all the time

Horse Race in AJAX

December 24, 2007 19:14 by achoi

My simple horse race application in AJAX can be found here.

What have I learned from writing this simple application and Microsoft ASP.NET AJAX?  Well, many things...

1) It is not simpler to write a non-AJAX application first and then convert to AJAX later.  Due to the need to place UpdatePanel judiciously, it's much better to start off with an AJAX application.

2) ASP.NET AJAX seems to be unable to handle multiple active AJAX timers on the same page.

3) User control is the way to go even for very simple repeated constructs.  This reduces your code redundancy and makes code more modular.  My simple track + bet + payoff + actual horse move is done as a user control.

4) I should have done more input checking.  However, given this is fake money with no real consequence, I just did the simplest checks that in no way are meant to be true production proof quality.


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories:
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

My Blog has finally been set up.

December 11, 2007 15:40 by achoi

Welcome to my blog.

I will use this blog to introduce some of my hacks, express my opinions on various matters, give out useful information I find, etc.  In short, there is no set purpose.  I hope you will find the information interesting and come back for more.  Please feel free to send me a feedback via comments or emails.

I am using the latest and greatest BlogEngine.Net to host my blog.  It's an open source community supported blog engine written in C# with AJAX enabled plus many many cool features.  You can find out more about BlogEngine.Net by visiting codeplex.

 


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: News
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed