-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfinal-presentation.html
More file actions
444 lines (374 loc) · 11.7 KB
/
final-presentation.html
File metadata and controls
444 lines (374 loc) · 11.7 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
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
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
<!DOCTYPE html>
<html>
<head>
<title>Envelope & MongoDB</title>
<meta charset='utf-8'>
<script src='http://html5slides.googlecode.com/svn/trunk/slides.js'></script>
</head>
<style>
body {
background: white url(images/background.png) repeat !important;
}
.slides.template-default > article:not(.nobackground):not(.biglogo) {
background: white url(images/small_logo.png) 710px 625px no-repeat !important;
}
.slides.template-default article.biglogo {
background: white url(images/big_logo.png) 50% 50% no-repeat !important;
}
.slides.template-default article p img {
border-radius: 50px;
vertical-align: middle;
}
</style>
<body style='display: none'>
<section class='slides layout-regular template-default'>
<article class='biglogo'>
</article>
<article>
<h1>
Envelope
<br>
& Final Presentation
</h1>
<p>
Seth Vargo
<br>
Dec 3, 2012
</p>
</article>
<article>
<img src='images/iteration2-mail.png' width='780'>
</article>
<article>
<h3>Envelope 1.0</h3>
<img src='images/technologies.png' width='750' style='margin-left: 5px; margin-top: 25px;'>
</article>
<article>
<h3>Envelope 1.0</h3>
<img src='images/architecture.png' width='780' style='margin-top: 115px;'>
</article>
<article>
<h3>Envelope 1.0</h3>
<img src='images/erd.png' width='550' style='margin-left: 125px; margin-top: 25px;'>
</article>
<article>
<h3>Envelope 1.0 - Facts</h3>
<ul class='build'>
<li>19 Unique Tables</li>
<li>23 STI Tables</li>
<li>44 Relations</li>
<li>~3 Tables/Query</li>
</ul>
<ul class='build'>
<li>300+ Seconds Loading 1000 Messages</li>
<li>31 Queries to Load Home Page</li>
<li>~2.43s Response Time</li>
<li>.78-.88 Database Load</li>
<li>CPU Cycles Through the Roof!</li>
</ul>
</article>
<article>
<h3>Envelope 1.0 - Testing</h3>
<ul class='build'>
<li>268 Tests</li>
<li>8 Minute Unit Tests</li>
<li>"Create the Universe" for a single test</li>
<li><strike>Guard</strike></li>
<li>☹</li>
</ul>
<ul class='build'>
<li>"100%" Test Coverage</li>
</ul>
</article>
<article class='nobackground'>
<q>Don't tell Prof H, but we stopped writing tests because they took too long to run!</q>
</article>
<article>
<h3>Envelope 1.0 - Testing</h3>
<ul>
<li>188 Tests</li>
<li>8 Minute Unit Tests</li>
<li>"Create the Universe" for a single test</li>
<li><strike>Guard</strike></li>
<li>☹</li>
</ul>
<ul>
<li><strike>"100%" Test Coverage</strike></li>
<li>"73%" Test Coverage</li>
</ul>
</article>
<article>
<h3>Major Goals - Envelope 2.0</h3>
<ul class='build'>
<li>Community Involvement</li>
<li>Marketing & PR</li>
<li>Usability</li>
<li>Feature Enhancement</li>
<li>Speed Improvements</li>
</ul>
</article>
<article>
<h1>Community Involvement</h1>
</article>
<article>
<img src='images/github-forks.png' class='centered' width='630'>
<h2>github forks</h2>
</article>
<article>
<img src='images/travis-builds.png' class='centered' width='630'>
<h2>Continuous Integration</h2>
</article>
<article>
<pre>
git clone git@github.com:envelopeapp/envelope.git
cd envelope
bash script/mac
</pre>
<p>Fully working setup in just 3 steps!</p>
<h2>Setup Scripts</h2>
</article>
<article>
<pre>
vagrant box add envelope http://github.com/downloads/envelopeapp/envelope/base.box
vagrant up
</pre>
<p>Fully provisioned boxes (nice for Windows people)</p>
<h2>Vagrant Box</h2>
</article>
<article>
<h1>Marketing & PR</h1>
</article>
<article>
<img src='images/getenvelope.com.png' class='centered' width='630'>
<h2>Promotional Site</h2>
</article>
<article>
<img src='images/social-media.png' class='centered' width='630'>
<h2>Social Media</h2>
</article>
<article>
<h1>Feature Enhancement</h1>
</article>
<article>
<h3>Focus</h3>
<ul class='build'>
<li>Fixing unresolved issues from 67-373</li>
<li>A/B testing new features</li>
<li>Wireframing for future releases</li>
</ul>
</article>
<article>
<img src='images/improved-ui.png' class='centered' width='630'>
<h2>Gravatar Support & Labels</h2>
</article>
<article>
<img src='images/ab_testing.png' class='centered' width='630'>
<h2>A/B Testing</h2>
</article>
<article>
<img src='images/ab_testing2.png' class='centered' width='630'>
<h2>A/B Testing</h2>
</article>
<article>
<h3>Results</h3>
<ul class='build'>
<li>60% prefer seeing attachments above message</li>
<li>60% attach files after writing</li>
<li>50% open attachments after reading</li>
<li>70% would use drag & drop</li>
</ul>
</article>
<article>
<img src='images/attachment.png' class='centered' width='630'>
<h2>Receive Attachments</h2>
</article>
<article>
<img src='images/attachment-inline.png' class='centered' width='630'>
<h2>Even Inline Attachments</h2>
</article>
<article>
<img src='images/attach_attachment.png' class='centered' width='630'>
<h2>Send Attachments</h2>
</article>
<article>
<h1><strike>Drag & Drop Attachments</strike> ☹</h1>
<h4>Coming Soon!</h4>
</article>
<article>
<img src='images/contacts.png' class='centered' width='600'>
<h2>Future Release: Better Contacts</h2>
</article>
<article>
<img src='images/calendar.png' class='centered' width='600'>
<h2>Future Release: Calendar</h2>
</article>
<article>
<h3>The JS Framework Fiasco</h3>
<p>We needed a Framework that:</p>
<ul class='build'>
<li>iterated quickly</li>
<li>worked with our existing codebase</li>
<li>and was quick to learn</li>
</ul>
<ul class='build'>
<li>We didn't find one ☹</li>
<li>But...</li>
</ul>
</article>
<article>
<q>Let's Use JSON</q>
<div class='author'>
Seth Vargo (→)
</div>
<div class='build'>
<h2>DIY Framework</h2>
</div>
</article>
<article>
<h1>Envelope 2.0</h1>
</article>
<article class='nobackground'>
<img class='centered' src='images/javascript.png' style='margin-top: 175px;'>
</article>
<article class='nobackground'>
<img class='centered' src='images/elasticsearch.png' style='margin-top: 215px;'>
</article>
<article class='nobackground'>
<img class='centered' src='images/mongo.png' style='margin-top: 175px;'>
</article>
<article class='nobackground'>
<img class='centered' src='images/sidekiq.png' style='margin-top: 175px;'>
</article>
<article>
<h3>Data Flow</h3>
<img class='centered' src='images/pre-json.png' style='margin-top: 15px;'>
</article>
<article>
<h3>Data Flow</h3>
<img class='centered' src='images/json.png' style='margin-top: 15px;'>
</article>
<article class='smaller'>
<h3>message.json</h3>
<pre>
{
"_id":"50b3f12fa3bbccf2b4000440",
"ancestry":null,
"ancestry_depth":0,
"created_at":"2012-11-26T22:46:07Z",
"flags":["notjunk", "seen"],
"full_html_part":null,
"full_text_part":null,
"html_part":"...",
"labels":[...],
"mailbox_id":"50b3f0d9a3bbcc6091000005",
"message_id":"50b3f01162c32_1161b3fe8bf482000769de@optic.wv.cc.cmu.edu.mail",
"participants":[...],
"raw":"...",
"timestamp":"2012-11-26T22:41:21+00:00",
"uid":7694,
"updated_at":"2012-11-27T00:40:57Z"
}</pre>
<div class='build'>
<h2>First-Class Citizen</h2>
</div>
</article>
<article>
<h1>Why?</h1>
<ul>
<li>No Data Transformations</li>
<li>Less Marshalling</li>
<li>Single Protocol</li>
<li>Easy Conversion to Ruby Hashes</li>
<li><strong>It's all JSON!</strong></li>
</ul>
</article>
<article>
<h3>Why Mongo?</h3>
<ul class='build'>
<li>JSON (BSON)</li>
<li>Fast Dumps</li>
<li>No Serialization</li>
<li>Iterative</li>
<li>No Migrations</li>
<li>Document Orientated</li>
<li>Natural Fit</li>
</ul>
</article>
<article>
<h3>Envelope 2.0 - Facts</h3>
<ul class='build'>
<li>6 Unique Collections</li>
<li>0 STI Tables</li>
<li>4 Relations</li>
<li>1 Collection/Query</li>
</ul>
<ul class='build'>
<li>~8 Seconds Loading 1000 Messages</li>
<li>~40 Seconds Loading 1000 Messages w/Attachments</li>
<li>2 Queries to Load Home Page</li>
<li>~0.81s Response Time</li>
<li>.13-.17 Database Load</li>
<li><strong>Runs on a Macbook Air!</strong></li>
</ul>
</article>
<article>
<h3>Envelope 2.0 - Testing</h3>
<ul class='build'>
<li>213 Tests</li>
<li>11 <strong>Second</strong> Unit Tests (How?)</li>
<li>Isolation and Idempotentency</li>
<li>Guard</li>
</ul>
</article>
<article>
<img src='images/tests.png' style='margin-top: 260px;'>
</article>
<article>
<img src='https://sphotos-b.xx.fbcdn.net/hphotos-ash3/535378_10151174709724584_14821913_n.jpg' class='centered' width='675'>
<h2>Team Dynamics</h2>
</article>
<article>
<h3>Team Dynamics</h3>
<ul>
<li>Late Night Work Sessions</li>
<li>Constant Communication</li>
<li>PHI Bar</li>
<li>Github Collaboration</li>
</ul>
<ul class='build'>
<li>Friends</li>
</ul>
</article>
<article>
<h3>Lessons Learned</h3>
<ul class='build'>
<li>Email is hard</li>
<li>IMAP is evil</li>
<li>Even users don't know what they want</li>
<li>JSON is king!</li>
</ul>
</article>
<article class='nobackground'>
<p class='vertical-align'>
<img src='https://secure.gravatar.com/avatar/d040c79f5965e2057678c43d4f475e5e?s=75'>
Dominic Cerminara (@domcerminara)
</p>
<p class='vertical-align'>
<img src='https://secure.gravatar.com/avatar/d177328660541ccf3f717ed98f07c208?s=75'>
Elizabeth Li (@elizabethtli)
</p>
<p class='vertical-align'>
<img src='https://secure.gravatar.com/avatar/87f282c6c2cdad13100dffe8c1daf77d?s=75'>
Seth Vargo (@sethvargo)
</p>
<p class='vertical-align'>
<img src='https://secure.gravatar.com/avatar/b9c97722623d36e42f6c7624bd6b4abc?s=75'>
Xun Wang (@xunniw)
</p>
<h2>getenvelope.com</h2>
</article>
<article class='biglogo'>
</article>
</section>
</body>
</html>