• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Does "Pro CSS and HTML" cover JS?

 
Ranch Hand
Posts: 10191
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does this book also covers some Javascript?

[Edit to provide meaningful title - Dave]
[ October 09, 2007: Message edited by: David O'Meara ]
 
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Jothi,

no: Pro HTML and CSS does not cover Javascript.

(funny thing: Pro Javascript does not cover HTML or CSS)

Herman
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sir,

Does the book cover techniques of using CSS for dynamically generating HTML along with technologies such as JSP?

Thank you!
 
Author
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does "Pro CSS and HTML Design Patterns" cover JavaScript?

Pro CSS and HTML Design Patterns does not teach JavaScript and it is not about JavaScript, but it does contain a few design patterns that use JavaScript. The purpose of these patterns is to show best practices for using JavaScript to style XHTML using CSS.

One best practice for using JavaScript with CSS is to use JavaScript to modify the class attributes of an element to dynamically change how the element is styled. This is the best way for JavaScript to modify the style of an element: CSS defines the style through a class and JavaScript dynamically assigns classes to elements.

As a complement to the best practice of using JavaScript to modify only the class attributes of elements, my book advocates selecting XHTML elements in JavaScript using the CSS selector syntax. This approach allows you to use the same CSS selectors to select elements in CSS and in JavaScript. Using the same selector syntax makes CSS and JavaScript code more intuitive and more maintainable. You have to read Chapter 17 of my book to see how cool this is.

To select elements in JavaScript using CSS selector syntax, you need a JavaScript library. I provide just such a library in my book. It is modular and extensible, and it makes it easy to dynamically style elements using this technique.

Lastly, I show you in the book how to use JavaScript without inserting a single line of JavaScript into the body of an HTML document! This is really cool stuff and makes for a very clean separation of design (CSS), structure (XHTML), and interaction (JavaScript)!
 
Mike Bowers
Author
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does "Pro CSS and HTML Design Patterns" cover ASP, JSP, PHP, or other server-side technologies?

Pro CSS and HTML Design Patterns focuses on how to create an XHTML document and style it using CSS. It doesn't cover server-side technologies like ASP, JSP, and PHP.

Nonetheless, any server-side technology generates XHTML and CSS. Knowing the best ways to do this is a critical part of designing a server-generated web site. Thus, I highly recommend my book to all server-side developers.

One unique feature of my book is that it is written for developers who love to code (because I'm just such a developer). There are not a lot of CSS and XHTML books written for developers because the CSS market focuses on non-technical designers. My book is written for developers because I was unhappy with the lack of good, solid, technical books on CSS!

By using my book, you will greatly increase your productivity. You will be able to simplify the XHTML you generate on the server. You will be able to leverage CSS to style your pages. And your web pages will display correctly in all web browsers without having to serve up different pages for different browsers. For example, using the techniques in my book, you can restyle an entire web site by changing a single style sheet. You will be able to achieve complete independence of content and style using the design patterns in my book.

Most importantly, my book frees you from the nightmare of trial-and-error CSS design! You will be surprised at how easy styling a web page can be once you learn my design patterns.
 
Joe Harry
Ranch Hand
Posts: 10191
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the insight into the book!
 
it's a teeny, tiny, wafer thin ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!