Gamehole! AJAX and MVC (kindof) Development

XMLHTTPRequest Saved My Life

Development with AJAX is pretty easy after you learn the quirks and test which ways it can be used and abused. Designing it so that it loads the page instantly instead of waiting 3 or more seconds is great. It also didn’t take any more than an hour to complete. The only issue now, is that the viewer needs to have enabled JavaScript.

There are still ‘technically educated’ users that have JS disabled for popups, cookies, or some other half-baked excused that was only valid before Firefox. I mean, you would go to some porn sites back in the day and would have to disable JavaScript or you would spend 30 minutes exiting out of the popups.

I digress, I did create a Non-JavaScript page, but it still takes 3 seconds to load. I’m not going to do any optimizations for it. People without JS are going to be punished for their lack of enabling it or for not even using a browser that supports it. Only other user is for bots, which should look for the non JS version.

MVC

The main page is handled with Mod Rewrite and a single page to handle all of the pages. It lets me know what is finished and what still needs to be finished. The old version had sort of the same set up but all of the text was on the same page, so it made it somewhat difficult to find the parts. The new site splits the textual parts into their own files.

Possibly Related Posts:


Comments are closed.