Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

[ Create a new account ]

Com2Kid (142006)

Com2Kid
  com2kidSPAMLESS@gmail.com
http://com2kid.wordpress.com/
AOL IM: com2kid (Add Buddy, Send Message)
Yahoo! ID: com2kid (Add User, Send Message)

Knowledge is an end to itself.
-
Like fantasy stories? Like music? You'll love Sable*! [mp3.com] (just pimping an artist) -
Need some high quality low polygon count 3d models? Visit my webpage [netfirms.com] (now up!) Free work for Open Source Programers! Journal [slashdot.org]

Journal of Com2Kid (142006)

AJAXian Canvas, Python, and Web 2.0 goodness

[ #164928 ]
Monday February 26 2007, @03:14PM
User Journal
Ever had to find your way around a huge college campus? How about ever been late for a class or meeting on a regular?

AJAX to the rescue!

WWU Route Finder is a proof of concept of an AJAX map using Canvas and Python. Click two buildings, and the Python back end, accessed using XMLHTTPRequest of course, shows you the shortest path between your start and destination.

The biggest advantage is that the Python back end can access a highly optimized Graphing library and potentially support real time processing of hundreds of thousands of nodes, taking advantage of the server hardware and not relying upon the performance of a browser's Javascript engine.
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • Did you write that? That's seriously spiffy! I want something like that for getting to work from the train station. Now I just need a real time data feed of what's busy between here and there.
    • Did you write that?


      Indeed, I did. Freshman/Sophmore algorithms, but excellent use of them. :)

      I want something like that for getting to work from the train station.


      My county kinda-sorta-almost has something like it set up. Dealing with directed graphs and
  • works great in firefox. A minor bug in Safari though. If you click a point outside of a building you don't get the spiffy error that you need to click inside a building.
    • Re: (Score:2, Interesting)

      Yah, I found that out today when I stopped by my school bookstore and used their Mac.

      I have no clue why, it is just a simple alert() call. ^_^

      Actually, scrolling the page is broken in every browse except Firefox. Why? Well every browser[1] implements ge