I just took a week off from ye olde daye jobbe and most delightful it was too! Lots of jamming with musicians, meeting lovely and fascinating people, fun nights out, saw the Partridge film, reading books, clearing my life laundry backlog, all capped off with a scenic 50 mile bike ride from Brecon to Cardiff in glorious weather – really couldn’t ask for more from a week off!
I also did a lot of tech stuff. I tried out a lot of new-to-me tools! Here are my thoughts:
Bower, from Twitter, is a dependency manager for the web – like Composer for PHP or Bundler for Ruby. More or less.
I switched a personal project to use Bower rather than Github submodules. There is a full post about this coming up on the Box UK blog, but this week I really it to my own projects and it worked pretty well. I’d definitely recommend this (or ANYTHING!) over Github submodules.
Cordova underlies PhoneGap and is the FOSS distribution thereof – it’s a way to make apps for Android, iOs, Windows Phone, Blackberry etc from a single HTML5/JS/CSS codebase. You can dip into the underlying Java if you want as well. It’s part of the hybrid app scene.
Cordova’s had a big old update to 3.0 and it’s… promising. It seems to be lighter and leaner and more modular, but unfortunately I didn’t have much joy getting it running properly on Ubuntu. I mean, I could run the sample project and all, and the new scaffolding stuff is really helpful to hit the ground running, but the plugin installation wasn’t really happening for me. I’ll return to it at a later date but I got a bit fed up after half an hour or so.
Intel App Framework (with MVC)
Intel App Framework, formerly known as JQMobi, is a nice little jQuery-compatible(ish) library that works well on mobile/hybrid apps. It’s lighter than jQuery Mobile. The MVC component is independent but plays nice with the main framework.
I’ve long been a user of jqMobi, and apparently it got bought out by Intel, which is great as development will continue. I like the fact that it’s light and I’ve even contributed back a couple of little fixettes myself. The new version is much improved, and the ‘droid Holo theme does look a bit like native ‘droid (although, like any hybrid, it’s never QUITE as slick!). I had a few minor teething troubles but they turned out to be bugs in my code that I’d, umm, hacked around before! Personal projects, eh? What you gonna do? 😉
Next job – find something to test my app!
ZombieJS is kind of a test runner and browser simulator, all in one
I tried to test my app using ZombieJS. I got the home screen sorta up but couldn’t really figure out how to “push the buttons” in any meaningful way – the app is single page and things get hidden or shown based on what’s going on (all handled by the Intel App Framework, which I’m now realised is a much more unwieldy term than jqMobi!). I think perhaps with more time with it I’d get better results but I got a little frustrated.
PhantomJS PhantomJS is a headless WebKit – a browser with no screen, basically
I really like PhantomJS. It’s siiiiick! 😉 It’s really quite easy to script. It didn’t play well with my app – but I’m not sure where that’s coming from, I got similar problems in Firefox and ended up hacking around the framework to work for me on the desktop, which isn’t really its use case. I still need to tinker with this some more.
Foundation is GREAT! It’s like Bootstrap, but a bit lighter and has a nice, clean interface. Looked fine for me on the platforms I had to hand (‘Droid 4.3 on a Nexus 4 and Nexus 7, and also Chrome and Firefox on Ubuntu). Would I use it over Bootstrap? Ehh, there’s really not that much to choose for someone like me; they’re both flipping great!
I also tinkered with qunit and jasmine – not sure which JS test tool to pick. I might need something more at an integration level like Selenium, but most of my experiences with that have been flaky.