Webmaster Tips » Webmaster Books » JavaScript

Sort by:

JavaScript books

Pro JavaScript Techniques

Author: John Resig
List price: $44.99
Amazon price: $14.38   Book details at Amazon.com
Average rating: 4.0 / 29 (29 reviews)
Publisher: Apress (11 December 2006)

Pro JavaScript Techniques is the ultimate JavaScript book for the modern web developer. It provides everything you need to know about modern JavaScript, and shows what JavaScript can do for your web sites. This book doesnt waste any time looking at things you already know, like basic syntax and structures.

Expert web developer and author John Resig concentrates on fundamental, vital topicswhat modern JavaScripting is (and isnt), the current state of browser support, and pitfalls to be wary of. The book is organized into four sections:

  • Modern JavaScript developmentusing JavaScript the object-oriented way, creating reusable code, plus testing and debugging
  • DOM scriptingupdating content and styles, plus events, and effect and event libraries
  • Ajaxhow Ajax works, overcoming problems, and using libraries to speed up development of Ajax applications
  • The future of JavaScriptlooking at cutting edge topics like JSON, HTML 5, and more

All concepts are backed up by real-world examples and case studies, and John provides numerous reusable functions and classes to save you time in your development. There are also up-to-date reference appendixes for the DOM, events, browser support (including IE7), and frameworksso you can look up specific details quickly and easily.

Scriptin' with JavaScript and Ajax: A Designer's Guide (Voices That Matter)

Author: Charles Wyke-Smith
List price: $44.99
Amazon price: $25.68   Book details at Amazon.com
Average rating: 4.5 / 6 (6 reviews)
Publisher: New Riders Press (27 August 2009)

JavaScript is the brains of your Web page—it enables you to modify a document’s structure, styling, and content in response to user actions without requesting new pages from the server. Scriptin' with JavaScript and Ajax teaches you how to master this powerful and elegant language so you can develop intuitive user interactions that take the user experience to new levels of sophistication and responsiveness.
Today’s application-like Web experiences (such as Salesforce.com and Google Maps) and Web 2.0 sites (such as Flickr.com and Twitter) are powered by JavaScript and Ajax. Using the techniques shown in this book, you will be able to start creating similar experiences in the sites you design.
Scriptin' with JavaScript and Ajax will teach you how to:

  • Start developing with JavaScript fast!
  • Write lightweight but powerful object-oriented code
  • Modify the Document Object Model
  • “Progressively enhance” your pages with JavaScript to provide the highest levels of accessibility to all users
  • Learn sophisticated techniques for making your pages respond to user actions
  • Use the downloadable Scriptin’ library of helper functions to speed development and ensure cross-browser compatibility
  • Use Ajax scripting techniques to update specific areas of the page with data from the server
  • Create powerful interface interactions, such as sliding panels and tree menus
  • Evaluate frameworks such as jQuery and Prototype to find the best one for your needs
  • Build an online application that looks and responds like a regular desktop application
  • Easily adapt the Scriptin’ code examples for use in your own projects—download them at www.scriptinwithajax.com

Secrets of the JavaScript Ninja

Author: John Resig
List price: $39.99
Amazon price: $26.39   Book details at Amazon.com
Average rating: 5.0 / 1 (1 reviews)
Publisher: Manning Publications (28 October 2010)

In Secrets of the JavaScript Ninja, JavaScript expert John Resig reveals the inside know-how of the elite JavaScript programmers. Written to be accessible to JavaScript developers with intermediate-level skills.

This book takes readers on a journey towards mastering modern JavaScript development in three phases: design, construction, and maintenance. It first establishes a base of strong, advanced JavaScript knowledge. The book then teaches readers how to construct a JavaScript library. It examines all the numerous tasks JavaScript libraries have to tackle and provides practical solutions and development strategies. It then presents the various maintenance techniques required to keep their code running well into the future.

With Secrets of the JavaScript Ninja readers will gain the knowledge and Ninja-like skills to build their own JavaScript libraries, or to understand how to use any modern JavaScript library available.


What's inside:

  1. Introduction
  2. Testing and debugging
  3. Functions
  4. Closures
  5. Function prototypes
  6. Timers
  7. Regular expressions
  8. With statements
  9. Code evaluation
  10. Strategies for cross-browser code
  11. CSS Selector Engine
  12. DOM modification
  13. Attributes and CSS
  14. Events
  15. Ajax
  16. Animation
  17. Performance

Sams Teach Yourself JavaScript in 24 Hours (4th Edition)

