TAILIEUCHUNG - Webmaster's Guide to the Wireless Internet part 34

Webmaster's Guide to the Wireless Internet part 34. The Webmaster’s Guide to the Wireless Internet provides the Wireless Webmaster with all of the tools necessary to build the next generation Internet. Packed with the essential information they need to design, develop, and secure robust, e-commerce enabled wireless Web sites. This book is written for advanced Webmasters who are experienced with conventional Web site design and are now faced with the challenge of creating sites that fit on the display of a Web enabled phone or PDA | 302 Chapter 7 Deck of Cards Designing Small Viewpoint Content Figure Continued p card wml When we load this page into our browser without specifying the mode variable http localhost we can see that the final size of the WAP binary is 187 bytes as shown in Figure . Figure Binary Size without Indexing SELECT List However when we load up the page specifying mode index within the query string http localhost mode index we see that the final size of the binary is 146 is illustrated in Figure . You can see from this example that using indexed SELECT lists can save significant numbers of characters even after the code is parsed by the WAP gateway. The end user will notice absolutely no difference between the two different cards but the indexed card is 22 smaller than the first version. A deck that contains many SELECT lists would benefit greatly from this simple method of saving characters. This implementation should be used with care however as a client-side coder can change the order of the list or alter the display value without confirming the meaning of the variable s actual value with the server-side programmer. Deck of Cards Designing Small Viewpoint Content Chapter 7 303 Figure Binary Size after Indexing SELECT List It is incredibly unlikely that the continents featured in our example will change in our lifetimes and affect our results so you could store this information as part of a user profile without potential errors resulting in the future. However if we were using SELECT lists to denote information that is somewhat likely to change over time such as voting districts or area codes or information that is constantly changing like current movie listings we would need to take very special care to ensure that there is a consistent correspondence between the value of the index and the description of the value that is displayed. One way to do this would be to generate the SELECT list dynamically with .

TỪ KHÓA LIÊN QUAN
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.