Thursday, November 25. 2010My first attempt at a mobile web app
Is this thing on? So it's been a forever since I've blogged, but we'll see if I still can. Happy Thanksgiving at least!
Anyway, I've been wanting to build stuff for my iPhone. While I've been experimenting with Objective C for a native app, I wanted to actually build and publish something. So I have abandoned my Objective C code snippets for now and decided to go with things I know and build a Ruby on Rails site. There are various libraries to let you style a site for mobile browsers. I went with jQTouch, which is covered pretty well by these Railscasts and Peepcode screencasts. I like using the German-English dictionary site Beolingus, but I wanted to use it more easily on my iPhone. It turns out the data is downloadable, so I decided to build a web application with mobile front-end. Here it is: Denglisch (that's a term for English and German mixed together) I really wanted to build the site in Rails 3, but most of my stuff is hosted on Dreamhost, and I've read about various problem getting those apps running right now. So it's done in Rails 2.3.10 instead. The Rails side is pretty simple, just one model for the data, a rake script to import the textfile into the database, one controller and two actions. Then there's a little bit of jQuery Javascript code to handle the Ajax form submission. ![]() Anyway, I've tested this on my iPhone...I'm curious to hear if it works for the iPad and other mobile devices. It was a good hobby project anyway. Have fun!
(Page 1 of 1, totaling 1 entries)
|
CategoriesQuicksearchArchivesSyndicate This Blog |