Es wird kein Kindle Gerät benötigt. Laden Sie eine der kostenlosen Kindle Apps herunter und beginnen Sie, Kindle-Bücher auf Ihrem Smartphone, Tablet und Computer zu lesen.

  • Apple
  • Android
  • Windows Phone
  • Android

Geben Sie Ihre Mobiltelefonnummer ein, um die kostenfreie App zu beziehen.

Kindle-Preis: EUR 14,99
inkl. MwSt.

Diese Aktionen werden auf diesen Artikel angewendet:

Einige Angebote können miteinander kombiniert werden, andere nicht. Für mehr Details lesen Sie bitte die Nutzungsbedingungen der jeweiligen Promotion.

An Ihren Kindle oder ein anderes Gerät senden

An Ihren Kindle oder ein anderes Gerät senden

Facebook Twitter Pinterest
Backbone.js Patterns and Best Practices von [De, Swarnendu]

Backbone.js Patterns and Best Practices Kindle Edition

3.0 von 5 Sternen 2 Kundenrezensionen

Alle Formate und Ausgaben anzeigen Andere Formate und Ausgaben ausblenden
Preis
Neu ab Gebraucht ab
Kindle Edition
"Bitte wiederholen"
EUR 14,99

Länge: 176 Seiten Verbesserter Schriftsatz: Aktiviert PageFlip: Aktiviert
Sprache: Englisch

Unsere Schatzkiste
Entdecken Sie monatlich Top-eBooks für je 1,99 EUR. Exklusive und beliebte eBooks aus verschiedenen Genres stark reduziert.

Produktbeschreibungen

Kurzbeschreibung

A onestop guide to best practices and design patterns when building applications using Backtbone.js

About This Book


  • Offers solutions to common Backbone.js related problems that most developers face

  • Shows you how to use custom widgets, plugins, and mixins to make your code reusable

  • Describes patterns and best practices for large scale JavaScript application architecture and unit testing applications with QUnit and SinonJS frameworks

Who This Book Is For

This book is for JavaScript developers who work with Backbone.js and want to learn the best design patterns to develop complex web applications. Basic knowledge of Backbone.js and JavaScript is essential.

What You Will Learn


  • Develop custom plugins and mixins to reduce boilerplate in your code

  • Learn about Backbone view management with nested views, subviews, layout manager, and Marionette views

  • Understand template management by storing and pre-compiling templates

  • Explore model validation with validation plugins and learn model serialization and relational data management with nested models

  • Work with collections to implement multiple sorting and filtering behavior

  • Create solid application architecture with AMD and different popular design patterns

In Detail

Backbone.js is a super light framework that allows you to structure your JavaScript codes in an MV* fashion. This framework is an excellent tool when it comes to creating an organized and modular code base for web apps of any size or complexity. Although lightweight, Backbone.js results in lots of boilerplate. Learning the best practices and design patterns will help you avoid these problems and allow you to ensure that the best standards are followed.


Backbone.js Patterns and Best Practices is packed with examples that will help you work with Backbone.js components. It also gives solutions to common problems faced by developers. It gives a complete overview of plugin development, large scale application architecture, and unit testing as well.


Starting with a discussion of why reducing boilerplate in your JavaScript code is essential, Backbone.js Patterns and Best Practices explains how to enforce reusability in your code by creating plugins and mixins. You will learn about patterns and best practices for Backbone views, models, collections, routers, and events.


You will discover solutions to common problems that developers face through simple examples, and delve into the best open source plugins available to solve these problems when they arise. This book is an excellent collection of design and implementation patterns that will help you structure and develop complex Backbone.js applications easily.

Über den Autor und weitere Mitwirkende

Swarnendu De