Author: Michael Moncur
List price: $34.99
Amazon price: $7.77   Book details at Amazon.com
Average rating: 3.0 / 31 (31 reviews)
Publisher: Sams ( 1 July 2006)

JavaScript is one of the easiest, most straightforward ways to enhance a website with interactivity. Sams Teach Yourself JavaScript in 24 Hours, 4th Edition serves as an easy-to-understand tutorial on both scripting basics and JavaScript itself. The book is written in a clear and personable style with an extensive use of practical, complete examples. It also includes material on the latest developments in JavaScript and web scripting. You will learn how to use JavaScript to enhance web pages with interactive forms, objects, and cookies, as well as how to use JavaScript to work with games, animation, and multimedia.

Beginning JavaScript, 3rd Edition (Programmer to Programmer)

Authors: Paul Wilton, Jeremy McPeak
List price: $39.99
Amazon price: $2.99   Book details at Amazon.com
Average rating: 3.5 / 9 (9 reviews)
Publisher: Wrox (21 May 2007)

JavaScript is a scripting language that enables you to enhance static web applications by providing dynamic, personalized, and interactive content. This improves the experience of visitors to your site and makes it more likely that they will visit again. You must have seen the flashy drop-down menus, moving text, and changing content that are now widespread on web sites—they are enabled through JavaScript. Supported by all the major browsers, JavaScript is the language of choice on the Web. It can even be used outside web applications—to automate administrative tasks, for example.

This book aims to teach you all you need to know to start experimenting with JavaScript: what it is, how it works, and what you can do with it. Starting from the basic syntax, you'll move on to learn how to create powerful web applications. Don't worry if you've never programmed before—this book will teach you all you need to know, step by step. You'll find that JavaScript can be a great introduction to the world of programming: with the knowledge and understanding that you'll gain from this book, you'll be able to move on to learn newer and more advanced technologies in the world of computing.

In order to get the most out of this book, you'll need to have an understanding of HTML and how to create a static web page. You don't need to have any programming experience.

This book will also suit you if you have some programming experience already, and would like to turn your hand to web programming. You will know a fair amount about computing concepts, but maybe not as much about web technologies.

Alternatively, you may have a design background and know relatively little about the Web and computing concepts. For you, JavaScript will be a cheap and relatively easy introduction to the world of programming and web application development.

Whoever you are, we hope that this book lives up to your expectations.

You'll begin by looking at exactly what JavaScript is, and taking your first steps with the underlying language and syntax. You'll learn all the fundamental programming concepts, including data and data types, and structuring your code to make decisions in your programs or to loop over the same piece of code many times.

Once you're comfortable with the basics, you'll move on to one of the key ideas in JavaScript—the object. You'll learn how to take advantage of the objects that are native to the JavaScript language, such as dates and strings, and find out how these objects enable you to manage complex data and simplify your programs. Next, you'll see how you can use JavaScript to manipulate objects made available to you in the browser, such as forms, windows, and other controls. Using this knowledge, you can start to create truly professional-looking applications that enable you to interact with the user.

Long pieces of code are very hard to get right every time—even for the experienced programmer—and JavaScript code is no exception. You look at common syntax and logical errors, how you can spot them, and how to use the Microsoft Script Debugger to aid you with this task. Also, you need to examine how to handle the errors that slip through the net, and ensure that these do not detract from the experience of the end user of your application.

From here, you'll move on to more advanced topics, such as using cookies and jazzing up your web pages with dynamic HTML and XML. Finally, you'll be looking at a relatively new and exciting technology, remote scripting. This allows your JavaScript in a HTML page to communicate directly with a server, and useful for, say, looking up information on a database sitting on your server. If you have the Google toolbar you'll have seen something like this in action already. When you type a search word in the Google toolbar, it comes up with suggestions, which it gets via the Google search database.

All the new concepts introduced in this book will be illustrated with practical examples, which enable you to experiment with JavaScript and build on the theory that you have just learned. The appendix provides solutions to the exercises included at the end of most chapters throughout the book.

During the first half of the book, you'll also be building up a more complex sample application—an online trivia quiz—which will show you how JavaScript is used in action in a real-world situation.

DOM Scripting: Web Design with JavaScript and the Document Object Model

Author: Jeremy Keith
List price: $34.99
Amazon price: $19.48   Book details at Amazon.com
Average rating: 4.5 / 74 (74 reviews)
Publisher: friends of ED (12 September 2005)

