View Full Version : TravelMate web app source now on GitHub

3 May 2011, 9:48 AM
I've finally got around to putting the sources for TravelMate (one of the three winners in Sencha's app contest last year) on GitHub - until now I've just been mailing out a .zip file to anyone who asked...

There's actually been quite a few tweaks since the time of the contest so it has some extra functionality and some UI improvements. However, the bulk of it was written in a screaming hurry using (rapidly-changing) Beta releases of Sencha Touch, so there are more than a few hacks and kludges in there, and some startlingly less-than-elegant JavaScript. However, someone may still find bits of it useful!

If anyone comes up with any improvements I'd love to see (and use, and credit) them.


The app itself is still at http://jag.gr/tm/

3 May 2011, 12:38 PM
Gotta love one big onReady function

3 May 2011, 1:40 PM
Hey - then we were all working with (very) flaky/variable Beta code and docs that were massively out of sync with the actual code base. And core files that broke every time you moved up a (Beta) release. And, you know what? It worked... ;-)

And, you know what? It still does. It ain't pretty in (say) MVC terms, but most MVC Sencha Touch apps that use TabBar interfaces don't actually Just Work(TM). Yet this does. Pretty well.

I wouldn't code this app in this way now. It's pig-ugly. But the approach isn't *that* stupid (even if some of the code is pretty hacky).