Slashdot Mirror


Web Designer's Reference

jsuda (John Suda) writes "It seems as if everyone and his brother is writing books supporting standards-compliant Web design with XHTML and CSS. I have read and reviewed a half dozen this year alone. People are obviously trying to tell us something - plain HTML has to go! Web Designers' Reference: An Integrated Approach to Web Design with XHTML and CSS, by Craig Grannell, is the latest of these pronouncements." Read on for the rest of Suda's review. Web Designers' Reference: An Integrated Approach to Web Design with XHTML and CSS author Graig Grannell pages 389 publisher Friends of ED rating 8 reviewer jsuda ISBN 1590594304 summary Comprehensive guide to standards-compliant web design

The reasons are clear and compelling: The World Wide Web Consortium, which promulgates Web design standards, has decreed HTML as obsolete. Newer, more compliant browsers, will in time not support the older tags and code; the new standards facilitate much better use by the disabled of screen readers and non-graphic browsers. Not least, the newer code makes writing and revising code easier and more efficient, as well as more capable.

These are certainly good reasons for Web designers to move to the new code. Nevertheless, surveys show that most Web pages are not compliant and that thousands of designers continue to use deprecated code. I confess that I am one of them -- after a number of years learning and getting used to HTML, the need to learn new and more code is onerous. The inertia of habit is a factor, I'm sure.

For those Web designers like me, Mr. Grannell's book is a welcome addition to the literature because it systematically deals with the topics under discussion. In its coverage of XHTML, CSS, Javascript, and complementary coding (like PHP), it provides a nice framework guiding "old dogs" like me into standards-compliant code. Not only does it provide some historical perspectives on these codes, it compares the old with the new in regard to all of the important elements of Web design.

The author is an experienced Web designer and operates a design and writing agency. He also writes articles for a number of computer magazines.

Grannell's goals are to teach cutting-edge, efficient coding, and how to master standards-compliant XHTML 1.0 and CSS 2.1. There are a dozen chapters. He breaks down the elements of Web design into modular components so that one can focus on each element separately, like page structure, content structure, layout, navigation, text control, user feedback, and multimedia. Relevant technologies are explained in context of producing a typical Website.

If one finally decides to move forward, as many suggest, this is a very good volume by which to get your start. For new designers, this is a nice primer to learn what is expected, in an overall sense, of good, advanced Web design.

This is a well-produced book with clear writing, comprehensive approach, dozens of practical examples, and downloadable files with the code examples used in the book. The author writes in a logical sequence much like an engineer would. It is a heavy textbook-like read, only lightly sprinkled with style and personality. It should appeal primarily to novice designers, but has enough advanced information to satisfy an experienced designer who is looking for that fresh start.

And in fact, the structure of the book facilitates the "fresh-start" idea. It starts with a Web design overview, giving an experienced user's tips on what software to use to write code, what browsers to design for, how to build pages from the very top to the bottom. (XHTML, unlike HTML, requires a preliminary document-type definition (DTD) to validate. Only after the introductory section does the first HTML tag appear.)

Like others writing in this area, Grannell firmly advocates designing for standards compliance, usability, accessibility, and last and least, visual design. Marketing Department people may choke on that priority list, but there is no inherent conflict between function and aesthetics; Grannell simply does not spend a lot of time on the aesthetics.

The middle chapters concentrate on modular construction of pages -- the XHTML introduction, the structural elements like text blocks and images, the logical structure of the links and navigation flow, and finally, the stylizing with CSS. Comparisons between pages styled with HTML vs. CSS compellingly demonstrate the benefits and advantages of CSS. There will be no going back once you've decided to upgrade your technical approach.

Basic CSS concepts are explained and illustrated with code samples and screenshots. Grannell describes how to use CSS for text control, navigation, and layouts. There is a broad section on frames and another on forms and interactive components.

The last chapter covers testing and tweaking including how to create a 7-item browser test suite. Strategies overcoming browser quirks are discussed throughout the book. There is detailed technical information, especially in regard to the XHTML introductory section of the page, which I have not seen elsewhere.

There are three welcome reference appendices at the end covering XHTML tags and attributes, Web color coding, and a very comprehensive entities chart noting currencies, European characters, math symbols and more.

Much of this material is covered elsewhere in the growing set of publications about standards-compliant code. This book has the virtue of having a useful overall perspective on Web design and acts as a framework for new designers and converting designers to renew and upgrade their technical approaches.

