Dynamic Web Programming and HTML5
Updates

Update Bulletin

Information updates related to the textbook will be posted here.

  • The Web is moving from HTTP/1.1 to HTTP/2 which is compatible to HTTP/1.1 but faster and more powerful. Popular websites have moved to HTTP/2 including Google, Facebook, Twiter, Youtube, amazon.com and so on. The Apache Web server supports HTTP/2 starting version 2.4.17.

Textbook Errata/Revisions

Hopefully there won't be many bugs or misprints. But, the ones that are found will be listed here.

If you find something wrong or have a suggestion, either for the text or the website, please let us know. Your input will be deeply appreciated.

  • Page 190, section 5.12.4, line 2, use code font

    multipart/formdata --> multipart/formdata

  • Page 190, section 5.12.4, line 4

    /plain --> text/plain

  • Page 198, 2nd line in section 5.17—

    the characters --> ASCII and UTF-8 encoded UNICODE characters

  • Page 209, line 4

    Php --> php

  • Page 218, first bullet item

    is placed --> is often placed

  • Page 233, section 6.11, first sentence, better wording

    Replace 1st sentence by:
    A CSS transition is the smooth varying of a style property from its current displayed value to a new value over a given time duration. The transition takes place whenever the property gets a new value.

  • Page 241, section 6.15 1st 2 lines

    Change 1st word: The --> A

    Change: Each --> A

    2nd line: its own --> its own predefined global

  • Page 241, section 6.15 line 6

    properties --> properties (attributes)

  • Page 246, last line

    the next section --> Section 6.16.7

  • Page 250, stray text on line 5

    Move stray text to just beyond the table; run-in in front of "the usage".

  • Page 261, paragraph before section 6.21.1

    Move entire paragraph to section 6.21.3 after line 8 and just before the paragraph starting with "For example, you can ..."

  • Page 309, 3rd line after Figure 7.20

    his example --> this example

  • Page 333, line 9

    declare --> declare it

  • Page 335, line -2

    Rach --> Each

  • Page 336, line marked (9) in formdata_check

    change to: if(! isset($fd[$key]) || trim($fd[$key])==="")

  • Page 346, last two lines, change to

    $ar = preg_grep("/$user:.*$/", file($pwFile));
    if (!($authUserLine = array_shift($ar)))
    

  • Page 355, last line

    often have --> often has

  • Page 356, Figure 8.10

    New user rgistration --> New user registration

  • Page 358, body of function check_user, change to

    preg_grep("/$id:.*$/", file($file));
    return array_shift($ar);
    
  • Page 378, line 3

    succesful --> successful

  • Page 386, line 1

    somethimes --> sometimes

  • Page 457, section 10.11.1, line 2

    /WEB/csnotes/ --> /dwp/protected/

  • Page 471, line 1, modify and delete extra text

    (php.ini)index ... containing --> php.ini containing PHP

  • Page 492, line -5

    a object --> an object

  • Page 509, line 2, paragraph 2

    for load soups.xml --> for loading soups.xml

  • Page 510, line 5

    The event handlers --> Each event handler

  • Page 524, last line

    name qualifier --> namespace qualifier

  • Page 543, code line (A)

    x="60" y="60" --> x="0" y="65"

  • Page 576, line -3

    are use --> are used

  • Page 591, code line (C)

    add { at beginning of line

  • Page 591, code line -9, first word

    different --> differently

  • Page 595, 4 lines below figure

    pple-touch ... --> apple-touch ...

  • Page 600, item 4, first sentence

    of the webapp --> of either the webapp

  • Page 602, line 8

    removeItem --> localStorage.removeItem