473,394 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

ppk on JavaScript


Has anybody here read the book "ppk on JavaScript"?
http://www.quirksmode.org/book/

It's from 2006, and written by Peter-Paul Koch. Over the years, I've
found some useful information (mostly compatibility tables and
cross-browser tests) on quirksmode.org. On the other hand, the examples
from the book are available online, and they don't convince me.

The first example (a character counter for text areas) requires a
non-standard "maxlength" attribute on textarea elements and uses
innerHTML to create content.

The second example (a form validator) uses browser sniffing
(userAgent.indexOf), "document.write('<style>.blah", "new Object()", etc.

I didn't read any further after that.

Now that I've seen it on the desk of a co-worker (who hasn't started
reading it yet), I was wondering if anybody here has any comments about it.
- Conrad
Oct 14 '08 #1
2 1603
On Oct 14, 7:44*pm, Conrad Lender <crlen...@yahoo.comwrote:
Has anybody here read the book "ppk on JavaScript"?http://www.quirksmode.org/book/

It's from 2006, and written by Peter-Paul Koch. Over the years, I've
found some useful information (mostly compatibility tables and
cross-browser tests) on quirksmode.org. On the other hand, the examples
from the book are available online, and they don't convince me.

The first example (a character counter for text areas) requires a
non-standard "maxlength" attribute on textarea elements and uses
innerHTML to create content.

The second example (a form validator) uses browser sniffing
(userAgent.indexOf), "document.write('<style>.blah", "new Object()", etc.

I didn't read any further after that.

Now that I've seen it on the desk of a co-worker (who hasn't started
reading it yet), I was wondering if anybody here has any comments about it.
AFAIK, PPK is well known for this knowledge on browser quirks. Most of
his site articles and indeed the book display the effort he has put in
documenting the browser issues which most of the people face during
their *javascript* development and provides solution to them. But as
far as Javascript in terms of in depth explanation on how prototypes
work, what exactly is the different between 'Number type', 'Number
object' and 'Number value' etc. seem to be missing from the book.

But given that 80% of the posters here are looking for things which
are pretty well explained in that book, it is a good intro book; much
better than 'javascript: The good parts' since it focuses on real life
problems and not nitpicking. Maybe it would be simpler if I say I am
putting it in league with the book 'javascript: The definitive guide'.

/sasuke
Oct 14 '08 #2
On Oct 14, 10:44*am, Conrad Lender <crlen...@yahoo.comwrote:
Has anybody here read the book "ppk on JavaScript"?http://www.quirksmode.org/book/
Likely somebody has.
It's from 2006, and written by Peter-Paul Koch. Over the years, I've
found some useful information (mostly compatibility tables and
cross-browser tests) on quirksmode.org. On the other hand, the examples
Yes, his site is useful.
from the book are available online, and they don't convince me.

The first example (a character counter for text areas) requires a
non-standard "maxlength" attribute on textarea elements and uses
innerHTML to create content.

The second example (a form validator) uses browser sniffing
(userAgent.indexOf), "document.write('<style>.blah", "new Object()", etc.

I didn't read any further after that.
Good call.
>
Now that I've seen it on the desk of a co-worker (who hasn't started
reading it yet), I was wondering if anybody here has any comments about it.
From what you have mentioned, throw it away.
Oct 14 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.