Swarnendu De is the director of Innofied Solution Pvt. Ltd. (http://www.innofied.com), a specialized mobile, web, and game development company. He manages technical operations and leads the JavaScript development team there. For the last seven years, he has been working with numerous JavaScript technologies including Backbone.js, Node.js, ExtJS, Sencha, and so on, and has developed more than 50 complex JavaScriptbased applications thus far. He regularly writes at his personal blog, company blog, and the Tuts+ network. He has been working with Backbone.js for the last 2 years and has developed multiple, large, and complex Backbone.jsbased applications using this technology. Swarnendu lives in Kolkata—the city of joy. He loves travelling, photography, and spending time with his family. You can reach him through his website at http://www.swarnendude.com or via Twitter at @swarnendude.


Produktinformation

  • Format: Kindle Edition
  • Dateigröße: 1107 KB
  • Seitenzahl der Print-Ausgabe: 176 Seiten
  • ISBN-Quelle für Seitenzahl: 1783283572
  • Verlag: Packt Publishing (24. Januar 2014)
  • Verkauf durch: Amazon Media EU S.à r.l.
  • Sprache: Englisch
  • ASIN: B00I2ORN92
  • Text-to-Speech (Vorlesemodus): Aktiviert
  • X-Ray:
  • Word Wise: Nicht aktiviert
  • Verbesserter Schriftsatz: Aktiviert
  • Durchschnittliche Kundenbewertung: 3.0 von 5 Sternen 2 Kundenrezensionen
  • Amazon Bestseller-Rang: #364.411 Bezahlt in Kindle-Shop (Siehe Top 100 Bezahlt in Kindle-Shop)

  •  Ist der Verkauf dieses Produkts für Sie nicht akzeptabel?

Kundenrezensionen

3.0 von 5 Sternen
5 Sterne
1
4 Sterne
0
3 Sterne
0
2 Sterne
0
1 Stern
1
Beide Kundenrezensionen anzeigen
Sagen Sie Ihre Meinung zu diesem Artikel

Top-Kundenrezensionen

Format: Kindle Edition
There are too many weak points of this book. Let's mention some of them:

- its english is simply incompetent and unsufficient for this kind of book
- instead of a patterns catalogue, this book offers some examples of basic usage of main backbone elements. No original ideas, no creativity at all. Therefore is quite useless for regular advanced users.
- it lacks basic introduction of backbone concepts and that makes it totally useless for beginners
- it contains some OBVIOUS errors, especially in code snippets, meaning it was not even once tested
- It is swamped by statements like this "that's not the best approach", "this is a typicall error", "this can cause problems", surprisengly not revealing alternative approaches, thus leaving readers confused and with open questions
- examples are just badly conceptualised - incompletelly printed, refering to information that is not even there (e.g. "the resulting output of this example is the same as in the previous case", with previous case's output not present??!). This makes downloading examples mandatory and reading book in offline mode practically impossible (I would never buy it knowing this)
- coding style itself is pretty weak and making a bad example

This is simply a bad book, misleading for newbies and useless for the others, I see no target reader.
Shame for the editor.
Kommentar War diese Rezension für Sie hilfreich? Ja Nein Feedback senden...
Vielen Dank für Ihr Feedback.
Wir konnten Ihre Stimmabgabe leider nicht speichern. Bitte erneut versuchen
Missbrauch melden
Format: Taschenbuch
The author writes that this book requires some basic knowledge of Backbone.js - well, i would say that he is correct.
You do need to understand the basic concepts, but i'd definitely suggest it to anyone who is working with Backbone and you don't need to be very experienced.

The book is not just about Patterns and Best Practices, the first half of it is more like a reference for Models, Views and Controllers. Which is good, because you don't need an extra book for that and it helped me a lot as Backbone beginner.
Skip the first half of the book if you feel like a pro in Backbone, but don't miss the second half because that's where you get a deep knowledge of how you should structure your apps, including Require.js and AMD modules.
You don't see separate recipe after recipe, which is good because every chapter fits together very well and explains all important aspects of Backbone.

So this is definitely worth to buy if you are interested in working with Backbone.js. Only Chapter 8 about unit testing is a bit too short in my opinion and i would have liked to see some testig with more professional frameworks like Jasmine or Mocha. But that's more of a personal taste.
Kommentar War diese Rezension für Sie hilfreich? Ja Nein Feedback senden...
Vielen Dank für Ihr Feedback.
Wir konnten Ihre Stimmabgabe leider nicht speichern. Bitte erneut versuchen
Missbrauch melden

Die hilfreichsten Kundenrezensionen auf Amazon.com (beta)

Amazon.com: HASH(0x96f3e300) von 5 Sternen 8 Rezensionen
2 von 2 Kunden fanden die folgende Rezension hilfreich
HASH(0x96afdc30) von 5 Sternen A solid overview of useful Backbone.js techniques and concepts 6. Februar 2014
Von Mark Erikson - Veröffentlicht auf Amazon.com
Format: Kindle Edition
(Disclaimer: I was given a free copy of the PDF version to review by the publisher.)

Backbone.js has become one of the most popular and widely used Javascript MVC frameworks. However, Backbone has a fairly minimalistic "building block"-type design, and does not provide much guidance on usage or higher-level application structure. As a result, most developers find themselves writing fairly repetitive code for things like template rendering, trying to factor out that code into some sort of reusable base, and having to sort out how to structure their application.

"Backbone.js Patterns and Best Practices" provides examples of typical usage, patterns, and concepts for each of the major pieces of Backbone (Views, Models, Collections, Routers, and Events/Storage). It also includes a quick overview of Backbone, Underscore, and Javascript mixins, as well as chapters on organizing your project code with Require.js and testing it with QUnit/Sinon.js. Finally, it includes three appendices: a list of useful Backbone references, tutorials, and plugins; rendering templates on the server; and loading templates using Require.js plugins.

I was very impressed with this book. I've spent the last year working on a Backbone application, and have spent a lot of time using and learning about Backbone. This book does an excellent job of demonstrating common use cases, boilerplate patterns, and typical issues that Backbone developers encounter. It also mentions a number of major Backbone plugins, such as Marionette, BB.Relational, and LayoutManager, and gives some examples of why they are useful and how to use them. The reference section is very well chosen, and I recognize a good number of the links from my own research.

I did have some occasional nitpicks with the wording and editing in the text, but nothing serious (I spent a few years as an English teacher outside the US, so that sort of thing sticks out to me probably more than it would most others.) Other than that, the topics and examples are good, and the explanations are solid.

Overall, I highly recommend this book for anyone who's looking to get into Backbone development. It's not going to be your reference manual, but it does a great job of hitting important points with an appropriate amount of detail, and giving you pointers to more detailed information elsewhere.
2 von 2 Kunden fanden die folgende Rezension hilfreich
HASH(0x9746c618) von 5 Sternen Clear and lucid Backbone.js book 21. März 2014
Von Sanghamitra Chowdhury - Veröffentlicht auf Amazon.com
Format: Kindle Edition
Backbone.js is a very commonly used framework, however, using Backbone effectively and in a modular, reusable way is not easy to do. Each chapter covers the basics in a very concise way and moves on to more useful concepts and examples applicable to developing a real world application. The explanations are very clear and easy to understand, also to developers who come from a server side background. It includes an overview of Underscore, validation plugins, and rightly points out that using Handlebars for templates is the preferred way. The chapter on "Organizing Backbone applications" brings it all together. The chapter on testing is something I will refer to and use later as client side testing using mocks and stubs is something that is neglected.
It would be great to have a more detailed section on how to use Handlebars templating with Backbone.js.
1 von 1 Kunden fanden die folgende Rezension hilfreich
HASH(0x96afd978) von 5 Sternen Must read for every JavaScript developer using Backbone.js 9. März 2014
Von Gopal Venkatesan - Veröffentlicht auf Amazon.com
Format: Kindle Edition
*Disclaimer* I was given a free copy of the PDF version to review by the publisher.

When it comes to JavaScript MV* libraries, Backbone.js is one of popular ones. The reasons why
developers choose Backbone.js over more powerful frameworks like Ember.js or Angular.js is because
of its light-weight and simplistic approach. Because Backbone.js is just a library, it does not
enforce a particular style or way of developing JavaScript applications.

This book provides a very good way to structure your application to develop large JavaScript
applications in a systematic and maintainable way. This book includes Backbone.js boilerplate
patterns, JavaScript patterns like function currying, mixins, writing modules using Require.js and
also testing with QUnit and Sinon.js.

This book also recommends an application directory structure, which is not typically covered by any
of the Backbone.js tutorials. Along with this, it covers some patterns to organize your project
modules using AMD/Require.js.

What I like about the book:

* Boilerplate patterns that can be reused
* Introduction of nice libraries like Marionette, Qinon, Sinon.js
* Best practices about precompiling templates for performance, writing unit tests
* Architectural patterns for organizing large projects

What I didn't like:

* Reading the book gives an impression of sitting through a class because of the writing style

The book isn't an introduction to Backbone.js, and it is called out in the book itself. Overall, I
highly recommend this book for any serious JavaScript application developer that considers
Backbone.js for their next app.
1 von 1 Kunden fanden die folgende Rezension hilfreich
HASH(0x96b01dbc) von 5 Sternen Good step beyond the basics 18. März 2014
Von Jason Krol - Veröffentlicht auf Amazon.com
Format: Kindle Edition
I was fortunate enough to receive a review copy of Backbone.js Patterns and Best Practices directly from the author. It’s a decent book, and a great ‘next step’ for anyone thats a budding Backbone developer that has got the basics down and wants to take their skills to the next level.

The book starts out just barely covering the basics, so this is definitely not a beginner guide. From there it quickly goes into some common pitfalls and best practices that Backbone developers inevitably face. It covers each aspect of typical Backbone development, but gives tips and tricks along the way to boost your performance and reduce frustration and most importantly boilerplate.

From time to time the author will make mention of a 3rd party plugin that is right for the job, but I felt probably could have used some more time actually discussing the plugin. One of my favorite plugins for Backbone is Marionette, and I felt it got only a passing mention in the book. To be fair, this isn’t a Marionette book.

There are some great chapters on using AMD with require.js as well as test driven development!

In the end, my only complaint if I had one at all was that the book felt a little short and possibly rushed in a few areas. Overall though it was a quick read (which might be a good thing) and I definitely learned a few things having finished the book.

I would recommend this book to anyone that has a good understanding of the basics of Backbone.js and wants to bump their skill set up a level.
HASH(0x974c6420) von 5 Sternen Good but not Great Intro to Intermediate Backbone Techniques 11. März 2014
Von Joe Zimmerman - Veröffentlicht auf Amazon.com
Format: Kindle Edition
This book is not for developers who are new to Backbone... at least that's what the author of the book says. For the most part this is true, but the author often spends a little too much time on things that I would consider very basic Backbone knowledge. He definitely doesn't provide an introduction to Backbone, so if you've never used Backbone before, you'd have no idea what was going on most of the time.

This book does cover a lot of patterns and best practices that practically every Backbone developer should be aware of, and often points readers to Backbone plugins as solutions for some of the issues that these best practices help prevent. While I have nothing against pointing people to readily-available solutions (why reinvent the wheel, right?), I was looking forward to some more examples of hand-coded solutions in the book so that developers end up having a better understanding of what is going on.

Finally, *Backbone.js Patterns and Best Practices* certainly does provide introductions to many intermediate and advanced topics related to developing applications with Backbone, but he rarely does much more than an introduction. He either drops a plugin/library on you (as mentioned) or his examples just don't dive deep enough or provide large enough examples to truly grasp the concepts (and this is coming from a guy who already understood the concepts). I think the one thing that really got the attention that it truly deserved was unit testing and even that had potential to be better.

Overall, it was a good book, but certainly not great, and it didn't provide as much as I felt the title proclaimed (but people obviously don't read the same things into titles as me). I expected more advanced material, but this provided what I would consider to be mostly intermediate help for Backbone developers.
Waren diese Rezensionen hilfreich? Wir wollen von Ihnen hören.
click to open popover