Refactoring HTML: Improving the Design of Existing Web Applications (Hardcover)

Elliotte Rusty Harold

  • 出版商: Addison Wesley
  • 出版日期: 2008-05-11
  • 售價: $1,480
  • 貴賓價: 9.5$1,406
  • 語言: 英文
  • 頁數: 368
  • 裝訂: Hardcover
  • ISBN: 0321503635
  • ISBN-13: 9780321503633
  • 相關分類: HTMLRefactoring
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

“Wow, what a compendium of great information and how-to’s! I am so impressed! Elliotte’s written a book whose title comes nowhere near to
doing it justice. Covering much more than just refactoring, this book explains how to do it right the first time around, in a clear and lucid
voice. Harold obviously knows his stuff. A must-read!”
?Howard Katz, Proprietor, Fatdog Software

“After working with people who require the skills and tools necessary to continually improve the quality and security of their applications, I
have discovered a missing link. The ability to rebuild and recode applications is a key area of weakness for web designers and web application
developers alike. By building refactoring into the development process, incremental changes to the layout or internals efficiently averts a total
rewrite or complete make-over. This is a fantastic book for anyone who needs to rebuild, recode, or refactor the web.”
?Andre Gironda, tssci-security.com

“Elliotte’s book provides a rare collection of hints and tricks that will vastly improve the quality of web pages. Virtually any serious HTML
developer, new or tenured, in any size organization will reap tremendous benefit from implementing even a handful of his suggestions.”
?Matt Lavallee, Development Manager, MLS Property Information Network, Inc.

Like any other software system, Web sites gradually accumulate “cruft” over time. They slow down. Links break. Security and compatibility problems mysteriously appear. New features don’t integrate seamlessly. Things just don’t work as well. In an ideal world, you’d rebuild from scratch. But you can’t: there’s no time or money for that. Fortunately, there’s a solution: You can refactor your Web code using easy, proven techniques, tools, and recipes adapted from the world of software development.

In Refactoring HTML, Elliotte Rusty Harold explains how to use refactoring to improve virtually any Web site or application. Writing for programmers and non-programmers alike, Harold shows how to refactor for better reliability, performance, usability, security, accessibility, compatibility, and even search engine placement. Step by step, he shows how to migrate obsolete code to today’s stable Web standards, including XHTML, CSS, and REST?and eliminate chronic problems like presentation-based markup, stateful applications, and “tag soup.”

The book’s extensive catalog of detailed refactorings and practical “recipes for success” are organized to help you find specific solutions fast, and get maximum benefit for minimum effort. Using this book, you can quickly improve site performance now?and make your site far easier to enhance, maintain, and scale for years to come.

Topics covered include

• Recognizing the “smells” of Web code that should be refactored
• Transforming old HTML into well-formed, valid XHTML, one step at a time
• Modernizing existing layouts with CSS
• Updating old Web applications: replacing POST with GET, replacing old contact forms, and refactoring JavaScript
• Systematically refactoring content and links
• Restructuring sites without changing the URLs your users rely upon

This book will be an indispensable resource for Web designers, developers, project managers, and anyone who maintains or updates existing sites. It will be especially helpful to Web professionals who learned HTML years ago, and want to refresh their knowledge with today’s standards-compliant best practices.
This book will be an indispensable resource for Web designers, developers, project managers, and anyone who maintains or updates existing sites. It will be especially helpful to Web professionals who learned HTML years ago, and want to refresh their knowledge with today’s standards-compliant best practices.

商品描述(中文翻譯)

「哇,這是一本充滿了豐富資訊和實用技巧的綜合手冊!我印象深刻!Elliotte寫了一本書,書名完全無法展現它的價值。這本書不僅涵蓋了重構,還清晰明瞭地解釋了如何在第一次開發時就做對。Harold顯然對此非常瞭解。必讀!」- Howard Katz, Fatdog Software老闆

「在與需要不斷提升應用程式品質和安全性的人合作後,我發現了一個缺失的環節。重建和重新編碼應用程式是網頁設計師和網頁應用程式開發人員的一個薄弱環節。通過將重構納入開發過程中,可以有效地進行佈局或內部結構的增量變更,避免了完全重寫或完全改造。這是一本對於需要重建、重新編碼或重構網頁的人來說非常棒的書。」- Andre Gironda, tssci-security.com

「Elliotte的書提供了一系列稀有的提示和技巧,可以大大提升網頁的品質。幾乎任何一個嚴肅的HTML開發人員,無論是新手還是有經驗的人,在任何規模的組織中,都能從實施他的建議中獲得巨大的好處。」- Matt Lavallee, MLS Property Information Network, Inc.開發經理

和其他軟體系統一樣,網站隨著時間的推移逐漸累積了「廢料」。它們變得緩慢,連結斷裂,安全性和相容性問題神秘地出現。新功能無法無縫集成。事情就是不順利。在理想的世界中,你會從頭開始重建。但你不能這樣做:沒有時間或金錢。幸運的是,有一個解決方案:你可以使用簡單、經過驗證的技術、工具和配方,從軟體開發領域中改造你的網頁代碼。

在《重構HTML》中,Elliotte Rusty Harold解釋了如何使用重構來改善幾乎任何網站或應用程式。他為程式設計師和非程式設計師寫作,展示了如何進行重構以提高可靠性、性能、可用性、安全性、可訪問性、相容性,甚至搜索引擎排名。他逐步展示了如何將過時的代碼遷移到今天的穩定網頁標準,包括XHTML、CSS和REST,並消除基於呈現的標記、有狀態的應用程式和「標籤湯」等常見問題。

本書的詳細重構目錄和實用的「成功配方」有助於您快速找到特定解決方案,以最小的努力獲得最大的效益。使用本書,您可以立即改善網站性能,並使您的網站在未來多年中更容易增強、維護和擴展。

涵蓋的主題包括:
- 辨識需要重構的網頁代碼的「異味」
- 逐步將舊的HTML轉換為格式良好、有效的XHTML
- 使用CSS現代化現有佈局
- 更新舊的網頁應用程式:用GET替換POST,替換舊的聯絡表單,重構JavaScript
- 系統性地重構內容和連結
- 重組網站結構而不更改用戶依賴的URL

本書將成為網頁設計師、開發人員、專案經理以及維護或更新現有網站的任何人的不可或缺的資源。對於多年前學習HTML的網頁專業人員來說,這本書將特別有幫助,他們希望用今天的標準合規最佳實踐來更新他們的知識。」