Configuration
Collapse menu
Fixed sidebar
Top navbar
Top navbar v.2
*Primary layout
Boxed layout
Fixed footer
Skins
JavaScript: The Definitive Guide: Activate Your Web Pages

AUTHOR: David Flanagan

PUBLISHER: O'Reilly Media

PAGES: 1096

ISBN-10: 0596805527; ISBN-13: 978-0596805524

Since 1996, JavaScript: The Definitive Guide has been the bible for JavaScript programmers—a programmer's guide and comprehensive reference to the core language and to the client-side JavaScript APIs defined by web browsers.

The 6th edition covers HTML5 and ECMAScript 5. Many chapters have been completely rewritten to bring them in line with today's best web development practices. New chapters in this edition document jQuery and server side JavaScript. It's recommended for experienced programmers who want to learn the programming language of the Web, and for current JavaScript programmers who want to master it.

"A must-have reference for expert JavaScript programmers...well-organized and detailed."
—Brendan Eich, creator of JavaScript, CTO of Mozilla

"I made a career of what I learned from JavaScript: The Definitive Guide.”
—Andrew Hedges, Tapulous

From the Author
My 10 Favorite Examples from this Book
The 6th edition of JavaScript: The Definitive Guide includes 125 examples that you can view and download from from examples.oreilly.com/9780596805531/ or from github.com/davidflanagan/javascript6_examples
These are ten of my favorites from the book. Note that many of these use new features of ES5 or of HTML5, and will only work in the newest browsers:
1) Example 1-1 is is an extended example in the first chapter of the book, intended to show readers a simple but non-trivial example of JavaScript. This is the loan calculator example from the last edition, but made much more interesting with the addition of client-side graphics, localStorage, and Ajax.
2) Example 9-7 emulates Java-style enumerated types in JavaScript. It demonstrates that JavaScript's prototype-based inheritance is so flexible that factory methods can be normal object factories or even class factories. That example is a little clearer if you look at the code in Example 9-8.
3) Example 9-16 defines a class hierarchy of abstract and concrete Set classes. This one is a favorite because it involves data types and API design. Chapter 9 includes a number of other Set examples, too.
4) Example 9-23 demonstrates the ES5 Object.defineProperty() method and defines a convenient way to inspect and modify the attributes of the properties of an object. It may not be practical, but I think it is a beautiful hack.
5) Example 15-10 is a simple stream-like API wrapped around the innerHTML property of an element. When you're generating text (a table, for example) for display it is sometimes easier to pass each chunk that you compute to a write() method than it is to concatenate it all together and set it on innerHTML.
6) Example 21-03 is an analog clock implemented as an SVG graphic with scriptable hands. I love client-side graphics, and this is a favorite of mine because making the hands rotate is so simple with SVG transforms.
7) Example 21-06 draws a fractal Koch snowflake using the <canvas> tag. I like it because it draws the same line over and over again, but uses transformations to make the line appear at different locations, orientations and sizes.
8) Example 21-13 is another graphical example: it draws sparklines (edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001OR). This one is a favorite just because sparklines are so cool.
9) Example 22-1 uses the HTML5 geolocation API to find out where you are then uses the Google Maps API to obtain a static map of your location. I like it because geolocation (via wifi networks) is just pure magic!
10) Example 22-15 is a long example that demonstrates the IndexedDB API. I like it because the idea of a client-side database in a web browser is crazy and cool. This one is really cutting-edge, but if you're running Firefox 4, you can try it out here: davidflanagan.com/demos/zipcodes.html

Book Category

Android Developer / Asp.Net / Asp.Net MVC / Blockchain / C# / C++ / Computer Science / Database / Game Developer / Java / JavaScript / jQuery / Linux / Maven / MS Sql / MySQL / Networking / Oracle / PHP / Python / Spring / VB.Net / Visual Studio / Web Developer

LATEST BLOG POST

HRIS: Payroll Process

The payroll process involves calculating and disbursing employee salaries, wages, and benefits on a regular basis. Stay updated with employment laws, tax regulations, and other relevant compliance requirements to ensure accurate payroll processing and avoid penalties or legal issues.

HRIS: Timekeeping Process

Implementing an effective timekeeping process helps ensure accurate payroll calculations, compliance with labor laws, and fair compensation for employees' work hours. It also provides valuable data for analyzing workforce productivity and resource allocation.

HRIS: Recruitment and Training

Recruitment and training should be ongoing processes to attract and retain top talent and ensure the team is equipped with the necessary skills and knowledge to meet organizational goals.

HRIS: Human Resources

Human resources (HR) is a crucial department within an organization that focuses on managing and developing the people who work for the company. The HR department is responsible for various functions related to employee recruitment, hiring, training, performance management, benefits administration, and employee relations.

Understanding the Basics of Payroll Processing

Payroll processing is the administrative task of calculating and distributing employee salaries and benefits. It involves several steps, including collecting and verifying employee time and attendance data, calculating wages and deductions, and generating paychecks or direct deposits.

DTR Timekeeping Tips: Do's and Don'ts

Employers must keep accurate records of non-exempt employees work hours to comply state and local laws. This straightforward process can become complex when employees start work early or leave late, travel for business, participate in company trainings, and use mobile devices to remain connected to work after-hours.

Employee Timekeeping: Tool to Improve Efficiency and Accuracy

Overall, implementing a reliable timekeeping tool can significantly improve efficiency and accuracy in employee time tracking. It streamlines processes, reduces errors, ensures compliance, and provides valuable data for decision-making.

Automate Loans Deduction using Payroll Setup

By following these steps, you can automate loan deductions using payroll setup, saving time and ensuring accuracy in loan repayments for your employees.

Transforming HR into Digital Through Technology

By embracing technology and digitizing HR processes, organizations can streamline operations, improve employee experience, and enable HR professionals to focus on strategic initiatives that drive business success.

Timekeeping and Attendance Setup

Specific setup and configuration of your timekeeping and attendance system will depend on the unique needs and requirements of your organization. It's important to adapt these steps to fit your specific circumstances and consult with HR professionals or software providers for guidance.