Editorial: SDK Frustration – My Experiences with Android, iOS, BB, PhoneGap and others

Through my computer science university experience, my need to download SDK’s was limited. Much of our work was done in Java and so the biggest requirement was to download and install Eclipse and the Java JDK. I was fortunate to be able to take a course in iOS development at university as well (one of the best courses I took by far). The setup experience for iOS development is similarly simple. Just download and install the iOS SDK. XCode and all the other tools are automatically configured and prepared for you. You just open XCode and start coding. I found these setup experiences to be generally quick and painless. I recently needed to test a PhoneGap application in an Android context. I had never done so before and I, perhaps naively, expected the setup to do so to be equally as painless as I had experienced before. Wow was I wrong.

jWorkflow: A JavaScript Workflow Framework

Dude Where’s my workflow? While working on large javascript projects at tinyHippos we would commonly end up with a rather complex bootstrapping process where we need to execute a large amount of initialization code in a specific order. Some of this code is asynchronous and some is synchronous. We would start out with a series of events [...]

Some Observations On Asynchronous Programming In Client Side JavaScript

Programming operations asynchronously in client-side JavaScript can make life a lot easier. Lately, I found myself wondering what async truly means in this case, did some investigations and figured it would be worth mentioning.

Closure in JavaScript – with examples

Here at tinyHippos, we use JavaScript extensively. As a matter of fact it is our core development language right now. So I’m often surprised to see how many developers don’t understand how closure works. There are some great resources out there that I recommend every JavaScript developer read / watch and I’ll post them all [...]

Modular Programming Patterns With JavaScript

These days, if you search around the web even a little, you will eventually come across many examples, tutorials, code snippets, libraries and more on JavaScript (i.e EMCAScript). Unfortunately it being a very flexible and easy to learn language, a good bunch of it is is not an ideal example of good practices. Then again a lot [...]

Mobile Widgets – Dynamic Layout Example

This is the third post in our on-going series on Mobile Widget development. The first two can be found here: Mobile Widgets – Persistence Cross-Platform Wrapper Mobile Widgets – a primer Over the past few weeks we’ve seen many developers gravitate towards using Position: fixed in their CSS to pin their widget’s header and footer [...]

CSS Priming For Fun Part 2: CSSPrimer 0.1

A while back I did a small post on parsing HTML/XML files and extracting the ids and classes into a generated CSS file. I finally got around to refactoring and packaging it into a ruby gem. This can help you rapidly prototype your markup without having to write the CSS at the same time. Use [...]

Mobile Widgets – Persistence Cross-Platform Wrapper

This is the second post in our series on building Mobile Widgets. The first post was an introduction to Mobile Widgets. Mobile Widgets – a primer In this post we will build a persistence library that works across multiple platforms and abstracts away the differences of those different platforms into a common set of methods. [...]

Sending email with Gmail and Rails, while supporting multiple Ruby versions

Recently I have been working on a Rails app hosted on our deployment server (Heroku) and trying to get ActionMailer and Ruby working with Gmail’s SMTP service. The one catch is you need to use the TLS protocol and prior to Ruby 1.8.7 (Rails 2.3+) you need to write your own wrapper. Heroku (still using [...]

Proxying HTTP Requests in Ruby

So building upon my other jaunts into Ruby I decided to post some code to make http requests to external urls. It could use come polish and there there is most definitely better mechanisms out there (probably a gem or two… or three) but tis fun to write well… code. First, here is an example [...]

Follow

Get every new post delivered to your Inbox.