English 中文(简体)
Getting started with Sencha Touch
原标题:

I m an Ext veteran but have a few rather simple mobile apps i need to create and naturally i m looking at sencha touch. Ting is - most of the examples don t run up in Firefox/Opera.

I m happily using Monodevelop as my IDE - this will have an Asp.NET backend - but can t even get the most basic setup working with ST....

What does everyone use for their development setups? How do you debug your apps?

最佳回答

I m working in a vaguely similar scenario, and I mostly go for Google Chrome s Developer Tools or sometimes Safari developer tools, that s far from perfect but at least something.

However, I often try to isolate out problems not directly tied to the interface and then go back and solve them with Firefox/Firebug, which I find the absolutely superior development environment. It s often more than you think, especially if you re experienced with TDD. Try QUnit, for example ( http://docs.jquery.com/QUnit ).

It s probably possible to use Apple s developer tools (XCode/Dashcode or whatever..) for a more ergonomic experience, but I still can t be bothered.

(Here s to hoping for more compatible mobile web frameworks! I want my Firebug!)

问题回答

They have explicitly stated that Sencha Touch only works on Web-kit browsers, namely Chrome and Safari

I am using VS 2008 SP1 with a large solution in TFS with a web application that hosts the JSON WCF services and Sencha Touch clients for iPad, iPhone and more. I have it working with WCF and am still learning myself. I admit it was quite a bear to learn, but things are starting to work. I have lists sizing to the client as expected too. The hardest part was the fact that Casini only hosts locally so we need to publish the web application to test with real iPads and iPhones. I also use Safari in OSX to help debug.

I sat around with Chrome, an iPhone and the Android emulator when I did my first one. I thought multi browser testing was bad normally but it s nothing compared to all the different Android versions, densities etc.

Chrome developer tools was the best I could manage on the PC though.

The best IDE I ve come accross is Netbeans. Here s a guide to start you off : http://techtalktone.wordpress.com/2012/02/22/using-netbeans-ide-with-sencha-touch/

The browsers you can test it on are : Safari, Chrome

The OS s on which it works : Android, iOS, BB6+

Hope this helps Cheers :)





相关问题
Windows 7 multitouch capabilities with HTML5

I have a problem: There are HTML5/CSS3 mobile frameworks on the market like Sencha Touch and Phonegap which can use the multi-touch gestures of the iPad/iPhone, Android, etc. That s working fine, I ...

Getting started with Sencha Touch

I m an Ext veteran but have a few rather simple mobile apps i need to create and naturally i m looking at sencha touch. Ting is - most of the examples don t run up in Firefox/Opera. I m happily using ...

Custom icon in TabPanel fails

I m trying to add a custom icon to a TabPanel but when I do that it just shows a dark box with rounded corners. My css looks like this: http://pastebin.org/447682 The code in the url is base64 for ...

Sencha Touch and ExtJS

Sencha Touch looks impressive, and ExtJS looks nice. I am evaluating if I should use ExtJS or SproutCore for an upcoming app. Now that Sencha Touch is in the mix, I wonder if I choose ExtJS, it d be ...

Turning Sencha Touch-based app into a true native iPhone app?

As I understand, Sencha Touch is just a javascript library that lets you create websites that respond to multitouch and other features you find in native iPhone apps. So... Your end result is accessed ...

Is anyone using Sencha Touch for mobile development?

We re evaluating Sencha Touch for mobile development. Has anyone used this yet (I realize that it s still in beta), and if so, what are its strengths / weaknesses? How does it compare to alternatives? ...

热门标签