File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes BOOJS book questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "BOOJS book questions" Watch "BOOJS book questions" New topic

BOOJS book questions

Mike Mc Afee

Joined: Jan 31, 2007
Posts: 19
How are the code samples available that are contained in this book? I find that experimenting with the sample code is a great way to learn new techniques.

Are there progressive code samples where a concept is built up through-out the book or a lot of smaller examples?

How much time is OO concepts dealt with before jumping into the relationship with JS?
Stoyan Stefanov
Ranch Hand

Joined: Jul 16, 2008
Posts: 61
Hi Mike, there are no code downloads. The reason is that I don't want people to copy-paste, but would like to promote more hands-on experience. To me, the best way to learn code is to touch the code and ... well, to write it. So there are literally hundreds of small examples, one-, two-, few-liners. The book uses the Firebug javascript console as a learning tool. It allows you to open any page and play with it, or just to play with any code, not necessarily related to the page.

There's a free chapter, chapter 2, so you can see what I mean with the console and what to expect in terms of code examples and approach. So far the feedback I got is that this is a really great way to learn. Plus, the console has an auto-complete feature, so it's a good cheatsheet too.

As the book progresses, the concepts get a little more complicated, so the examples become a little longer, but never too long to type (and Firebug console has a multi-line mode too)

OO concepts - There is a bit of OO theory in chapter 1, it's more of an introduction to the concepts and the OO vocabulary and again, I tried to use examples to make it more clear. Got nice feedback about the presentation of the OO concepts too

<a href="" target="_blank" rel="nofollow">my OOJS book</a>
I agree. Here's the link:
subject: BOOJS book questions
It's not a secret anymore!