OReilly Programming JavaScript Applications (2014).pdf
(
8330 KB
)
Pobierz
Programming JavaScript
Applications
Eric Elliott
Programming JavaScript Applications
by Eric Elliott
Copyright © 2014 Eric Elliott. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/
institutional sales department: 800-998-9938 or
corporate@oreilly.com.
Editors:
Simon St. Laurent and Meghan Blanchette
Production Editor:
Kara Ebrahim
Copyeditor:
Eliahu Sussman
Proofreader:
Amanda Kersey
July 2014:
First Edition
Indexer:
Lucie Haskins
Cover Designer:
Randy Comer
Interior Designer:
David Futato
Illustrator:
Rebecca Demarest
Revision History for the First Edition:
2014-06-25:
First release
See
http://oreilly.com/catalog/errata.csp?isbn=9781491950296
for release details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly
Media, Inc.
Programming JavaScript Applications,
the image of an argali, and related trade dress are trade‐
marks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc. was aware of a trademark
claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and author assume no
responsibility for errors or omissions, or for damages resulting from the use of the information contained
herein.
ISBN: 978-1-491-95029-6
[LSI]
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
1. The JavaScript Revolution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Advantages of JavaScript
Performance
Objects
Syntax
First-Class Functions
Events
Reusability
The Net Result
Anatomy of a Typical Modern JavaScript App
Infrastructure
JSON: Data Storage and Communication
NoSQL Data Stores
RESTful JSON Web Services
2
2
2
3
3
3
4
4
4
4
5
6
6
2. Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Minimize Side Effects
Function Definition
Named Function Expressions
Lambdas
Immediately Invoked Function Expressions
Method Context
Function Scope
Hoisting
Closures
Method Design
Named Parameters
10
12
14
16
18
20
22
22
25
27
28
iii
Plik z chomika:
Ryjufka
Inne pliki z tego folderu:
Source code for Beginning Android Application Development.zip
(1491 KB)
[Beginning] Hello Android.pdf
(564 KB)
Java For Testers Learn Java Fundamentals Fast - Alan Richardson.pdf
(1724 KB)
Java for Beginners by Knowledge flow.epub
(273 KB)
Java for Beginners by Knowledge flow.pdf
(756 KB)
Inne foldery tego chomika:
Pliki dostępne do 01.06.2025
Pliki dostępne do 08.07.2024
Pliki dostępne do 19.01.2025
Pliki dostępne do 27.02.2021
ACCA COURSE
Zgłoś jeśli
naruszono regulamin