We know from the success of titles such as Web Standards Solutions , Cascading Style Sheets: Separating Content from Presentation, and the Web Designer's Reference that web designers are increasingly concerned with making sites that don't just look pretty, but are also built using current best practices. There are three main technologies married together to create usable, standards-compliant web designs: XHTML for data structure, Cascading Style Sheets for styling your data, and JavaScript for adding dynamic effects and manipulating structure on the fly using the Document Object Model. This book is about the latter of the three. DOM Scripting: Web Design with JavaScript and the Document Object Model gives you everything you need to start using JavaScript and the Document Object Model to enhance your web pages with client-side dynamic effects. Jermey starts off by giving you a basic crash course in JavaScript and the DOM, then move on to provide you with several real world examples built up from scratch including dynamic image galleries and dynamic menus, and show you how to manipulate web page style using the CSS DOM, and create markup on the fly. You'll learn how to:

* Apply dynamic behavior to your pages without inserting JavaScript in your markup.

* Write scripts that degrade gracefully when JavaScript isn’t available.

* Use web standards to ensure cross-browser compatibility.

* Harness the power of the DOM to create user-controlled animation.

* Also includes an introduction to Ajax.

JavaScript and AJAX For Dummies

Author: Andy Harris
List price: $29.99
Amazon price: $15.94   Book details at Amazon.com
Average rating: 2.5 / 3 (3 reviews)
Publisher: For Dummies ( 2 December 2009)

Learn to use these powerful tools together and build Web sites that work

If you want to build Web pages that offer real value to your site's visitors, JavaScript and AJAX are top tools for the job. Even if you're new to Web programming, this book helps you create sites any designer will admire. With easy-to-understand steps and an emphasis on free tools, you'll be able to jump right into building a site using the same techniques as the pros.

  • Down to basics — learn your way around JavaScript and choose an editor and test browser
  • Manage complexity — use functions, arrays, and objects to create more sophisticated programs

  • Page magic — discover how to control what happens on your pages, animate objects, and put pages in motion

  • Get beautiful — Use the jQuery User Interface library to add sliders, tabbed interfaces, and custom dialogs to a site

  • Come clean with AJAX — build AJAX requests into your programs, use jQuery, and work with AJAX data

Open the book and find:

  • How to choose a test browser
  • How to discuss string concatenation with a straight face

  • Tips for debugging your code

  • How to add useful information to a dropdown list

  • Why AJAX connections should be asynchronous

  • The exciting possibilities of the jQuery library

  • How to use the Aptana editor

  • Online resources for JavaScript programmers

JavaScript

Author: Don Gosselin
List price: $108.95
Amazon price: $46.79   Book details at Amazon.com
Average rating: 2.0 / 16 (16 reviews)
Publisher: Course Technology ( 7 September 2007)

JavaScript, Fourth Edition is designed as a guide for beginning programmers to develop Web applications using the JavaScript programming language. It introduces a variety of techniques, focusing on what students need to know to start adding JavaScript to their Web pages. In each chapter, students perform tasks that focus on a particular technique required for building and creating JavaScript programs. The examples and exercises in this book will help students learn the basics of how to use JavaScript with well-formed Web pages, including how to manipulate the browser object model, validate forms, use object-oriented techniques, and learn how to trace and resolve errors in JavaScript programs, to name a few. Advanced topics include how to manage state information, use the Dynamic Object Model (DOM), create Dynamic HTML (DHTML), update Web pages with AJAX, and create server-side scripts.

JavaScript for Programmers

Authors: Paul J. Deitel, Harvey M. Deitel
List price: $39.99
Amazon price: $22.38   Book details at Amazon.com
Average rating: 3.0 / 5 (5 reviews)
Publisher: Prentice Hall (26 March 2009)

PRACTICAL, EXAMPLE-RICH COVERAGE OF:

  • XHTML®
  • CSS®
  • JavaScript™: Control Statements,
  • Functions, Arrays, Objects
  • JSON (JavaScript Object Notation)
  • XHTML DOM®: Objects and Collections
  • JavaScript Event-Driven Programming
  • XML® and RSS
  • XML DOM
  • Rich Internet Applications
  • Asynchronous JavaScript and XML (Ajax)
  • XMLHttpRequest
  • Dojo Toolkit
  • Consuming Web Services
  • And more…

 VISIT WWW.DEITEL.COM

  • Download code examples
  • Check out the growing list of programming, Web 2.0 and software-related Resource Centers
  • To receive updates for this book, subscribe to the free Deitel® Buzz Online e-mail newsletter at    www.deitel.com/newsletter/subscribe.html
  • Read archived issues of the Deitel® Buzz Online
  • Contact deitel@deitel.com for information on corporate training courses delivered on-site worldwide

 

