TAILIEUCHUNG - Lập trình ứng dụng cho iPhone part 4

Advanced WebKit and textual web apps Trong chương trước chúng tôi bao gồm các nguyên tắc cơ bản của redeveloping một trang web hiện có để sử dụng trên iPhone. Trong quá trình này bạn đã học về các khái niệm quan trọng như khung nhìn, và chúng tôi thảo luận rất nhiều những gì làm việc-và những gì doesnt-trên nền tảng di động duy nhất của Apple. Chúng tôi hy vọng, mặc dù, mà hầu hết các bạn không chỉ quan tâm đến việc chạm vào các trang web hiện lên nhưng thay vì tìm kiếm để tạo ra hoàn. | Advanced WebKit and textual web apps This chapter covers Learning about the WebKit Recognizing touch gestures Recognizing orientation In the previous chapter we covered the fundamentals of redeveloping an existing web page for use on iPhones. In the process you learned about important concepts like the viewport and we discussed a lot of what works and what doesn t on Apple s unique mobile platform. We expect though that most of you aren t just interested in touching up existing web pages but instead are looking to create totally new programs. Further after considering the advantages and disadvantages of both web and native development you ve decided that writing a new program using a web language is the best way to go. We re now ready to enter the world of web apps a topic that will consume the rest of part 2 of this book. We ve identified three ways to create web apps for the iPhone. Each will take advantage of all your existing web knowledge but each will also connect you with a specific library or Apple browser add-on that will allow you to unlock additional functionality on the iPhone platform. 55 56 Chapter 4 Advanced WebKit and textual web apps First you might choose to build a textual web app which is an application that is largely built on the fundamentals of HTML itself. You ll be able to supplement it with the advanced features of Apple s WebKit. We ll be discussing this programming method in this chapter. Second you might choose to build an iPhone-UI web app which is an application with a user interface that looks like iPhone s native apps. That will be the topic of chapter 5 where we ll also cover iUI a programming library meant to make this task easier. Third you might choose to build a graphical web app which is an application that pushes the boundaries of web graphics. That will be the topic of chapter 6 where our discussion will center on Canvas a graphical add-on introduced by Apple several years ago that is now widely available. Let s get started

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.