zoukankan      html  css  js  c++  java
  • iPhone Web App及优缺点【书摘】

    最近看了一本图书“Building iPhone Apps with HTML, CSS, and JavaScript”,对Web App的开发有了深入的了解
    特摘录一些片段,以作为实现选型的依据。

    http://www.oreilly.com/catalog/9780596805784/

    http://examples.oreilly.com/9780596805791/

    What Is a Web App?

    To me, a web app is basically a website that is specifically optimized for the iPhone. The site can be anything from a standard small-business brochure site to a mortgage calculator to a daily calorie tracker—the content is irrelevant. The defining characteristics of a web app are that the user interface is built with web-standard technologies, it is available at a URL (public, private, or behind a login), and it is optimized for the specifics of the iPhone. A web app is not installed on the phone, is not available in the iTunes App Store, and is not written with Objective-C.

    What Is a Native App?

    In contrast, native apps are installed on the iPhone, have access to the hardware (speakers, accelerometer, camera, etc.), and are written with Objective-C. The defining characteristic of a native app, however, is that it’s available in the iTunes App Store—a feature that has captured the imagination of hordes of software entrepreneurs worldwide, myself included.

     

    Pros and Cons

    Different applications have different requirements. Some apps are a better fit with web technologies than others. Knowing the pros and cons of each approach will help you make the right decision about which path is appropriate for your situation.

    Here are the pros of native app development:

    • Millions of registered credit card owners are one click away.

    • Xcode, Interface Builder, and the Cocoa Touch framework constitute a pretty sweet development environment.

    • You can access all the cool hardware features of the device.

    Here are the cons of native app development:

    • You have to pay to become an Apple developer.

    • You are at the mercy of the Apple approval process.

    • You have to develop using Objective-C.

    • You have to develop on a Mac.

    • You can’t release bug fixes in a timely fashion.

    • The development cycle is slow, and the testing cycle is constrained by the App Store’s limitations.

    Here are the pros of web app development:

    • Web developers can use their current authoring tools.

    • You can use your current web design and development skills.

    • You are not limited to developing on the Mac OS.

    • Your app will run on any device that has a web browser.

    • You can fix bugs in real time.

    • The development cycle is fast.

    Here are the cons of web app development:

    • You cannot access the all cool hardware features of the phone.

    • You have to roll your own payment system if you want to charge for the app.

    • It can be difficult to achieve sophisticated UI effects.

  • 相关阅读:
    DES加密/解密类。
    断言与单元测试
    空对象模式和扩展方法的NULL验证
    防御性判断
    行为型-观察者模式、基于事件的观察者
    【Python学习日记】B站小甲鱼:继承,super和多重继承
    【Python学习日记】B站小甲鱼:类和对象
    【Python学习日记】B站小甲鱼:图形界面入门easygui
    【Python学习日记】B站小甲鱼:丰富的else语句
    【Python学习日记】B站小甲鱼:永久储存(pickle模块)和异常处理(exception)
  • 原文地址:https://www.cnblogs.com/greywolf/p/2815322.html
Copyright © 2011-2022 走看看