Refactoring HTML and over 900,000 other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
More Buying Choices
Have one to sell? Sell yours here
Refactoring HTML: Improving the Design of Existing Web Applications (Addison-Wesley Signature)
 
 
Start reading Refactoring HTML on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Refactoring HTML: Improving the Design of Existing Web Applications (Addison-Wesley Signature) [Hardcover]

Elliotte Rusty Harold
3.0 out of 5 stars  See all reviews (1 customer review)
RRP: £32.99
Price: £28.04 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £4.95 (15%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Only 1 left in stock--order soon (more on the way).
Want guaranteed delivery by Saturday, February 11? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £18.86  
Hardcover £28.04  
Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Visit the Amazon.co.uk Trade-In Store for more details.

Product details

  • Hardcover: 368 pages
  • Publisher: Addison Wesley; 1 edition (1 May 2008)
  • Language English
  • ISBN-10: 0321503635
  • ISBN-13: 978-0321503633
  • Product Dimensions: 23.3 x 18.7 x 2.2 cm
  • Average Customer Review: 3.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: 1,047,201 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Elliotte Rusty Harold
Discover books, learn about writers, and more.

Visit Amazon's Elliotte Rusty Harold Page

Product Description

Review

“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.

Product Description

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.

InRefactoring 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.


Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

 

Customer Reviews

1 Review
5 star:    (0)
4 star:    (0)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
3.0 out of 5 stars (1 customer review)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

1 of 1 people found the following review helpful:
3.0 out of 5 stars Pretty good summary of ways to improve HTML, 14 July 2009
By 
S. Dutton "Sam Dutton" (London, England United Kingdom) - See all my reviews
(REAL NAME)   
This review is from: Refactoring HTML: Improving the Design of Existing Web Applications (Addison-Wesley Signature) (Hardcover)
There's nothing very wrong with this -- it's just a bit uninspiring.

I'm not sure who the intended audience is. Seasoned coders have heard it all before; beginners will get bored.

A lot of the content feels redundant. Each of the refactorings is given the same motivation/trade-offs/mechanics format, which means that even a simple refactoring like 'Replace i with em or CSS' takes three pages or more. There's also a long appendix explaining regular expressions, and a lot of introductory padding.

I'd say some of the author's suggestions are pretty contentious, too:
- his repeated use of inline CSS in refactorings
- the suggestion that contact forms should be replaced with mailto links
- his strange ideas for hiding email adresses.

There *is* some interesting stuff here -- the Tools chapter is especially good -- and I have great respect for the author in other contexts.

But as an expensive hardback, this isn't really worth it.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.2 out of 5 stars (4 customer reviews)

6 of 6 people found the following review helpful:
4.0 out of 5 stars A good review of xHTML standards for those already familiar with HTML, 23 Jun 2008
By Michael Rimov - Published on Amazon.com
This review is from: Refactoring HTML: Improving the Design of Existing Web Applications (Addison-Wesley Signature) (Hardcover)
First the good:
It is an _excellent_ tutorial on modern xHTML for those that have used HTML from its tag-soup beginnings. He methodically gives examples on why we, as web programmers, need to utilize a particular technology (CSS, Accessibility, etc). For example, he doesn't just say "Use CSS" because its the new way of doing things. He gives no-nonsense specific examples in bandwidth savings, alternate devices, etc.

His writing style is easy to read for computer geeks: a signature trait of any Martin Fowler signature series book.

He also provides a series of regular expressions that you can use to search through your HTML code to find problem areas and does a good introduction to the program "tidy". Since I am definitely _NOT_ a Regex geek, these are highly appreciated.

And finally, he shows usage of some xHTML tags and attributes of which I was not aware: such as proper usage of <acronym/> and <abbr/> tags.

Onto the downsides:
Originally I purchased this book thinking that I would be able to use it to get some tools under my belt to better transform the lousy auto-generated HTML that most graphics tools export and update them to decent, modern xHTML. However, the author is definitely NOT a "graphics design guy." And because of that, I know that several of the solutions he provided in his CSS sections would NOT fly with the designers where I work.

If I had seen his website, I probably would have realized that he was an XML expert instead of a design expert and wouldn't have gotten my hopes up. So far, I've found that websites like "A list apart" are much better for working with CSS-based design.

So for those looking to refactor your HTML code from ancient "Tag Soup" to modern sleek xHTML, this is a great book. If you're looking for how to best refactor from table-designs to table-less while maintaining a similar Look and Feel that you've been given by your designers, I find this book highly lacking.

5.0 out of 5 stars Offering a range of tips on how to modernize existing layouts or update old Web applications, 10 Nov 2008
By Midwest Book Review - Published on Amazon.com
This review is from: Refactoring HTML: Improving the Design of Existing Web Applications (Addison-Wesley Signature) (Hardcover)
Elliotte Rusty Harold's REFACTORING HTML: IMPROVING THE DESIGN OF EXISTING WEB APPLICATIONS is also a pick for any library strong in web programming: it explains how to use refactoring to improve a web site or application and is written for all levels of programmers, offering a range of tips on how to modernize existing layouts, update old Web applications, and work with existing code and structure.

9 of 15 people found the following review helpful:
3.0 out of 5 stars Mainly for hardcore techies, 23 May 2008
By James Stewart - Published on Amazon.com
This review is from: Refactoring HTML: Improving the Design of Existing Web Applications (Addison-Wesley Signature) (Hardcover)
Despite years of progress by web standards advocates, and a significant improvement in the quality of the HTML on the web, many of us still end up grappling with outmoded, broken HTML on a regular basis. When confronted with a large site filled with broken pages it can be hard to know where to start. Elliotte Rusty Harold's Refactoring HTML offers a step by step recipe book for migrating such sites to clean, semantic code.

Harold's is a well known name in the XML world, and that background shows through in how he approaches the book. While a general audience will probably find useful content, the reader needs to be prepared for a series of command-line and Java-based examples. Tools like tidy are featured prominently, as is the use of regular expressions to seek out broken code to fix and, in the music-to-my-ears category, automated testing.

If you're equipped to do so, following these steps will lead to much cleaner, more manageable sites, but I found myself wondering how many of those comfortable with command line tools and regular expressions are in the market for a book like this.

In general I suspect the key audience for this will be IT departments inside large organisations tasked with refreshing or extending an intranet. For those developers, who maybe don't spend much of their time working with HTML and like the idea of using scripting tools similar to those in their regular workflow, this book's worth a look. If you're already familiar with current trends in web development, then there are probably other ways of picking up on the scattering of techniques that might be new to you.

Disclaimer: I was sent a copy of this book for review by the publisher.
 Go to Amazon.com to see all 4 reviews  4.2 out of 5 stars 
Were these reviews helpful?   Let us know
 
 
Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges