Javascript used to display Business Database Search from The Dallas Morning News - 0 views
-
Tom Johnson on 15 May 11Daniel Lathrop Wanted to share with all of you my latest installment in my ongoing love affair with Google Fusion Tables, the Dallas publicly-traded companies list. http://newsapps.dallasnews.com/media/dfw-public-companies.html I got the data from the biz desk on Thursday and wrote this little thing using JQuery, JQueryUI and FusionTables pretty quickly. And before everyone gets all "but you could have used [Caspio, TableSetter, Rails, PHP, Ilene, etc.]" on me, I know I could have. But doing this with Fusion Tables let me do all my work on the client side and let me create the user-experience I wanted. Plus, I now have a starting place to do this for any similar Fusion Tables project. For the curious, the Javascript can be found here: http://newsapps.dallasnews.com/media/fusiondmn.pubcompanies.js It's fewer than 150 lines, and more than a quarter of that is my Javascript for for rendering integer/floating point #s in newsroom style (e.g. $4.2 billion). I'm hoping to turn it into a robust tool for deploying searchable data with Fusion Tables and am going to ask my corporate overlords to let me open source it once I've done some refactoring to make it generally applicable. Critiques welcome. -Daniel --------------------------- Daniel Lathrop 206.718.0349 (cell)