forked from BlueSpire/Durandal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocs.html
More file actions
263 lines (238 loc) · 13 KB
/
docs.html
File metadata and controls
263 lines (238 loc) · 13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Docs | Durandal</title>
<meta name="description" content="Durandal is a cross-device, cross-platform client framework written in JavaScript and designed to make Single Page Applications (SPAs) easy to create and maintain." />
<meta name="keywords" content="Durandal, SPA, HTML5, CSS, JavaScript, Singe Page Application, Knockout, RequireJS" />
<meta name="author" content="EisenbergEffect" />
<meta name="generator" content="DocPad v6.60.3" />
<link rel="apple-touch-startup-image" href="images/ios-startup-image-landscape.png" media="(orientation:landscape)" />
<link rel="apple-touch-startup-image" href="images/ios-startup-image-portrait.png" media="(orientation:portrait)" />
<link rel="apple-touch-icon" href="images/icon.png"/>
<!-- Shims: IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script async src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Styles -->
<link rel="stylesheet" href="/vendor/twitter-bootstrap/css/bootstrap.css" /><link rel="stylesheet" href="/vendor/prettify.css" /><link rel="stylesheet" href="/styles/style.css" />
<script type="text/javascript">
if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
var msViewportStyle = document.createElement("style");
var mq = "@@-ms-viewport{width:auto!important}";
msViewportStyle.appendChild(document.createTextNode(mq));
document.getElementsByTagName("head")[0].appendChild(msViewportStyle);
}
</script>
<script type="text/javascript" src="//use.typekit.net/kan0fyh.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/"><span> Durandal</span></a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li typeof="sioc:Page" about="/get-started.html" class="">
<a href="/get-started.html" property="dc:title">Get Started</a>
</li>
<li typeof="sioc:Page" about="/downloads.html" class="">
<a href="/downloads.html" property="dc:title">Downloads</a>
</li>
<li typeof="sioc:Page" about="/docs.html" class="active">
<a href="/docs.html" property="dc:title">Docs</a>
</li>
<li typeof="sioc:Page" about="/support.html" class="">
<a href="/support.html" property="dc:title">Support/Training</a>
</li>
<li typeof="sioc:Page" about="/consultation.html" class="">
<a href="/consultation.html" property="dc:title">Consultation</a>
</li>
<li typeof="sioc:Page" about="/showcase.html" class="">
<a href="/showcase.html" property="dc:title">Showcase</a>
</li>
<li class="donate">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="JHLN2GQYN6Z3W">
<input class="btn btn-small btn-success" type="submit" name="submit" value="Donate">
</form>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://bluespire.zendesk.com" class="support">Login</a>
</li>
</ul>
</div>
</div>
<div class="focus-banner">
<section class="container content">
<h1>Welcome to the Durandal Docs!</h1>
<h2>
This is a branching off point for digging into the various aspects of Durandal. Here you will find information pertaining to how the framework is put together as well as how it is used to build apps.</p>
</h2>
</section>
</div>
<section class="container content" style="padding-top: 0;">
<h3>Table of Contents</h3>
<ul>
<li>
Starting Out
<ul>
<li><a href="/documentation/Introduction.html">Introduction</a></li>
<li><a href="/documentation/Durandal-Edge.html">Durandal's Edge</a></li>
<li><a href="/get-started.html">Get Started</a></li>
<li>Set Up Options
<ul>
<li><a href="/documentation/Grunt.html">Grunt</a></li>
<li><a href="/documentation/Mimosa.html">Mimosa</a></li>
<li><a href="/documentation/NuGet.html">NuGet</a></li>
<li><a href="/documentation/Visual-Studio-Project-Template.html">The Visual Studio MVC Project Template</a></li>
<li><a href="/documentation/Bower.html">Bower</a></li>
<li><a href="/documentation/Manual-Setup.html">Manual Setup</a></li>
</ul>
</li>
<li>The Samples
<ul>
<li><a href="/documentation/Understanding-the-Samples.html">A Brief Explanation</a></li>
<li><a href="/samples.html">See The Samples In Action</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="/documentation/api.html">API Documentation</a></li>
<li>Common Tasks
<ul>
<li><a href="/documentation/Creating-A-Module.html">Creating a Module</a></li>
<li><a href="/documentation/Creating-A-View.html">Creating a View</a></li>
<li><a href="/documentation/Using-Composition.html">Using Composition</a></li>
<li><a href="/documentation/Adding-a-Splash-Screen.html">Adding a Splash Screen</a></li>
<li><a href="/documentation/Debugging.html">Debugging</a></li>
<li><a href="/documentation/Creating-A-Transition.html">Creating a Transition</a></li>
<li><a href="/documentation/Leveraging-Publish-Subscribe.html">Leveraging Publish/Subscribe</a></li>
<li><a href="/documentation/Interacting-with-the-DOM.html">Interacting with the DOM</a></li>
<li><a href="/documentation/Hooking-Lifecycle-Callbacks.html">Hooking Composition and Activator Callbacks</a></li>
<li><a href="/documentation/Using-Activators.html">Using Activators</a></li>
</ul>
</li>
<li>Leveraging Plugins
<ul>
<li><a href="/documentation/Showing-Message-Boxes-And-Modals.html">Showing Message Boxes and Modals</a></li>
<li><a href="/documentation/Creating-A-Widget.html">Creating a Widget</a></li>
<li><a href="/documentation/Using-The-Router.html">Using the Router</a></li>
<li><a href="/documentation/Talking-To-Data.html">Talking to Data</a></li>
<li><a href="/documentation/Binding-Plain-Javascript-Objects.html">Binding Plain Javascript Objects</a></li>
</ul>
</li>
<li>Customization
<ul>
<li><a href="/documentation/Customizing-Main.html">Customizing Main</a></li>
<li><a href="/documentation/Customizing-System.html">Customizing System</a></li>
<li><a href="/documentation/View-Location.html">View Location & Customization</a></li>
</ul>
</li>
<li>Build and Deploy
<ul>
<li><a href="/documentation/Optimizing-With-Mimosa.html">Building with Mimosa</a></li>
<li><a href="/documentation/Grunt.html">Building with Grunt</a></li>
<li>
<a href="/documentation/Weyland.html">Building with Weyland</a></li>
<ul>
<li><a href="/documentation/Automating-Builds-with-Visual-Studio.html">Automating Builds with Visual Studio</a></li>
</ul>
</li>
<li><a href="/documentation/Making-Durandal-Apps-SEO-Crawlable.html">Making Durandal Apps SEO Crawlable</a></li>
</ul>
</li>
<li>Integration
<ul>
<li><a href="/documentation/Q.html">Promises with Q</a></li>
<li><a href="/documentation/Dojo.html">Loading with Dojo</a></li>
<li><a href="/documentation/KendoUI.html">KendoUI Controls</a></li>
<li><a href="/documentation/Using-Durandal-with-Almond.html">Loading with Almond</a></li>
<li><a href="/documentation/i18next.html">Localization with i18next</a></li>
</ul>
</li>
<li>Testing
<ul>
<li><a href="/documentation/Testing-With-PhantomJS-And-Jasmine.html">Testing with PhantomJS and Jasmine</a></li>
<li><a href="/documentation/Building-With-Grunt.html">Testing with Grunt</a></li>
</ul>
</li>
<li>Producing Native Apps
<ul>
<li><a href="/documentation/Native-Apps-With-PhoneGap-Cordova.html">Phone and Tablet Apps with PhoneGap</a></li>
<li><a href="/documentation/Native-Apps-With-Node-Webkit.html">Desktop Apps with Node-Webkit</a></li>
<li><a href="/documentation/Windows-8.html">Windows 8</a></li>
</ul>
</li>
<li>Durandal 1.x
<ul>
<li><a href="https://github.com/BlueSpire/Durandal/tree/master/docs/1.2">Documentation</a></li>
<li><a href="/documentation/Conversion-Guide.html">Durandal 1.x to 2.0 Conversion Guide</a></li>
</ul>
</li>
</ul>
<h3>Community</h3>
<p>In addition to the official documentation and plugins, below you will find some great community contributions.</p>
<ul>
<li>
<a href="https://github.com/yagopv/azurecrawler">SEO Azure Crawler</a> - A cloud-based solution for creating HTML snapshots of your Durandal application to serve to google's crawler.
</li>
<!--<li>
<a href="https://gist.github.com/evanlarsen/4799019">Transition Helper</a> - Tons of transition animations for Durandal's composition mechanism.
</li>-->
<li>
<a href="/documentation/dFiddle.html">dFiddle</a> - A cut down version of Durandal, hosted as a Github repo with only one gh-pages branch. By cutting things down to the bare minimum, dFiddle allows bringing up live Durandal fiddles in minutes.
</li>
<li>
<a href="https://github.com/rniemeyer/knockout-delegatedEvents">knockout-delegatedEvents</a> - A KO plugin that makes delegated events easy, without resorting to manual jQuery code.
</li>
<li>
<a href="https://gist.github.com/hyle/1180607">Knockout Utility Signatures</a> - A brief gist showing all the KO utility functions and their signatures.
</li>
</ul>
</section>
<footer class="footer">
<div class="container">
<p>Durandal is licensed under the <a href="https://raw.github.com/BlueSpire/Durandal/master/License.txt">MIT License</a>.</p>
<p>Lovingly created by <a href="http://twitter.com/eisenbergeffect" target="_blank">@eisenbergeffect</a> of <a href="http://www.bluespire.com/" target="_blank">Blue Spire</a>.</p>
<p>Site design crafted by <a href="https://twitter.com/@scriswell" target="_blank">@scriswell</a> of <a href="https://twitter.com/@The_UI_Guy" target="_blank">@The_UI_Guy</a> and <a href="https://twitter.com/hfjallemark" target="_blank">@hfjallemark</a>.</p>
</div>
<br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="JHLN2GQYN6Z3W">
<input class="btn btn-med" type="submit" name="submit" value="Help Grow Durandal. Please Donate.">
</form>
</footer>
<script src="/vendor/jquery.js"></script>
<script src="/vendor/modernizr.js"></script>
<script src="/vendor/prettify.js"></script>
<script src="/scripts/behavior.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-38441871-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>