mirror of
https://github.com/bigskysoftware/hypermedia-systems.git
synced 2025-11-28 00:04:56 -05:00
edits, intro, html note
This commit is contained in:
parent
a618dd5718
commit
9fbb5e50a7
@ -153,26 +153,17 @@ ____
|
||||
****
|
||||
At the end of each chapter you will find tips and best practices for writing HTML well.
|
||||
|
||||
It's very easy (and sometimes acceptable) to produce mediocre HTML that, within a purview limited to one particular application, works -- this seems to be enough for most websites.
|
||||
But our websites, like men, are not islands.
|
||||
That is, they are not applications of a _platform_,
|
||||
but constituents of a _system_.
|
||||
It's easy (and sometimes acceptable) to produce mediocre HTML that, for one particular application, works well enough. But websites are not islands.
|
||||
That is, they are not applications of a _platform_, but constituents of a _system_. In a systems view of the web, the purpose of writing HTML is not just to develop a particular application, but also to play along with other members of the web.
|
||||
|
||||
In a systems view of the web, the purpose of writing HTML is not just to develop a particular application, but also to play along with other members of the Web.
|
||||
Thankfully for us hypermedia advocates, a few components, most prominently search engines and assistive technologies, have enough sway to keep people caring about HTML.
|
||||
Less fortunately, lack of awareness around hypermedia means that these components are seen as annoyances to get out of the way, demons to appease, or worse, legacy leftovers to ignore.
|
||||
|
||||
After all, web development is so much easier without all this Web stuff.
|
||||
After all, web development is so much easier without all this web stuff.
|
||||
|
||||
So why resist the tide? Why shouldn't we discard hypermedia and rewrite the web into the application platform it can clearly be?
|
||||
That's what the rest of this book will try to answer, in a practical, non theory-addled way.
|
||||
And at the ends of chapters, these HTML Notes will connect the concepts of hypermedia we discuss and the code samples we present to day-to-day web development.
|
||||
So why resist the tide? Why shouldn't we discard hypermedia and rewrite the web into the application platform it can clearly be? That's what the rest of this book will try to answer, in a practical, non theory-addled way. And at the ends of chapters, these HTML Notes will connect the concepts of hypermedia we discuss and the code samples we present to day-to-day web development.
|
||||
|
||||
The executive summary:
|
||||
Well-written HTML is easier to read and debug, more accessible to all, ranked higher by search engines (not out of bias, but because they have an easier time scraping it).
|
||||
The executive summary: well-written HTML is easier to read and debug, more accessible to all, and ranked higher by search engines (not out of bias, but because they have an easier time scraping it). We can't fix every problem by writing good HTML. The mantra that HTML is "accessible by default" is misleading, and shunning other technologies like JavaScript is misguided. Ultimately, testing is the best indicator of quality.
|
||||
|
||||
An important caveat:
|
||||
The mantra that HTML is "accessible by default" is misleading and shunning other technologies like JavaScript is misguided.
|
||||
Doing everything with "pure", "semantic" HTML is not a panacea, and testing is the ultimate indicator of quality over spec adherence.
|
||||
But writing good, spec-compliant HTML lets browsers do a bunch of work for you. Furthermore, even when they don't, it makes it easier to write scripts that do. Fewer issues will be found during testing and you can release faster. When issues do come up, you can often fix them more easily by refactoring HTML as opposed to heaping JavaScript and ARIA attributes over everything.
|
||||
****
|
||||
Loading…
x
Reference in New Issue
Block a user