Saved in:
Main Author: | |
---|---|
Format: | Book |
Language: | English |
Published: |
Upper Saddle River, NJ [u.a.]
Pearson / Addison-Wesley
2008
|
Edition: | 1. print. |
Series: | The Addison-Wesley signature series
|
Subjects: | |
Links: | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017069795&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
Physical Description: | XXI, 340 S. Ill., graph. Darst. |
ISBN: | 0321503635 9780321503633 |
Staff View
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV035264325 | ||
003 | DE-604 | ||
005 | 20131106 | ||
007 | t| | ||
008 | 090122s2008 xx ad|| |||| 00||| eng d | ||
010 | |a 2008008645 | ||
020 | |a 0321503635 |9 0-321-50363-5 | ||
020 | |a 9780321503633 |9 978-0-321-50363-3 | ||
035 | |a (OCoLC)212410129 | ||
035 | |a (DE-599)GBV560718306 | ||
040 | |a DE-604 |b ger | ||
041 | 0 | |a eng | |
049 | |a DE-29T |a DE-M347 |a DE-522 | ||
050 | 0 | |a TK5105.888 | |
082 | 0 | |a 006.7/4 |2 22 | |
084 | |a ST 252 |0 (DE-625)143627: |2 rvk | ||
100 | 1 | |a Harold, Elliotte Rusty |e Verfasser |0 (DE-588)115033165 |4 aut | |
245 | 1 | 0 | |a Refactoring HTML |b improving the design of existing web applications |c Elliotte Rusty Harold |
250 | |a 1. print. | ||
264 | 1 | |a Upper Saddle River, NJ [u.a.] |b Pearson / Addison-Wesley |c 2008 | |
300 | |a XXI, 340 S. |b Ill., graph. Darst. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
490 | 0 | |a The Addison-Wesley signature series | |
650 | 0 | |a Web sites / Design | |
650 | 0 | |a Software refactoring | |
650 | 0 | |a Web servers / Computer programs | |
650 | 0 | |a Application software / Development | |
650 | 0 | |a HTML editors (Computer programs) | |
650 | 4 | |a HTML (Langage de balisage) | |
650 | 4 | |a Logiciels - Refactorisation | |
650 | 4 | |a Logiciels d'application - Développement | |
650 | 4 | |a Serveurs Web - Logiciels | |
650 | 4 | |a Sites Web - Conception | |
650 | 4 | |a Éditeurs HTML (Logiciels) | |
650 | 4 | |a Application software |x Development | |
650 | 4 | |a HTML editors (Computer programs) | |
650 | 4 | |a Software refactoring | |
650 | 4 | |a Web servers |x Computer programs | |
650 | 4 | |a Web sites |x Design | |
650 | 0 | 7 | |a Anwendungsprogramm |0 (DE-588)4395354-2 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Website |0 (DE-588)4596172-4 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Refactoring |0 (DE-588)4784343-3 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Website |0 (DE-588)4596172-4 |D s |
689 | 0 | 1 | |a Anwendungsprogramm |0 (DE-588)4395354-2 |D s |
689 | 0 | 2 | |a Refactoring |0 (DE-588)4784343-3 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017069795&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-017069795 |
Record in the Search Index
_version_ | 1819290139585675264 |
---|---|
adam_text | Contents
Foreword by Martin Fowler xvii
Foreword by Bob DuCharme xix
About the Author Xxi
Chapter 1 Refactoring 1
Why Refactor 3
Smell: Illegible Code 3
Smell: The CEO Can t Fill Out His Travel Expense Vouchers 6
Smell: Slow Page-Rendering Times 6
Smell: Pages Appear Different in Different Browsers 6
Smell: Pages Require Dangerous or Nonstandard Technologies 7
Smell: Your Company s Home Page Suddenly Says,
Pwned by Elite Doodz 9
Smell: Your First Appearance on Google Is on Page 17 9
Smell: Readers Send E-mail Saying Your Site Is Broken 10
When to Refactor 11
What to Refactor To 13
Why XHTML 14
Why CSS 18
Why REST 20
Objections to Refactoring 23
Chapter 2 Tools 25
Backups, Staging Servers, and Source Code Control 25
Validators 27
The W3C Markup Validation Service 28
The Log Validator 29
xmllint 32
Editors 33
Testing 34
JUnit 36
HtmlUnit 39
HttpUnit 40
JWebUnit 41
FitNesse 42
Selenium
Getting Started with Tests 47
Regular Expressions 48
Searching 4
Search Patterns 52
Tidy 54
-asxhtml 54
-clean 57
Encodings 58
Pretty Printing 59
Generated Code 59
Use As a Library 59
TagSoup 60
TagSoup versus Tidy 62
XSLT 62
Chapter 3 Well-Formedness 65
What Is Well-Formedness? 66
Change Name to Lowercase 69
Motivation 70
Potential Trade-offs 71
Mechanics 71
Quote Attribute Value 73
Motivation 74
Potential Trade-offs 75
Mechanics 75
Fill In Omitted Attribute Value 76
Motivation 77
Potential Trade-offs 77
Mechanics 77
Replace Empty Tag with Empty-Element Tag 78
Motivation 79
Potential Trade-offs 79
Mechanics 79
Add End-tag g j
Motivation g2
Potential Trade-offs 82
Mechanics 33
Remove Overlap g^
Motivation gg
Potential Trade-offs g6
Mechanics gj
Convert Text to UTF-8 89
Motivation 89
Potential Trade-offs 89
Mechanics 89
Escape Less-Than Sign 91
Motivation 91
Potential Trade-offs 91
Mechanics 91
Escape Ampersand 93
Motivation 94
Potential Trade-offs 94
Mechanics 94
Escape Quotation Marks in Attribute Values 96
Motivation 96
Potential Trade-offs 96
Mechanics 96
Introduce an XHTML DOCTYPE Declaration 98
Motivation 98
Potential Trade-offs 98
Mechanics 99
Terminate Each Entity Reference 101
Motivation 101
Potential Trade-offs 101
Mechanics 101
Replace Imaginary Entity References 102
Motivation 102
Potential Trade-offs 102
Mechanics 102
Introduce a Root Element 103
Motivation 103
Potential Trade-offs 104
Mechanics 104
Introduce the XHTML Namespace 104
Motivation 105
Potential Trade-offs 105
Mechanics 105
Chapter 4 Validity 107
Introduce a Transitional DOCTYPE Declaration 109
Motivation 109
Potential Trade-offs 109
Mechanics 110
Remove All Nonexistent Tags 111
Motivation 111
Potential Trade-offs ] ] 2
Mechanics jj2
Add an alt Attribute I 4
Motivation j j 4
Potential Trade-offs 1 j 5
Replace embed with object j ] 7
Motivation j j g
Potential Trade-offs j j 9
Mechanics 22q
Introduce a Strict DOCTYPE Declaration 123
Motivation .- -,
Potential Trade-offs 123
Mechanics , 24
Replace center with CSS j24
Motivation . ~ ,
Potential Trade-offs 125
Mechanics . ~,
Replace font with CSS , 27
Motivation
Potential Trade-offs jj
Mechanics
Replace i with em or CSS
Motivation
Potential Trade-offs J.
Mechanics
Replace b with strong or CSS ! V.
Motivation
Potential Trade-offs 134
Mechanics
Replace the color Attribute with CSS ! Vl
Motivation 13°
Potential Trade-offs 137
Mechanics -^^
Convert img Attributes to CSS 137
Motivation 14^
Potential Trade-offs 140
Mechanics 140
Replace applet with object 41
Motivation 142
Potential Trade-offs 143
Mechanics 143
144
Replace Presentational Elements with CSS 146
Motivation 147
Potential Trade-offs 147
Mechanics 147
Nest Inline Elements inside Block Elements 149
Motivation 149
Potential Trade-offs 150
Mechanics 150
Chapter 5 Layout 155
Replace Table Layouts 156
Motivation 157
Potential Trade-offs 15 8
Mechanics 158
Replace Frames with CSS Positions 170
Motivation 170
Potential Trade-offs 171
Mechanics 171
Move Content to the Front 180
Motivation 181
Potential Trade-offs 181
Mechanics 181
Mark Up Lists as Lists 184
Motivation 185
Potential Trade-offs 185
Mechanics 185
Replace blockquote/ul Indentation with CSS 187
Motivation 187
Potential Trade-offs 188
Mechanics 188
Replace Spacer GIFs 189
Motivation 189
Potential Trade-offs 190
Mechanics 190
Add an ID Attribute 191
Motivation 192
Potential Trade-offs 192
Mechanics 192
Add Width and Height to an Image 195
Motivation 195
Potential Trade-offs 195
Mechanics 195
Chapter 6 Accessibility 99
Convert Images to Text 202
Motivation 202
Potential Trade-offs 203
Mechanics 203
Add Labels to Form Input 206
Motivation 207
Potential Trade-offs 207
Mechanics 207
Introduce Standard Field Names 210
Motivation 212
Potential Trade-offs 212
Mechanics 212
Turn on Autocomplete 216
Motivation 217
Potential Trade-offs 217
Mechanics 218
Add Tab Indexes to Forms 218
Motivation 219
Potential Trade-offs 219
Mechanics 220
Introduce Skip Navigation 222
Motivation 223
Potential Trade-offs 223
Mechanics 223
Add Internal Headings 225
Motivation 225
Potential Trade-offs 225
Mechanics 225
Move Unique Content to the Front
of Links and Headlines 226
Motivation 227
Potential Trade-offs 227
Mechanics 227
Make the Input Field Bigger 228
Motivation 229
Potential Trade-offs 229
Mechanics 229
Introduce Table Descriptions 230
Motivation 232
Potential Trade-offs 232
Mechanics 233
Introduce Acronym Elements 235
Motivation 235
Potential Trade-offs 235
Mechanics 236
Introduce lang Attributes 236
Motivation 237
Potential Trade-offs 237
Mechanics 238
Chapter 7 Web Applications 241
Replace Unsafe GET with POST 241
Motivation 242
Potential Trade-offs 242
Mechanics 242
Replace Safe POST with GET 246
Motivation 247
Potential Trade-offs 248
Mechanics 248
Redirect POST to GET 251
Motivation 251
Potential Trade-offs 252
Mechanics 252
Enable Caching 254
Motivation 254
Potential Trade-offs 255
Mechanics 255
Prevent Caching 258
Motivation 258
Potential Trade-offs 259
Mechanics 259
Introduce ETag 261
Motivation 262
Potential Trade-offs 262
Mechanics 262
Replace Flash with HTML 265
Motivation 266
Potential Trade-offs 267
Mechanics 267
Add Web Forms 2.0 Types 270
Motivation 270
Potential Trade-offs 271
Mechanics 272
Replace Contact Forms with mailto Links 277
Motivation 277
Potential Trade-offs 278
Mechanics 278
Block Robots 280
Motivation 281
Potential Trade-offs 281
Mechanics 281
Escape User Input 284
Motivation 284
Potential Trade-offs 284
Mechanics 284
Chapter 8 Content 287
Correct Spelling 287
Motivation 288
Potential Trade-offs 288
Mechanics 288
Repair Broken Links 292
Motivation 292
Potential Trade-offs 292
Mechanics 292
Motivation 298
Potential Trade-offs 299
Mechanics 299
Remove the Entry Page 302
Motivation 303
Potential Trade-offs 303
Mechanics 303
Hide E-mail Addresses 304
Motivation 305
Potential Trade-offs 305
Mechanics 305
Appendix A Regular Expressions 309
Characters That Match Themselves 309
Metacharacters 3 j j
Wildcards 312
Quantifiers 313
Zero or One:? 313
Zero or More: * 314
One or More: + 314
A Specific Number of Times: {} 314
Class Shorthands 315
Character Classes 316
Groups and Back References 318
Whitespace 321
Alternation: | 322
Greedy and Nongreedy Matches 323
Position 324
Index 327
|
any_adam_object | 1 |
author | Harold, Elliotte Rusty |
author_GND | (DE-588)115033165 |
author_facet | Harold, Elliotte Rusty |
author_role | aut |
author_sort | Harold, Elliotte Rusty |
author_variant | e r h er erh |
building | Verbundindex |
bvnumber | BV035264325 |
callnumber-first | T - Technology |
callnumber-label | TK5105 |
callnumber-raw | TK5105.888 |
callnumber-search | TK5105.888 |
callnumber-sort | TK 45105.888 |
callnumber-subject | TK - Electrical and Nuclear Engineering |
classification_rvk | ST 252 |
ctrlnum | (OCoLC)212410129 (DE-599)GBV560718306 |
dewey-full | 006.7/4 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 006 - Special computer methods |
dewey-raw | 006.7/4 |
dewey-search | 006.7/4 |
dewey-sort | 16.7 14 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
edition | 1. print. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>02390nam a2200625 c 4500</leader><controlfield tag="001">BV035264325</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20131106 </controlfield><controlfield tag="007">t|</controlfield><controlfield tag="008">090122s2008 xx ad|| |||| 00||| eng d</controlfield><datafield tag="010" ind1=" " ind2=" "><subfield code="a">2008008645</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0321503635</subfield><subfield code="9">0-321-50363-5</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780321503633</subfield><subfield code="9">978-0-321-50363-3</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)212410129</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)GBV560718306</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-29T</subfield><subfield code="a">DE-M347</subfield><subfield code="a">DE-522</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">TK5105.888</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">006.7/4</subfield><subfield code="2">22</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 252</subfield><subfield code="0">(DE-625)143627:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Harold, Elliotte Rusty</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)115033165</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Refactoring HTML</subfield><subfield code="b">improving the design of existing web applications</subfield><subfield code="c">Elliotte Rusty Harold</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">1. print.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Upper Saddle River, NJ [u.a.]</subfield><subfield code="b">Pearson / Addison-Wesley</subfield><subfield code="c">2008</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XXI, 340 S.</subfield><subfield code="b">Ill., graph. Darst.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="490" ind1="0" ind2=" "><subfield code="a">The Addison-Wesley signature series</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Web sites / Design</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Software refactoring</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Web servers / Computer programs</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Application software / Development</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">HTML editors (Computer programs)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">HTML (Langage de balisage)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Logiciels - Refactorisation</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Logiciels d'application - Développement</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Serveurs Web - Logiciels</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Sites Web - Conception</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Éditeurs HTML (Logiciels)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Application software</subfield><subfield code="x">Development</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">HTML editors (Computer programs)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Software refactoring</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Web servers</subfield><subfield code="x">Computer programs</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Web sites</subfield><subfield code="x">Design</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Anwendungsprogramm</subfield><subfield code="0">(DE-588)4395354-2</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Website</subfield><subfield code="0">(DE-588)4596172-4</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Refactoring</subfield><subfield code="0">(DE-588)4784343-3</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Website</subfield><subfield code="0">(DE-588)4596172-4</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">Anwendungsprogramm</subfield><subfield code="0">(DE-588)4395354-2</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="2"><subfield code="a">Refactoring</subfield><subfield code="0">(DE-588)4784343-3</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017069795&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="943" ind1="1" ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-017069795</subfield></datafield></record></collection> |
id | DE-604.BV035264325 |
illustrated | Illustrated |
indexdate | 2024-12-20T13:27:10Z |
institution | BVB |
isbn | 0321503635 9780321503633 |
language | English |
lccn | 2008008645 |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-017069795 |
oclc_num | 212410129 |
open_access_boolean | |
owner | DE-29T DE-M347 DE-522 |
owner_facet | DE-29T DE-M347 DE-522 |
physical | XXI, 340 S. Ill., graph. Darst. |
publishDate | 2008 |
publishDateSearch | 2008 |
publishDateSort | 2008 |
publisher | Pearson / Addison-Wesley |
record_format | marc |
series2 | The Addison-Wesley signature series |
spellingShingle | Harold, Elliotte Rusty Refactoring HTML improving the design of existing web applications Web sites / Design Software refactoring Web servers / Computer programs Application software / Development HTML editors (Computer programs) HTML (Langage de balisage) Logiciels - Refactorisation Logiciels d'application - Développement Serveurs Web - Logiciels Sites Web - Conception Éditeurs HTML (Logiciels) Application software Development Web servers Computer programs Web sites Design Anwendungsprogramm (DE-588)4395354-2 gnd Website (DE-588)4596172-4 gnd Refactoring (DE-588)4784343-3 gnd |
subject_GND | (DE-588)4395354-2 (DE-588)4596172-4 (DE-588)4784343-3 |
title | Refactoring HTML improving the design of existing web applications |
title_auth | Refactoring HTML improving the design of existing web applications |
title_exact_search | Refactoring HTML improving the design of existing web applications |
title_full | Refactoring HTML improving the design of existing web applications Elliotte Rusty Harold |
title_fullStr | Refactoring HTML improving the design of existing web applications Elliotte Rusty Harold |
title_full_unstemmed | Refactoring HTML improving the design of existing web applications Elliotte Rusty Harold |
title_short | Refactoring HTML |
title_sort | refactoring html improving the design of existing web applications |
title_sub | improving the design of existing web applications |
topic | Web sites / Design Software refactoring Web servers / Computer programs Application software / Development HTML editors (Computer programs) HTML (Langage de balisage) Logiciels - Refactorisation Logiciels d'application - Développement Serveurs Web - Logiciels Sites Web - Conception Éditeurs HTML (Logiciels) Application software Development Web servers Computer programs Web sites Design Anwendungsprogramm (DE-588)4395354-2 gnd Website (DE-588)4596172-4 gnd Refactoring (DE-588)4784343-3 gnd |
topic_facet | Web sites / Design Software refactoring Web servers / Computer programs Application software / Development HTML editors (Computer programs) HTML (Langage de balisage) Logiciels - Refactorisation Logiciels d'application - Développement Serveurs Web - Logiciels Sites Web - Conception Éditeurs HTML (Logiciels) Application software Development Web servers Computer programs Web sites Design Anwendungsprogramm Website Refactoring |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017069795&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT haroldelliotterusty refactoringhtmlimprovingthedesignofexistingwebapplications |