The practicing programmer’s Deitel® guide to XHTML®, CSS®, JavaScript™, XML® and Ajax RIA development.

 

This book applies the Deitel signature live-code approach to teaching the client side of Rich Internet Applications (RIA) development. The book presents concepts in the context of 100+ fully tested programs (6,000+ lines of code), complete with syntax shading, detailed descriptions and sample outputs. The book features over 150 tips that will help you build robust client-side web applications.

 

Start with an introduction to Extensible HyperText Markup Language (XHTML®) and Cascading Style Sheets (CSS®), then rapidly move on to the details of JavaScript™ programming. Finish with more advanced client-side development technologies including XHTML’s Document Object Model (DOM®), Extensible Markup Language (XML®), XML’s DOM, JavaScript Object Notation (JSON) and Asynchronous JavaScript and XML (Ajax). When you’re finished, you’ll have everything you need to build the client side of Web 2.0 Rich Internet Applications (RIAs). The book culminates with several substantial Ajax-enabled RIAs, including a book cover viewer (JavaScript/DOM), an address book (Ajax/consuming web services) and a calendar application (Ajax/Dojo/consuming web services).

 

TheDeitel® Developer Seriesis designed for professional programmers. The series presents focused treatments of emerging technologies, including .NET, Java™, web services, Internet and web development and more.          

 

Pre-Publication Reviewer Testimonials

 

“One of the best introductions to JavaScript.”—Raymond Wisman, Indiana University Southeast

 

“Cements the browser as a first-class development platform.”—Johnvey Hwang, Splunk, Inc.

 

“Excellent for learning to develop standards-compliant web applications.”—Paul Vencill, MITRE, Inc.

 

“The CSS chapter is compact, concise and full of useful info!”—Billy B. L. Lim, Illinois State University

 

“A good introduction to the DOM; doesn’t trip over cross-browser incompatibilities.”—Eric Lawrence, Microsoft

 

“Exceptionally clear Ajax tutorial; best I’ve reviewed! Great solutions for the very cool type-ahead and edit-in-place Ajax features. ‘Libraries to Help Eliminate Cross-Browser Compatibility Issues’ is fantastic. This book and your websites will be often-visited resources (if not best practices in themselves).”—John Peterson, Insync and V.I.O. Inc.

 

“I wish I’d had this when I was learning to program.”—Joe Kromer, New Perspective

 

Beginning HTML, XHTML, CSS, and JavaScript (Wrox Programmer to Programmer)

Author: Jon Duckett
List price: $34.99
Amazon price: $20.44   Book details at Amazon.com
Average rating: 0 / 0 (0 reviews)
Publisher: Wrox (30 December 2009)

An essential update to the key web authoring standards of HTML, XHTML, and CSS

The existence of Web pages depends on three vital technologies: HTML (base language that Web pages are written in), XHTML (standards that define how to write HTML pages), and CSS (standard that applies formatting styles to Web pages). This new edition provides you with critical coverage of these three Web authoring standards, and places special focus on the upcoming releases of HTML 5 and CSS 3.

Serving as a tutorial and reference, this comprehensive resource explains the basic structure and necessary formatting to create a static (non-changing) and dynamic (changing) page on the Internet.

Coverage includes:

  • Creating Content with HTML
  • Markup Languages
  • HTML Values and Units
  • What Goes into a Web Document?
  • The HEAD Elements
  • Text Structuring Essentials
  • Character Formatting Essentials
  • Lists, Links, Tables, Frames, and Forms
  • Multimedia
  • Dynamic HTML
  • HTML Tools and Variants
  • Web Development Software
  • Publishing Your Site
  • An Introduction To XML
  • Creating Mobile Documents
  • Tidying and Validating Your Documents
  • Controlling Presentation with CSS
  • Style Definitions
  • CSS Values and Units
  • CSS Inheritance and Cascade
  • Font Properties
  • Text Formatting
  • Padding, Margins, and Borders
  • Colors and Backgrounds
  • CSS Layouts
  • Pseudo-Elements and Generated Content
  • Dynamic HTML with CSS
  • Media Styles and Defining Documents for Printing
  • The Future of CSS: CSS3
  • User Interface Styles
  • Testing and Validating CSS
  • HTML, XHTML, and CSS Tips and Tricks

Helpful examples round out this essential guide and will get you up and running with HTML, XHMTL, and CSS in no time!

Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.