Skip to Content
MOBILE WEB程式設計--第二版
book

MOBILE WEB程式設計--第二版

by Maximiliano Firtman
December 2013
Intermediate to advanced
752 pages
16h
Chinese
GoTop Information, Inc.
Content preview from MOBILE WEB程式設計--第二版
636
|
第十六章
我們通常會使用下列多重視圖機制之一:
Tab 導覽(頂部或底部)。
用來後退的頂部工具列與∕或後退鍵處理程式,如果可行的話。
使用按鍵或觸控分頁來循序檢視(如同投影片)。
版面配置
雖然我們只有使用一種 Web App 平台,仍然需要支援各種不同的螢幕大小、方向模式,
與物理螢幕大小。我們需要決定使用固定或流動設計,或響應式 Web 設計。
輸入方法
我們在設計行動網站時,也會出現這個問題:我們的 Web App 所處的設備具有各式各樣
的輸入方式(觸控、鍵盤、觸控板等等),因此必須以程式碼來支援所有輸入法,或許
也需要在觸控設備上改變版面配置(對於較大的元件)。
One-View Widget
one-view widget 是我們可以創建的 Web App 之中最簡單的一種(有時也是最強大的)。
它通常會有一個資訊畫面,而且可以選擇加入第二個畫面來設置主畫面的內容。它適合
用於氣象、金融、社群網路、新聞,與企業指示器(corporate indicator)。
動態應用程式引擎
因為 JavaScript 是一種動態語言,我們可以輕鬆地執行伺服器收到的程式碼(使用
eval()
JSONP 請求),因此,可以輕鬆地建立一個只有小型的引擎(如同網頁瀏覽
器)的 Web App,以它來接收伺服器的指令。
你可以從伺服器傳送所有程式碼(包括可在一些平台上存取私用 API 的程式),並且選
擇在本機持久存放區之中快取。因此,我們可以建立一個自行更新的 widget 機制,不需
要使用者介入即可接收最新版的應用程式。 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

成為卓越程式設計師的38項必修法則

成為卓越程式設計師的38項必修法則

Pete Goodliffe
精實企業|高績效組織如何達成創新規模化

精實企業|高績效組織如何達成創新規模化

Jez Humble, Joanne Molesky, Barry O'Reilly

Publisher Resources

ISBN: 9789862769522