0

私は .net 開発者です。モバイルデバイス向けのアプリケーションを開発したいと考えています。私は Web 開発者であるため、Web テクノロジとスクリプト言語に精通しています。私は JQuery の大ファンなので、モバイル アプリケーション開発用の Jquery Mobile Framework を見つけました。

それで、いくつか質問があります:

  1. このフレームワークは Web アプリケーションの開発に役立ちますか、それとも設計目的のみですか?
  2. Jquery の知識を使用して、Jquery Mobile Framework を使用して Web アプリケーションを実装できますか?
  3. モバイルアプリ開発で Jquery AJAX を使用できますか?
4

2 に答える 2

3

モバイル「アプリケーション」の構築には役立ちませんが、モバイル対応のWebサイトの作成には役立ちます。

  1. モバイルWebアプリケーションのフロントエンドを構築するのに役立ちます。
  2. はい
  3. はい、モバイルWebアプリケーションを参照している場合は可能です。

使用するバックエンドテクノロジーは重要ではありません。jQueryMobileを使用していくつかの.NETMVCサイトを構築しましたが、これらはすべて非常にうまく機能しています。

于 2012-04-17T18:08:00.163 に答える
1
  1. jQuery Mobile will help you build a website, you can then view that website in a browser or package it into an app. If you want to create native applications out of HTML/CSS/JS then you will need an intermediary step that lets you run a webview as your app. PhoneGap is an example of a framework that allows you to use native APIs while building your application in HTML/CSS/JS.

  2. Your knowledge of jQuery will come-in handy but you will be forced to think about a jQuery Mobile website differently. For instance, pages are not HTML documents, but pseudo-pages that can be in separate documents but can also have multiple pseudo-pages inside a single HTML document. And because remote documents are brought into the DOM via AJAX (for animated transitions), you need to code your site to use unique IDs across the whole site, not just from page to page.

  3. Absolutely! jQuery AJAX makes creating dynamic websites and native apps easy. You basically just load a bunch of views (in HTML/JS/CSS) into the app. package and then your server does the modeling. One cool thing to take into consideration is that since you are running from a mobile app., there is no domain from which the response is sent, so there is no cross-domain-policy to worry about.

If you have not yet checked-out PhoneGap, do so, and also see the documentation on the jQuery Mobile website regarding how to create PhoneGap applications using jQuery Mobile:

http://jquerymobile.com/demos/1.1.0/docs/pages/phonegap.html

于 2012-04-17T18:40:15.143 に答える