[JAVASCRIPT][Full Stack Web Development with Backbone.js].pdf
(
6666 KB
)
Pobierz
www.it-ebooks.info
www.it-ebooks.info
Full Stack Web Development with
Backbone.js
Patrick Mulder
www.it-ebooks.info
Full Stack Web Development with Backbone.js
by Patrick Mulder
Copyright © 2014 Patrick Mulder. 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 Brian MacDonald
Production Editor:
Kara Ebrahim
Copyeditor:
Jasmine Kwityn
Proofreader:
Amanda Kersey
June 2014:
First Edition
Indexer:
Judy McConville
Cover Designer:
Randy Comer
Interior Designer:
David Futato
Illustrator:
Rebecca Demarest
Revision History for the First Edition:
2014-06-09:
First release
See
http://oreilly.com/catalog/errata.csp?isbn=9781449370985
for release details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly
Media, Inc.
Developing Web Applications with Backbone.js,
the image of a pipe fish, and related trade dress
are trademarks 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-449-37098-5
[LSI]
www.it-ebooks.info
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
1. The Bigger Picture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Before You Get Started
Backbonify Your Stack
Using npm
Local Backbone.js
Backbone.js via Content Delivery Networks
Modules, Packages, and Servers
CommonJS Modules
Beyond index.html
Browserify
Combining Express.js and Stitch
When Things Go Wrong
Conclusion
Creating a Wireframe
Decoupling State from the UI
Models and Collections
Views
Backbone.js and MVC
Preparing a Click Dummy
Basic HTML and Style
Building a Data Layer
Basic Events
Conclusion
1
2
2
4
5
6
8
9
10
13
15
16
18
19
21
22
22
24
24
26
31
34
2. Kick-Starting Application Development. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3. Building the User Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
iii
www.it-ebooks.info
Plik z chomika:
nimtiz
Inne pliki z tego folderu:
[HTML][HTML5 Canvas. Graphics. Animation and Game Development].pdf
(29804 KB)
[CSS][CSS3 Foundations].pdf
(23466 KB)
[JAVASCRIPT][Professional AngularJS].pdf
(21169 KB)
[HTML][HTML5 Foundations].pdf
(32597 KB)
[JAVASCRIPT][Beginning JavaScript Charts].pdf
(19671 KB)
Inne foldery tego chomika:
Books
Fruity Loops
Prywatne
Virtual Machines
Workout Books
Zgłoś jeśli
naruszono regulamin