-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
325 lines (287 loc) · 13.2 KB
/
index.html
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
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title></title>
<!-- plugin styles -->
<link rel="stylesheet" type="text/css" href="stylesheets/highlight-github.css" />
<!-- guides styles -->
<link rel="stylesheet" type="text/css" href="stylesheets/reset.css" />
<link rel="stylesheet" type="text/css" href="stylesheets/main.css" />
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
<link rel="stylesheet" type="text/css" href="stylesheets/guides.css" />
<link rel="stylesheet" type="text/css" href="stylesheets/overrides.style.css" />
<link rel="stylesheet" type="text/css" href="stylesheets/overrides.print.css" media="print" />
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<meta name="generator" content="DocPad v6.79.0" />
</head>
<body class="guide">
<header role="banner">
<div class="container">
<h1 id="logo">
<a href="http://www.sproutcore.com"><img src="images/header/logo.png" alt="SproutCore" /></a>
</h1>
<nav role="navigation">
<ul>
<li><a href="http://sproutcore.com/about/">About</a></li>
<li><a href="http://showcase.sproutcore.com">Showcase</a></li>
<li class="active"><a href="http://guides.sproutcore.com">Guides</a></li>
<li><a href="http://docs.sproutcore.com">Docs</a></li>
<li><a href="http://sproutcore.com/community/">Community</a></li>
<li><a href="http://blog.sproutcore.com">Blog</a></li>
</ul>
</nav>
</div>
</header>
<div id="feature">
<div class="wrapper">
<div class="feature_header">
<a href="/"><img src="images/graphics/guides.png"></a>
<h2><a href="/">SproutCore Guides</a></h2>
<p>These guides are designed to help you write and perfect your code.</p>
</div>
<div class="feature_sidebar">
<a href="index.html" id="guidesMenu">
Guides Index <span id="guidesArrow">▸</span>
</a>
<div id="guides" class="clearfix" style="display: none;">
<a href="index.html" class="guidesMenu">
Guides Index <span class="guidesArrow">▾</span>
</a>
<hr style="clear:both;">
<dl class='L'><dt>Start Here</dt>
<dd><a href='/getting_started.html'>Getting Started: Part 1</a></dd>
<dd><a href='/getting_started_2.html'>Getting Started: Part 2</a></dd>
<dd><a href='/getting_started_3.html'>Getting Started: Part 3</a></dd>
<dd><a href='/core_concepts_sc_object.html'>Classes and SC.Object</a></dd>
<dd><a href='/core_concepts_kvo.html'>Computed Properties, Observers and Bindings</a></dd><dt>Views</dt>
<dd><a href='/views.html'>Core View Concepts</a></dd><dt>Models</dt>
<dd><a href='/records.html'>SproutCore Records</a></dd>
<dd><a href='/fixtures.html'>Using Fixtures</a></dd><dt>Theming</dt>
<dd><a href='/chance.html'>Using Chance, SproutCore's CSS Framework</a></dd>
<dd><a href='/theming_app.html'>Theming Your App</a></dd></dl><dl class='R'><dt>Testing</dt>
<dd><a href='/adding_unit_test.html'>Adding a Unit Test</a></dd>
<dd><a href='/unit_test_framework.html'>Unit Testing</a></dd>
<dd><a href='/writing_unit_tests.html'>Writing Unit Tests</a></dd>
<dd><a href='/running_unit_tests.html'>Running Unit Tests</a></dd>
<dd><a href='/todos_tdd.html'>SproutCore Development Using TDD</a></dd><dt>Extras</dt>
<dd><a href='/build_tools.html'>SproutCore's Build Tools</a></dd>
<dd><a href='/run_loop.html'>The Run Loop</a></dd>
<dd><a href='/enumerables.html'>Enumerables</a></dd><dt>Contributing to SproutCore</dt>
<dd><a href='/style_guide.html'>Javascript Guidelines</a></dd>
<dd><a href='/commit_code.html'>Committer Guidelines</a></dd>
<dd><a href='/documentation_guidelines.html'>Documentation Guidelines</a></dd>
<dd><a href='/contribute.html'>Contributing Guides</a></dd><dt>Thanks</dt>
<dd><a href='/credits.html'>Credits</a></dd></dl>
</div>
</div>
</div>
</div>
<div id="container">
<div class="wrapper">
<div id="mainCol">
<h3 class="group">Start Here</h3>
<dl>
<dt><a href="getting_started.html">Getting Started: Part 1</a></dt>
<dd class="clearfix">
<p>Learn how to get your first SproutCore app up-and-running.</p>
</dd>
<dt><a href="getting_started_2.html">Getting Started: Part 2</a></dt>
<dd class="clearfix">
<p>Spring forward with the information you learned in Part 1 and learn about statecharts and views.</p>
</dd>
<dt><a href="getting_started_3.html">Getting Started: Part 3</a></dt>
<dd class="clearfix">
<p>Expand upon your knowledge from the first two guides, and build a full-scale Todos application.</p>
</dd>
<dt><a href="core_concepts_sc_object.html">Classes and SC.Object</a></dt>
<dd class="clearfix">
<p>In this guide, we will touch on SC.Object, the basis for SproutCore's class-like object-oriented programming structure.</p>
</dd>
<dt><a href="core_concepts_kvo.html">Computed Properties, Observers and Bindings</a></dt>
<dd class="clearfix">
<p>In this guide, we will touch on KVO in SproutCore.</p>
</dd>
</dl>
<h3 class="group">Views</h3>
<dl>
<dt><a href="views.html">Core View Concepts</a></dt>
<dd class="clearfix">
<p>In this guide, we will cover the basics of SproutCore views, and show you how to customize the built-in SproutCore views for your own use.</p>
</dd>
</dl>
<h3 class="group">Models</h3>
<dl>
<dt><a href="records.html">SproutCore Records</a></dt>
<dd class="clearfix">
<p>The SproutCore data framework is a full-featured ORM-like framework for working with data in SproutCore. Learn about the SproutCore data framework and how you can use it to interact with your data sources.</p>
</dd>
<dt><a href="fixtures.html">Using Fixtures</a></dt>
<dd class="clearfix">
<p>In order to facilitate rapid development, SproutCore provides a facility for using pre-set fixture data as your data source. This guide covers how to set up your fixtures, and how to replace them with your real server once you're ready to get going.</p>
</dd>
</dl>
<h3 class="group">Theming</h3>
<dl>
<dt><a href="theming_app.html">Theming Your App</a></dt>
<dd class="clearfix">
<p>In this guide, we'll cover how to change the style of SproutCore controls in your app. As an example, we'll re-theme an SC.ButtonView.</p>
</dd>
</dl>
<h3 class="group">Testing</h3>
<dl>
<dt><a href="unit_test_framework.html">Unit Testing</a></dt>
<dd class="clearfix">
<p>SproutCore has an easy-to-learn unit test facility that can be used to drive SproutCore test-driven development. This guide describes the basic SproutCore test commands.</p>
</dd>
<dt><a href="adding_unit_test.html">Adding a Unit Test</a></dt>
<dd class="clearfix">
<p>Adding a unit test automatically or manually.</p>
</dd>
<dt><a href="writing_unit_tests.html">Writing Unit Tests</a></dt>
<dd class="clearfix">
<p>Describes how to write unit tests using module and test functions</p>
</dd>
<dt><a href="running_unit_tests.html">Running Unit Tests</a></dt>
<dd class="clearfix">
<p>How tests are loaded and executed by the test runner.</p>
</dd>
<dt><a href="todos_tdd.html">SproutCore Development Using TDD</a></dt>
<dd class="clearfix">
<p>Show implementing the TODOs project using TDD.</p>
</dd>
</dl>
<h3 class="group">Extras</h3>
<dl>
<dt><a href="build_tools.html">Build Tools</a></dt>
<dd class="clearfix">
<p>Discover the many performance advantages and development benefits of SproutCore's build tools.</p>
</dd>
<dt><a href="run_loop.html">The Run Loop</a></dt>
<dd class="clearfix">
<p>An indepth look at SproutCore's Run Loop for an advanced understanding of the framework.</p>
</dd>
<dt><a href="enumerables.html">Enumerables</a></dt>
<dd class="clearfix">
<p>To simplify working with various kinds of lists, SproutCore provides a unified Enumerable interface. This guide explores which SproutCore objects are Enumerable, and how to use the Enumerable API.</p>
</dd>
</dl>
<h3 class="group">Contributing to SproutCore</h3>
<dl>
<dt><a href="style_guide.html">Javascript Style Guide</a></dt>
<dd class="clearfix">
<p>This guide covers the style of SproutCore framework code.</p>
</dd>
<dt><a href="commit_code.html">Committer Guidelines</a></dt>
<dd class="clearfix">
<p>A detailed checklist of the do's and don'ts of SC framework code.</p>
</dd>
<dt><a href="documentation_guidelines.html">Documentation Guidelines</a></dt>
<dd class="clearfix">
<p>Writing and generating jsdoc documentation.</p>
</dd>
</dl>
</div>
<div id="subCol">
<h3>Get Involved</h3>
<p class="getInvolved">
<img src="/images/graphics/paperandpencil.png">
<a href="/contribute.html">Contribute New Guides</a><br>
SproutCore Guides are a community effort; contribute your own!
</p>
<p class="getInvolved">
<img src="/images/graphics/starperson.png">
<a href="/credits.html">Author Credits</a><br>
Meet the team responsible for putting the SproutCore Guides together.
</p>
<h3>Icon Legend</h3>
<p>
<img src="/images/graphics/warning.png">
The warning icon means the content you're looking at isn't quite done yet.
</p>
<p>
<img src="/images/graphics/notes.png">
Notes are bits of important side info you want to make sure you pay attention to.
</p>
<p>
<img src="/images/graphics/pin.png">
Pins are for supplementary info tidbits you might want; background, fun facts, etc.
</p>
<p>
<img src="/images/graphics/code.png">
This icon tells you you're looking at code. Which you likely knew... It's still pretty :p
</p>
</div>
</div>
</div>
<hr class="hide" />
<footer>
<div class="container">
<div class="col">
<a href="index.html"><img src="images/footer/sc_logo_medium.png" alt="SproutCore" /></a>
<p id="license">
SproutCore framework is under MIT License.
</p>
</div>
<nav class="col">
<h1>Site Navigation</h1>
<ul>
<li><a href="http://www.sproutcore.com/about/">About</a></li>
<li><a href="http://docs.sproutcore.com">Docs</a></li>
<li><a href="http://blog.sproutcore.com">Blog</a></li>
<li><a href="http://www.sproutcore.com/install/?redirect=1">Download</a></li>
<li><a href="http://www.sproutcore.com/community/">Community</a></li>
<li><a href="https://github.com/sproutcore/sproutcore">GitHub</a></li>
<li><a href="mailto:community@sproutcore.com">Contact Us</a></li>
<li><a href="http://guides.sproutcore.com">Guides</a></li>
</ul>
<a href="http://www.w3.org/html/logo/"><img src="images/footer/html5_tech.png" alt="HTML5 Powered" /></a>
</nav>
<div class="col">
<h1>Get in Touch, Stay Informed</h1>
<ul class="social">
<li><a href="http://twitter.com/sproutcore"><img src="images/footer/twitter.png" alt="Twitter" /></a></li>
<li><a href="http://www.facebook.com/sproutcore"><img src="images/footer/facebook.png" alt="Facebook" /></a></li>
<li><a href="http://groups.google.com/group/sproutcore"><img src="images/footer/google.png" alt="Google Groups" /></a></li>
<li><a href="http://groups.google.com/group/sproutcore">Subscribe To Mailing List</a></li>
</ul>
<a href="http://eepurl.com/dK1-Y" target="_blank" id="newsletter" class="button secondary">Sign Up For Our Newsletter!</a>
<!-- Commented out until we have mailchimp API integration.
<h2>Subscribe To Newsletter</h2>
<div id="subscribe">
<form>
<input type="text" name="email" />
<button name="subscribe">Sign-Up</button>
<div class="processing"><img src="/img/spinner.gif"></div>
<div class="error"></div>
</form>
</div>
-->
</div>
<a href="#feature" class="top">Back To Top</a>
</div>
</footer>
<script type='text/javascript' src='/javascripts/jquery.min.js'></script>
<script type='text/javascript'>
/*
* Make the guides link clickable
*/
function guideMenu(e){
if (document.getElementById('guides').style.display == "none") {
document.getElementById('guides').style.display = "block";
document.getElementById('guidesArrow').innerHTML = "▾";
$('body').click(function(e){ guideMenu(e); });
} else {
document.getElementById('guides').style.display = "none";
document.getElementById('guidesArrow').innerHTML = "▸";
$('body').unbind('click');
}
return false;
}
$('#guidesMenu, .guidesMenu').click(guideMenu);
</script>
</body>
</html>