Permalink
Browse files

Fix for Marionette repo links.

  • Loading branch information...
1 parent 0e21a4d commit 344ed6cbceeb3785754a12a682ae6044cc52a0ac @addyosmani committed Sep 13, 2012
Showing with 48 additions and 48 deletions.
  1. BIN backbone-fundamentals.epub
  2. +16 −16 backbone-fundamentals.rtf
  3. +16 −16 index.html
  4. +16 −16 index.md
View
Binary file not shown.
View
@@ -2771,7 +2771,7 @@ dira
for this tip)\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs24 What\u8217's the best way to combine or append Views to each other?\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Let us say you have a Collection, where each item in the Collection could itself be a Collection. You can render each item in the Collection, and indeed can render any items which themselves are Collections. The problem you might have is how to render this structure where the HTML reflects the hierarchical nature of the data structure.\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 The most straight-forward way to approach this problem is to use a framework like Derick Baileys {\field{\*\fldinst{HYPERLINK "https://github.com/derickbailey/backbone.marionette"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa180 \li0 \fi0 The most straight-forward way to approach this problem is to use a framework like Derick Baileys {\field{\*\fldinst{HYPERLINK "https://github.com/marionettejs/backbone.marionette"}}{\fldrslt{\ul
Backbone.Marionette
}}}
. In this framework is a type of view called a CompositeView.\par}
@@ -2781,7 +2781,7 @@ Backbone.Marionette
online
}}}
.\par}
-{\pard \ql \f0 \sa180 \li0 \fi0 And you can get the source code and documentation for {\field{\*\fldinst{HYPERLINK "https://github.com/derickbailey/backbone.marionette"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa180 \li0 \fi0 And you can get the source code and documentation for {\field{\*\fldinst{HYPERLINK "https://github.com/marionettejs/backbone.marionette"}}{\fldrslt{\ul
Marionette
}}}
too.\par}
@@ -4919,59 +4919,59 @@ contributors
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab And much, much more\sa180\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Marionette follows a similar philosophy to Backbone in that it provides a suite of components that can be used independently of each other, or used together to create a significant advantages for us as developers. But it steps above the structural components of Backbone and provides an application layer, with more than a dozen components and building blocks.\par}
{\pard \ql \f0 \sa180 \li0 \fi0 Marionette\u8217's components range greatly in the features they provide, but they all work together to create a composite application layer that can both reduce boilerplate code and provide a much needed application structure. It\u8217's core components include:\par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.application.md"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.application.md"}}{\fldrslt{\ul
{\b Backbone.Marionette.Application}
}}}
: An application object that starts your app via initializers, and more\par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.application.module.md"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.application.module.md"}}{\fldrslt{\ul
{\b Backbone.Marionette.Application.module}
}}}
: Create modules and sub-modules within the application\par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.approuter.md"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.approuter.md"}}{\fldrslt{\ul
{\b Backbone.Marionette.AppRouter}
}}}
: Reduce your routers to nothing more than configuration\par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.view.md"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.view.md"}}{\fldrslt{\ul
{\b Backbone.Marionette.View}
}}}
: The base View type that other Marionette views extend from (not intended to be used directly)\par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.itemview.md"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.itemview.md"}}{\fldrslt{\ul
{\b Backbone.Marionette.ItemView}
}}}
: A view that renders a single item\par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.collectionview.md"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.collectionview.md"}}{\fldrslt{\ul
{\b Backbone.Marionette.CollectionView}
}}}
: A view that iterates over a collection, and renders individual {\f1 ItemView} instances for each model\par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.compositeview.md"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.compositeview.md"}}{\fldrslt{\ul
{\b Backbone.Marionette.CompositeView}
}}}
: A collection view and item view, for rendering leaf-branch/composite model hierarchies\par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.region.md"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.region.md"}}{\fldrslt{\ul
{\b Backbone.Marionette.Region}
}}}
: Manage visual regions of your application, including display and removal of content\par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.layout.md"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.layout.md"}}{\fldrslt{\ul
{\b Backbone.Marionette.Layout}
}}}
: A view that renders a layout and creates region managers to manage areas within it\par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.eventaggregator.md"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.eventaggregator.md"}}{\fldrslt{\ul
{\b Backbone.Marionette.EventAggregator}
}}}
: An extension of Backbone.Events, to be used as an event-driven or pub-sub tool\par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.eventbinder.md"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.eventbinder.md"}}{\fldrslt{\ul
{\b Backbone.Marionette.EventBinder}
}}}
: An event binding manager, to facilitate binding and unbinding of events\par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.renderer.md"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.renderer.md"}}{\fldrslt{\ul
{\b Backbone.Marionette.Renderer}
}}}
: Render templates with or without data, in a consistent and common manner\par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.templatecache.md"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.templatecache.md"}}{\fldrslt{\ul
{\b Backbone.Marionette.TemplateCache}
}}}
: Cache templates that are stored in {\f1 <script>} blocks, for faster subsequent access\par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.callbacks.md"}}{\fldrslt{\ul
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.callbacks.md"}}{\fldrslt{\ul
{\b Backbone.Marionette.Callbacks}
}}}
: Manage a collection of callback methods, and execute them as needed\sa180\par}
View
@@ -2587,11 +2587,11 @@ <h4 id="how-does-one-handle-view-disposal-on-a-parent-or-child-view">How does on
<p>(Thanks to <a href="http://stackoverflow.com/users/906136/dira">dira</a> for this tip)</p>
<h4 id="whats-the-best-way-to-combine-or-append-views-to-each-other">What's the best way to combine or append Views to each other?</h4>
<p>Let us say you have a Collection, where each item in the Collection could itself be a Collection. You can render each item in the Collection, and indeed can render any items which themselves are Collections. The problem you might have is how to render this structure where the HTML reflects the hierarchical nature of the data structure.</p>
-<p>The most straight-forward way to approach this problem is to use a framework like Derick Baileys <a href="https://github.com/derickbailey/backbone.marionette">Backbone.Marionette</a>. In this framework is a type of view called a CompositeView.</p>
+<p>The most straight-forward way to approach this problem is to use a framework like Derick Baileys <a href="https://github.com/marionettejs/backbone.marionette">Backbone.Marionette</a>. In this framework is a type of view called a CompositeView.</p>
<p>The basic idea of a CompositeView is that it can render a model and a collection within the same view.</p>
<p>It can render a single model with a template. It can also take a collection from that model and for each model in that collection, render a view. By default it uses the same composite view type that you've defined, to render each of the models in the collection. All you have to do is tell the view instance where the collection is, via the initialize method, and you'll get a recursive hierarchy rendered.</p>
<p>There is a working demo of this in action available <a href="http://jsfiddle.net/derickbailey/AdWjU/">online</a>.</p>
-<p>And you can get the source code and documentation for <a href="https://github.com/derickbailey/backbone.marionette">Marionette</a> too.</p>
+<p>And you can get the source code and documentation for <a href="https://github.com/marionettejs/backbone.marionette">Marionette</a> too.</p>
<h1 id="better-model-property-validation">Better Model Property Validation</h1>
<p>As we learned earlier in the book, the <code>validate</code> method on a Model is called before <code>set</code> and <code>save</code>, and is passed the model attributes updated with the values from these methods.</p>
<p>By default, where we define a custom <code>validate</code> method, Backbone passes all of a Model's attributes through this validation each time, regardless of which model attributes are being set.</p>
@@ -4559,20 +4559,20 @@ <h2 id="backbone.marionette"><a name="marionette">Backbone.Marionette</a></h2>
<p>Marionette follows a similar philosophy to Backbone in that it provides a suite of components that can be used independently of each other, or used together to create a significant advantages for us as developers. But it steps above the structural components of Backbone and provides an application layer, with more than a dozen components and building blocks.</p>
<p>Marionette's components range greatly in the features they provide, but they all work together to create a composite application layer that can both reduce boilerplate code and provide a much needed application structure. It's core components include:</p>
<ul>
-<li><a href="https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.application.md"><strong>Backbone.Marionette.Application</strong></a>: An application object that starts your app via initializers, and more</li>
-<li><a href="https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.application.module.md"><strong>Backbone.Marionette.Application.module</strong></a>: Create modules and sub-modules within the application</li>
-<li><a href="https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.approuter.md"><strong>Backbone.Marionette.AppRouter</strong></a>: Reduce your routers to nothing more than configuration</li>
-<li><a href="https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.view.md"><strong>Backbone.Marionette.View</strong></a>: The base View type that other Marionette views extend from (not intended to be used directly)</li>
-<li><a href="https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.itemview.md"><strong>Backbone.Marionette.ItemView</strong></a>: A view that renders a single item</li>
-<li><a href="https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.collectionview.md"><strong>Backbone.Marionette.CollectionView</strong></a>: A view that iterates over a collection, and renders individual <code>ItemView</code> instances for each model</li>
-<li><a href="https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.compositeview.md"><strong>Backbone.Marionette.CompositeView</strong></a>: A collection view and item view, for rendering leaf-branch/composite model hierarchies</li>
-<li><a href="https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.region.md"><strong>Backbone.Marionette.Region</strong></a>: Manage visual regions of your application, including display and removal of content</li>
-<li><a href="https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.layout.md"><strong>Backbone.Marionette.Layout</strong></a>: A view that renders a layout and creates region managers to manage areas within it</li>
-<li><a href="https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.eventaggregator.md"><strong>Backbone.Marionette.EventAggregator</strong></a>: An extension of Backbone.Events, to be used as an event-driven or pub-sub tool</li>
-<li><a href="https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.eventbinder.md"><strong>Backbone.Marionette.EventBinder</strong></a>: An event binding manager, to facilitate binding and unbinding of events</li>
-<li><a href="https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.renderer.md"><strong>Backbone.Marionette.Renderer</strong></a>: Render templates with or without data, in a consistent and common manner</li>
-<li><a href="https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.templatecache.md"><strong>Backbone.Marionette.TemplateCache</strong></a>: Cache templates that are stored in <code>&lt;script&gt;</code> blocks, for faster subsequent access</li>
-<li><a href="https://github.com/derickbailey/backbone.marionette/blob/master/docs/marionette.callbacks.md"><strong>Backbone.Marionette.Callbacks</strong></a>: Manage a collection of callback methods, and execute them as needed</li>
+<li><a href="https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.application.md"><strong>Backbone.Marionette.Application</strong></a>: An application object that starts your app via initializers, and more</li>
+<li><a href="https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.application.module.md"><strong>Backbone.Marionette.Application.module</strong></a>: Create modules and sub-modules within the application</li>
+<li><a href="https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.approuter.md"><strong>Backbone.Marionette.AppRouter</strong></a>: Reduce your routers to nothing more than configuration</li>
+<li><a href="https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.view.md"><strong>Backbone.Marionette.View</strong></a>: The base View type that other Marionette views extend from (not intended to be used directly)</li>
+<li><a href="https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.itemview.md"><strong>Backbone.Marionette.ItemView</strong></a>: A view that renders a single item</li>
+<li><a href="https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.collectionview.md"><strong>Backbone.Marionette.CollectionView</strong></a>: A view that iterates over a collection, and renders individual <code>ItemView</code> instances for each model</li>
+<li><a href="https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.compositeview.md"><strong>Backbone.Marionette.CompositeView</strong></a>: A collection view and item view, for rendering leaf-branch/composite model hierarchies</li>
+<li><a href="https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.region.md"><strong>Backbone.Marionette.Region</strong></a>: Manage visual regions of your application, including display and removal of content</li>
+<li><a href="https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.layout.md"><strong>Backbone.Marionette.Layout</strong></a>: A view that renders a layout and creates region managers to manage areas within it</li>
+<li><a href="https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.eventaggregator.md"><strong>Backbone.Marionette.EventAggregator</strong></a>: An extension of Backbone.Events, to be used as an event-driven or pub-sub tool</li>
+<li><a href="https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.eventbinder.md"><strong>Backbone.Marionette.EventBinder</strong></a>: An event binding manager, to facilitate binding and unbinding of events</li>
+<li><a href="https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.renderer.md"><strong>Backbone.Marionette.Renderer</strong></a>: Render templates with or without data, in a consistent and common manner</li>
+<li><a href="https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.templatecache.md"><strong>Backbone.Marionette.TemplateCache</strong></a>: Cache templates that are stored in <code>&lt;script&gt;</code> blocks, for faster subsequent access</li>
+<li><a href="https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.callbacks.md"><strong>Backbone.Marionette.Callbacks</strong></a>: Manage a collection of callback methods, and execute them as needed</li>
</ul>
<p>But like Backbone itself, you're not required to use all of Marionette's components just because you want to use some of them. You can pick and choose which features you want to use, when. This allows you to work with other Backbone frameworks and plugins very easily. It also means that you are not required to engage in an all-or-nothing migration to begin using Marionette.</p>
<h3 id="boilerplate-rendering-code">Boilerplate Rendering Code</h3>
Oops, something went wrong.

0 comments on commit 344ed6c

Please sign in to comment.