1. Trang chủ
  2. » Công Nghệ Thông Tin

Adapting to Web Standards: CSS and Ajax for Big Site pot

298 586 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 298
Dung lượng 7,05 MB

Nội dung

[...]... applications, and other dynamic systems are concerned If a Web site is to reap the benefits of a Web standards-based UI, it needs to be considered at all levels, and plans should be introduced that will allow the site to grow intelligently The Keys to Web Standards What, exactly, changes when you’re planning a site with a Web standards-based approach? First, on the UI layer, conforming to Web standards means... Constructing Standards-Based Web Sites Introduction Building Web sites has changed, and someone forgot to tell the architects Web browsers’ support for modern techniques has allowed a new degree of discipline and control in coding the front end of a Web site These new best practices are those dictated in what is commonly referred to as Web standards-based” design or development A Web standards-based... Finally, figure out how to get a site to its standards-compliance goals and how to keep it that way 11 1 Coding the Front End Advocates of Web standards tend to be passionate, but far from unanimous Disagreement is nothing new The concept of Web standardsbased” Web sites means different things to different people Web standards is the subject of many an argument online, and, to some, almost a religious... driven, it interprets and responds to user actions and may drive changes to the model Think of this as the layer responsible for handling user actions which include, but are not limited to, mouse clicks or Web- based form submissions To extend this model to Web software and Web standards, some have labeled the UI layer separation of content, presentation, and behavior as a parallel to this pattern, using... complex a Web presence, the more critical Web standards become This is particularly true for an enterprise with many different properties, channels, or brand considerations Add to this the prospect of critical Web- based applications and content management, and it becomes a mandate to ensure a high level of quality at every tier of an online presence 6 ADAPTING TO WEB STANDARDS To embrace standards is... used for things it was never intended to do Basic layouts and design treatments were effectively code hacks Today these hacks have been worked into marketing Web sites, Web software applications, and content management alike Web browsers today can support a more modern and disciplined approach that can help simplify all of these environments through the adoption of Web standards-based code A Web standards-based... 4.01 and XHTML 1.0 as the most realistic options For years, many Web standards advocates insisted that XHTML was the next logical step for the Web and that it should be used for all markup Some still feel strongly that this is the case Exceptions among experts exist, and in fact many of the creators of browser software today favor HTML and consider most of the XHTML on the Web to be invalid due to its... include “BackCompat” for quirks mode and CSS1 Compat” for standards mode Oops, the Wrong Rendering Mode Broke the Page It is not unusual to have a site or a series of templates built in a carefully crafted Web standards-based structure, and then something just goes wrong, pushing the browser into the wrong rendering mode The result is an entire page or 23 24 ADAPTING TO WEB STANDARDS series of pages... vary from site to site Similarly, switching to standards mode from quirks can also yield unpredictable results Figure . cssbeauty com breaks if the DTD is removed and the browser enters quirks mode 26 ADAPTING TO WEB STANDARDS For starters, there are extra background graphics behind the headers at the top of the page Additionally, the layout seems to have shifted up the page slightly and the “Recommended”... many myths that surround Web standards To those who think they know what Web standards are all about, it’s important to filter truth from all the noise The most important aspects of Web standards-based Web sites are the separation of content and structure (HTML or XHTML) from presentation (CSS) and behavior (JavaScript) These key characteristics are by far the most critical ones, and will help provide . ADAPTING TO WEB STANDARDS Christopher Schmitt, Kimberly Blessing, Rob Cherny, Meryl K. Evans, Kevin Lawver, and Mark Trammell CSS and Ajax for Big Sites Adapting. Lawver, and Mark Trammell CSS and Ajax for Big Sites Adapting to Web Standards: CSS and Ajax for Big Sites Christopher Schmitt Kimberly Blessing Rob Cherny Meryl

Ngày đăng: 05/03/2014, 17:20