Months Archive July 2005

 
 

If it works, use it

Busy couple of weeks. Nothing out of the ordinary going on, except that I’ve been working on ArcadeFly and learning a load of new things. At the moment the framework is extremely flexible. Everything displayed by the javascript is done through XML transformed using AjaxSLT (googles XSLT implementation). Makes updating everything insanely easy, because then it’s just a matter of fixing the stylesheet and possibly an XSL file. Sad part is the site doesn’t come anywhere close to working in IE. That’s not really a problem though, for now at least.

Over in a flash

Seems as though this week went by in a flash. Pretty much everyday I’ve been working, messing around with programming stuff from when i get home until 3 or 4 in the morning, sleeping for 4 hours — then doing it again. Doesn’t sound too exciting, but some of this new Ajax stuff i’ve been reading about it pretty amazing — definitely opening my eyes to new ways of handling data for web development. So far i’ve only scratched the surface, but it’s still interesting. I’m trying to make the entire ap in Ajax, make each page a unique link, never reload the entire page, and have all output generated by the backend be xml. Sounds easy enough for a small ap, but for the entire system it’ll take a lot of work. The biggest problem so far has been finding a decent way of handling an application with one point of contact — a new concept for me. Usually any given page has a processing page and a display page, then maybe some common framework pages that lead it there. In this case the javascript directly accesses the framework with requests, so there’s no space for splitting up each ap. Not on that, each part has more phases for processing now too. There’s a usual display page (in this case the login form is one page in my definition, the register is another page, etc), a js validation phase for that form, a backend (coldfusion ) processing of that form, an xml generation of the response (handling all responses the same way), and then a js function to parse the response (which will hopefully be static and not unique for each ap. So far it’s going well — slow, but well. Javascript was kind of the missing link in my web development exerpience, so most my testing has been trying new things with it. I’d probably be working on it now if the site wasn’t down actually. ;p Oh, it’s back up! Something strangely familiar about programming for hours and hours while watching a string of sci-fi movies and shows. Nerdy, but a lot of fun. :)

At work I’ve been doing something completely different though — database encryption. Easy enough really, just a matter of wrapping calls to certain columns in a function, and executing a massive encryption script (30 mins to run -_-) — but it’s my first project as lead! It’s currently in QA for the next week or two, so we’ll see how it goes. A few bumps so far, but it’s been a fun learning experience. If you haven’t checked out Del.icio.us yet, go there now. :) It’s a paradise of useful and interesting links!

Off to a good start!

I’ve been messing around with Google Maps a lot lately. About 3 weeks ago they released a Developer API for programmers to access and create maps (which you may have seen some pretty damn cool applications for). There have been quite a few stumbling blocks that held things up so far — needing long/lat for each point, not ever using XML with JS, awful old database design of DDRei — but so far it’s working out. If you’re using Firefox, check out ArcadeFly.com to see how things are progressing. It will be going down as I work on it though, but I’m done for the night. :) If you have any suggestions (that aren’t in the Todo List section) let me know. I’m really loving the “link to this page” part at the top. It doesn’t update when you zoom in/out or move just yet, but you can get the same results. For instance, if you wanted all locations in Florida it would be easy enough. I haven’t perfected the centering or zooming just yet, but for the moment it’ll work. Also, it’s limited to the top 100 in a query, which i’m trying to find a way around for larger result sets.

Check it out!