PhoneGap vs RubyMotion
iconoclastlabs.com
iconoclastlabs.com
As is, though, I find myself judging a site/article/company based on how many elements of their site irritate me. And it's a giant header.
NO. This is just as bad. I loathe sites that require me to take action to make browsing sane just as much as the current situation. Each site that does this has its own way to make it unstick and I won't even bother looking 15 seconds how to hide that crap you're sticking through my optical nerve to read some content I may or may not even be interested in.
Solution: show your header for a second or two, then roll it up, leaving the bottom rounded part shown as a hint. If the user wants to show it again he will reach for that middle rounded part, upon which you could react to a hover, a click/tap and/or a drag. Why does it suck less? The animation builds expectation and explains the behavior, while the hint explains how to take action. Zero thought needed, and no friction to 100% content.
His conclusion is more than correct for PhoneGap: PhoneGap feels like half-assing it.
That platform limitation of RubyMotion and the cross-platform nature of PhoneGap is acknowledged multiple times in the post.
From a business perspective, the cross platform nature of PhoneGap may make it a better choice for some projects but from our short comparison of the PhoneGap version of the app deployed on both platforms, iOS appears more promising* so that's why we chose to write a native version for iOS (plus, coming from more of a Ruby/web background and having no Obj-C experience, RubyMotion lowered the barrier to entry for that). It's been an interesting learning experience for sure.
[*] http://iconoclastlabs.com/cms/blog/posts/chatoms-app-store-e...
I was looking for its answer for some time now. Our projects include a lot of C code.
Edit: A discussion topic on the newsgroup about it: https://groups.google.com/d/msg/rubymotion/tn5p3g071OE/5jyJI... (you'll have to sign up I think)
Between Ruboto and RubyMotion, I think there is a very real possibility that Ruby will become a significant player in the mobile space.
Oh, and as for Objective-C being a fast growing language? The rise of Objective-C is directly tied to the rise of the iOS platform. If iOS had been written in any other language, Objective-C would still be a mostly forgotten language today.
Further, I think learning Cocoa libraries in verbatim Objective-C is a only transient problem for the near-term. Efforts are already underway to abstract away some of that complexity but it's hard to be overly critical of a 5 week old project for not being mature.
Native vs HTML/PhoneGap is about tradeoffs. With a little bit more experience I'll be able to easily ship a working app in a weekend using PhoneGap, but there are plenty of use cases where native would be a much better way to go (games, photo filter apps, etc.)
It's not about what is better in all cases, it's about what is better for your project.
There's also probably an ego play, too. I see the "Objective-C isn't that hard. Learn it." argument a lot, but it does have a steep learning curve. For one, it's syntax is confusing if you don't recognize the brackets and messaging. Second, it's a lot closer to C than something like Ruby or Python, so you have to learn about types and memory management.
It's a mistake to compare these frameworks to native apps, not that you did but several posts are. They are different, and that's good. It's like complaining that C isn't object oriented. Find the right hammer for your nail.
One of the points in the article is that the second you want something phonegap doesn't provide, you're stuck back-peddling, or over-engineering your fix. We've already come across such a situation with one of our upcoming projects that requires camera overlays.
Ultimately, it's important to compare options, whether they be frameworks, native, or toolchains. They're all avenues that need to stand their ground against other avenues.
Personally, I just bit the bullet and spent time learning Obj-C, and found it to be much more pleasurable (especially when you don't limit yourself to just using XCode).
But yeah, in short: there's no comparison between Titanium and RM.
> there's no comparison between Titanium and RM.
Well, there is. As much, I guess, as there is between PhoneGap and RM. I really just saw RM and Titanium having more in common then what PhoneGap had to offer, and saw the comparison as a bit odd. PhoneGap's goals are different then RM or Titanium. That's all I really meant.
For my nickel, I believe your best bet is to either make a native app, or a mobile website. These "cross-platform" tools just make apps that feel like junk.