Building the JavaScript for the Mobile Campus Map
In order to reduce file size and to optimize the code, the JavaScript used in the mobile versions of the campus map is compiled using Google’s Closure Compiler. The code is a combination of several...
View ArticleGoogle Maps API v3: Developing for Mobile Devices
April 30, 2013 Update: Post and template updated to include a more modern application cache loading script as well as utilizing my GeolocationMarker code and the latest Maps API v3 options. Developing...
View ArticleHoney I Shrunk the Website
Web pages should load fast. Period. It’s irritating for any reason to wait on a computer. As a web developer, so many of the factors that go into page loading speed are outside of our control. However,...
View ArticlejQuery Extern Generator for Closure-Compiler
In contribution to the Google Closure-Compiler project, I wrote a small console application which parses the jQuery API XML and outputs an extern file. The program maps types referenced in the jQuery...
View ArticlejQuery Plugins and Closure-Compiler
Closure-Compiler provides impressive minification and optimization on your JavaScript. However, not all code compiles equally. I recently worked on converting the jQuery Tooltip Plugin to be...
View ArticleSpeed Up Your Map with Closure-Compiler
Google recently posted a presentation I gave on using Closure Compiler to optimize your maps. [youTubeVideo url=”https://www.youtube.com/watch?v=-dFqoXXe5VM”] Slides: Speed up your map with Closure...
View ArticleiFrames, HTML5 and Older Versions of Internet Explorer
iframes and HTML5 templates have significant hurdles with older Internet Explorer versions. For Internet Explorer 8 and older, the frameBorder and scrolling attributes must be set on the iframe as the...
View ArticleClosure Compiler: Which Compilation Level is Right for Me?
Cross posted to the Closure Tools Blog When first starting with Closure Compiler, it is easy to see the names for the compilation levels and assume that advanced is better than simple. While it is...
View ArticleLatest Campus Map Source Code
The latest refresh of the Missouri State Campus Map continues to utilize the Google Maps API v3. The JavaScript for the Campus map has been rewritten from scratch. Now all three versions of the map use...
View ArticleHow to Write Closure-compiler Extern Files – Part 1 The Basics
One of the requirements for using ADVANCED_OPTIMIZATIONS with Closure-compiler is providing the compiler with type information for all of the functions and variables that are not directly defined by...
View Article