Would you consider Sencha
Sencha was announced yesterday - http://www.sencha.com/ - a combination of 3 great javascript libraries for Mobile development. Looks great for building web sites apps.
My question is - would you consider using it, within a web view in Titanium, thus building apps using almost the exact same code as your web version?
Or is there other advantages in using native calls? In which case, is there a place for a library specifically for Titanium to do forms, tables etc?
7 Answers
-
JQTouch is another options, but they dont have ANDROID running yet.
-
you can also have a look at :
http://iwebkit.net/demo
http://code.google.com/p/iui/what is great in Sencha : fixed elements (navbar, tabbar etc..)
(for this option with the two above, you will need to consider : http://blogs.nitobi.com/jesse/2010/05/03/glovebox/ from the phonegap's guy)… BUT titanium is so easy to use ;-)
first native advantage is speed.
for table, forms etc.. check API & kitchensink, everything is in there. -
Sencha is SLOWWWW!! Like running an app through peanut butter.
-
Sencha Touch is looking pretty awesome! It performs great on iPad, but loads/performs a bit more slowly on the lower end mobile devices I tested (iPhone 3G and Android G1). Another thing to note is that it is licensed under the GPL OSS license, which means any app you develop using this technology will also need to be open source. I imagine at some point Sencha will make a commercial license available, but you'll have to pay to use it in a commercial application.
Could you use it in a Titanium app? Sure could - I think you'd achieve great results on iPad right now. The Titanium native APIs will be faster, though. Sencha is definitely worth monitoring for web applications - if it were me, though, I'd probably go native in Titanium to do the things Sencha can do.
One place I could see it being useful - if you're doing an iPad game in a webview (we have a number of those out in the wild), you could do your admin/config/settings screens in Sencha and not have to mix too much native+web.
I want to underscore I'm not bashing Sencha Touch - it's looking really great and I'm excited to see what they come up with. These are just some thoughts I had.
-
If you have the capability of writing Native apps but want to compare with using web tools, sencha, titanium, etc., we just wrote an extensive blog post on the subject: Web vs Native: How Should You Write Your App?
-
The demo sites take about 48 seconds to come up on my iTouch. Is this typical??
-
"My question is - would you consider using it, within a web view in Titanium, thus building apps using almost the exact same code as your web version?"
That doesn't make any sense…. why wrap a Sencha-based HTML5 web app inside Titanium?
It would be one or the other, not both