You can purchase Web Designers' Reference: An Integrated Approach to Web Design with XHTML and CSS from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

9 of 416 comments (clear)

  1. Re:How to Suck in 21 days! by Anonymous Coward · · Score: 4, Informative

    I need to take a screenshot for future use of this perfect example of both ignorance and apathy.

    You obviously have no experience with CSS. In comparison with more modern markup, coding and styling plain old HTML is like making spaghetti _one_ noodle at a time.

  2. Re:Standards, Schmandards.. by Inkieminstrel · · Score: 5, Informative

    Done and done. .blinktag
    {
    text-decoration:blink;
    }

  3. Re:Elaboration? by telbij · · Score: 4, Informative

    What I would like to see is a book that skips all the fluff that we've seen before and goes straight to browser bugs.

    Absolutely. There are a million tutorials that will teach you all about CSS in theory, and once you have a reasonable base knowledge you can actually go into the W3C spec itself and dig into the details, but when it comes time to make your pretty new XHTML/CSS2 page work in IE you better have a boatload of knowledge.

    After 5 years, and the thankful death of NS4 and IE5 (for the most part), I can debug my XHTML/CSS pages extremely efficient, but good references are still necessary. My two favorites:

    CSS-discuss mailing list wiki
    &
    Position is Everything

  4. Re:Gilding the lilly by tehshen · · Score: 5, Informative

    Super quick whizzbang explanation:

    <b> and <i> are visual tags: they make text look bold or italicised without altering the meaning of the sentence they are in. <strong> and <em> are logical tags: <strong> provides emphasis in web page readers, as well as looking bold, for example. <em> does the same, but renders differently in text browsers. There are other italic tags such as <cite> that are used for citing references, for example.

    This page says it better than I do.

    --
    Guy asked me for a quarter for a cup of coffee. So I bit him.
  5. Re:Web standards!!?? by ShinmaWa · · Score: 4, Informative

    Wouldn't Amaya (W3C's browser) be compliant? Granted, it sucks horribly, but I'd be surprised if it wasn't totally compliant.

    Then suprise is your meal of the day. Amaya not only failed the acid2 test, but actually did much worse than even Firefox. Here's a screenshot for your amusement.

    --
    The /. Effect: Thousands of users simultaneously accessing a site to not read its content.
  6. Re:XHTML is a bad solution by imputor · · Score: 5, Informative
    A couple reasons...

    The main is that XHTML really FORCES you (if you want your page to pass W3C validation) to seperate design from content in a way that facilitates the ease of updating pages.

    A side effect of this is smaller filesizes. A recent conversion from HTML to XHTML+CSS for a client of mine brought their homepage size down from 25k to 9k. This to me is reason enough to use XHTML+CSS.

    A side effect of this is better code/content ratio.... a side effect of this is better search engine placement.... a side effect of this is...

    So using XHTML over HTML actually has a cascading (mind the pun) list of benefits, completely independant of the technical mumbo-jumbo of the whole "XHTML is supposed to be XML" stuff.

  7. Re:How to Suck in 21 days! by goodgoing · · Score: 5, Informative

    What I like to do:

    On local development server:
    - Create database to store data
    - Create scripts to make the pages
    - Create .htaccess mod_rewrite rules to make the pages look static (blah.php?pageID=24&whatever=1 becomes blah-24-1.html)

    Then I use wget to save a static version of the website, then upload the static version to my webserver. Some advantages:

    - Less resources needed on server
    - HTML template easily changed if required
    - Extremely fast script development time, since there are no security checks required
    - More secure than PHP scripts on a server could ever be

    Obviously this method won't work for websites that require user input (like polls), but I think not having to worry about the security of live scripts is awesome.

  8. Re:How to Suck in 21 days! by rainman_bc · · Score: 4, Informative

    Uhm, with some caching it doesn't matter. Cached content feeding from a database is fine IMO...

    --
    09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
  9. Re:How to Suck in 21 days! by cloudmaster · · Score: 4, Informative

    Yeah, it's impossible to add extra database servers.

    It's also unlikely that one could find a database server that can cache the results of identical queries when the data hasn't changed, significantly speeding up access to nearly-static data.

    It's downright insane to consider using proper cache-control headers and a caching proxy in front of a web server farm.

    It's sure too bad that these solutions can't be solved by merely hiring a competent sysadmin who's willing to relocate, 'cause that's be far too convenient. :)

    It'd probably be easier to teach everyone in the company good HTML.