-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathds_apps_dev.html
730 lines (290 loc) · 18.5 KB
/
ds_apps_dev.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
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
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="While there are two different types of apps (backend services and elements), they both have the same initial and final development steps. Start your developm...">
<meta name="keywords" content="appscustom, apps, custom, steps, elements, backend, service">
<title>Develop an App | Weebly Cloud for Designers Documentation</title>
<link rel="shortcut icon" href="images/favicon.ico">
<!-- Third-Party CSS -->
<link rel="stylesheet" href="css/syntax.css">
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<!-- Custom CSS -->
<link rel="stylesheet" media="screen" href="css/orbit-external.css">
<link rel="stylesheet" media="screen" href="css/orbit.css">
<link rel="stylesheet" media="screen" href="css/theme-weebly.css">
<!-- Third-Party JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/2.0.0/anchor.min.js"></script>
<script src="js/jquery.navgoco.min.js"></script>
<script src="js/jekyll-search.js" type="text/javascript"></script>
<script src="js/toc.js"></script>
<!-- Custom JS -->
<script src="js/customscripts.js"></script>
</head>
<body>
<!-- Navigation -->
<div class="top-nav">
<div class="top-nav-item">
<a href="home.html">
<img src="images/weebly_cloud_designers_logo.png" alt="Weebly Cloud" class="cloud-logo" role="button" tabindex="0" alt="menu"/>
</a>
</div>
<div class="top-nav-item">
<img class="mobile-nav-btn" src="images/icons/mobile-menu.svg" alt="Mobile menu">
</div>
<nav class="top-nav-item">
<div class="nav-group">
<ul class="NavList nav-group-list horizontal">
<!-- entries without drop-downs appear here -->
<li class="NavLinkLi">
<a href="home.html" class="NavLink nav-group-list-link">Get Started</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_gs.html" class="NavLink nav-group-list-link">Apps</a>
</li>
<li class="NavLinkLi">
<a href="ds_themes_start.html" class="NavLink nav-group-list-link">Themes</a>
</li>
<li class="NavLinkLi">
<a href="ds_api_about.html" class="NavLink nav-group-list-link">APIs</a>
</li>
<li class="NavLinkLi">
<a href="ds_tags_about.html" class="NavLink nav-group-list-link">Tags</a>
</li>
<li class="NavLinkLi">
<a href="ds_mg_about.html" class="NavLink nav-group-list-link">Migrated Designer?</a>
</li>
<!-- entries with drop-downs appear here -->
<!-- conditional logic to control which topnav appears for the audience defined in the configuration file.-->
<!--
<li class="NavLinkLi">
<a class="email NavLink nav-group-list-link" title="Submit feedback" href="#" onclick="javascript:window.location='mailto:[email protected]?subject=Weebly Cloud for Designers Docs feedback&body=I have some feedback about the Develop an App page: ' + window.location.href;">Feedback</a>
</li>
-->
<li class="NavLinkLi">
<a href="https://weeblycloud.com/admin" target="_blank" class="NavLink nav-group-list-link"><strong>Cloud Admin</strong></a>
</li>
<li>
<!--start search-->
<div id="search-demo-container">
<input type="text" id="search-input" placeholder="Search...">
<ul id="results-container"></ul>
</div>
<!--end search-->
</li>
</ul>
</div>
</nav>
</div>
<div class="page has-sidebar">
<div class="col-sidebar">
<ul id="mysidebar" class="nav NavList">
<li class="NavLinkLi">
<a href="#" class="NavLink isSecondary">Get Started with Apps</a>
<ul class="NavList Children">
<li class="NavLinkLi">
<a href="ds_apps_gs.html" class="NavLink isSecondary">Get Started with Developing Apps</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_samples.html" class="NavLink isSecondary">Sample Applications</a>
</li>
</ul>
</li>
<li class="NavLinkLi">
<a href="#" class="NavLink isSecondary">Tutorial: Create an Element</a>
<ul class="NavList Children">
<li class="NavLinkLi">
<a href="ds_element_main.html" class="NavLink isSecondary">Create an Element</a>
</li>
<li class="NavLinkLi">
<a href="ds_element_1.html" class="NavLink isSecondary">1. Design the Element</a>
</li>
<li class="NavLinkLi">
<a href="ds_element_2.html" class="NavLink isSecondary">2. Register the Element</a>
</li>
<li class="NavLinkLi">
<a href="ds_element_3.html" class="NavLink isSecondary">3. Create a Directory Structure</a>
</li>
<li class="NavLinkLi">
<a href="ds_element_4.html" class="NavLink isSecondary">4. Create the Manifest</a>
</li>
<li class="NavLinkLi">
<a href="ds_element_5.html" class="NavLink isSecondary">5. Create the Settings</a>
</li>
<li class="NavLinkLi">
<a href="ds_element_6.html" class="NavLink isSecondary">6. Create the HTML Template</a>
</li>
<li class="NavLinkLi">
<a href="ds_element_7.html" class="NavLink isSecondary">7. Create the Styles</a>
</li>
<li class="NavLinkLi">
<a href="ds_element_8.html" class="NavLink isSecondary">8. Create the JavaScript</a>
</li>
<li class="NavLinkLi">
<a href="ds_element_9.html" class="NavLink isSecondary">9. Package, Upload, and Test Your Element</a>
</li>
<li class="NavLinkLi">
<a href="ds_element_finish.html" class="NavLink isSecondary">Finish</a>
</li>
</ul>
</li>
<li class="NavLinkLi">
<a href="#" class="NavLink isSecondary">Develop an App</a>
<ul class="NavList Children">
<li class="active isActive NavLinkLi">
<a href="ds_apps_dev.html" class="NavLink isSecondary">Develop an App</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_reg.html" class="NavLink isSecondary">Register Your App</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_manage.html" class="NavLink isSecondary">Manage Your App</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_files.html" class="NavLink isSecondary">Create the App File Structure</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_manifest.html" class="NavLink isSecondary">Create the App Manifest</a>
</li>
</ul>
</li>
<li class="NavLinkLi">
<a href="#" class="NavLink isSecondary">Create a Backend Service</a>
<ul class="NavList Children">
<li class="NavLinkLi">
<a href="ds_apps_backend.html" class="NavLink isSecondary">Create a Backend Service</a>
</li>
</ul>
</li>
<li class="NavLinkLi">
<a href="#" class="NavLink isSecondary">Create an Element</a>
<ul class="NavList Children">
<li class="NavLinkLi">
<a href="ds_apps_elements.html" class="NavLink isSecondary">What are Elements?</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_guides.html" class="NavLink isSecondary">Element Design Guidelines</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_icon.html" class="NavLink isSecondary">Element Icon Guidelines</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_element_create.html" class="NavLink isSecondary">Create an Element</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_element_folders.html" class="NavLink isSecondary">Add Element Folders</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_element_manifest.html" class="NavLink isSecondary">Add an Element to the Manifest</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_element_settings.html" class="NavLink isSecondary">Create Element Settings</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_element_man_ex.html" class="NavLink isSecondary">Element Manifest Example</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_element_temp.html" class="NavLink isSecondary">Create an Element Template</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_element_temp_ex.html" class="NavLink isSecondary">Element Template Example</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_element_style.html" class="NavLink isSecondary">Add Stylesheets to an Element</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_element_js.html" class="NavLink isSecondary">Add JavaScript to an Element</a>
</li>
</ul>
</li>
<li class="NavLinkLi">
<a href="#" class="NavLink isSecondary">Get Your App Ready to Publish</a>
<ul class="NavList Children">
<li class="NavLinkLi">
<a href="ds_apps_element_upload.html" class="NavLink isSecondary">Upload your App</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_element_test.html" class="NavLink isSecondary">Test Your App</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_element_release.html" class="NavLink isSecondary">Release Your App</a>
</li>
<li class="NavLinkLi">
<a href="ds_apps_element_update.html" class="NavLink isSecondary">Update Your App</a>
</li>
</ul>
</li>
</ul>
<!-- this highlights the active parent class in the navgoco sidebar. this is critical so that the parent expands when you're viewing a page. This must appear below the sidebar code above. Otherwise, if placed inside customscripts.js, the script runs before the sidebar code runs and the class never gets inserted.-->
<script>
$("li.active").parents('li').toggleClass("active");
</script>
</div>
<div class="col-content">
<div>
<div class="post-header">
<h1 class="post-title-main display-1">Develop an App</h1>
</div>
<div class="page-type"> task </div>
</div>
<div class="post-content">
<div class="summary">While there are two different types of apps (backend services and elements), they both have the same initial and final development steps. Start your development process by following the initial steps below. Then follow the development process for the type of app you're creating. Finish up by following the final steps, also below.</div>
<!-- this handles the automatic toc. use ## for subheads to auto-generate the on-page minitoc. if you use html tags, you must supply an ID for the heading element in order for it to appear in the minitoc. -->
<script>
$( document ).ready(function() {
$('#toc').toc({
minimumHeaders: 2, // Don't show ToC if there is only one header
listType: 'ul',
showSpeed: 0,
headers: 'h2'
});
/* this offset helps account for the space taken up by the floating toolbar. */
$('#toc').on('click', 'a', function() {
var target = $(this.getAttribute('href'))
, scroll_target = target.offset().top
$(window).scrollTop(scroll_target - 50);
return false
})
});
</script>
<div id="toc" class="toc"></div>
<h2 id="initial-development-steps">Initial Development Steps</h2>
<ol>
<li>Get familiar with Weebly and how our users develop websites with it. Go ahead and experiment with Weebly elements. As you start planning and designing, keep in mind that Weebly users expect elements and apps to behave like they were developed by Weebly. Try to keep your app as close to the Weebly paradigm as possible.</li>
<li><a href="ds_apps_reg.html">Register</a> your app.</li>
<li>Create your initial <a href="ds_apps_files.html">file structure</a>. You will create and upload a ZIP of this directory as your app.</li>
<li>Create your <a href="ds_apps_manifest.html">manifest</a>. Back end services and elements must include the initial manifest entries. There will be additional entries if you create an element.</li>
</ol>
<p>Once you create those initial entries, follow the specific instructions for the type of app you are creating - <a href="ds_apps_backend.html">backend service</a>, or <a href="ds_apps_element_create.html">element</a>. Then come back here to finish up the development process.</p>
<h2 id="final-development-steps">Final Development Steps</h2>
<ol>
<li>Bundle up your app and <a href="ds_apps_element_upload.html">upload</a>.
Create a zip file FROM the root directory and not OF the root directory. In other words, open the root directory (where the manifest.json file should be), select all files/directories, and create a zip of those. If you create a zip of the root directory, your zip file will not be able to upload to Weebly.</li>
<li>Install your app and <a href="ds_apps_element_test.html">test</a> it, including tutorials (if you created them).</li>
</ol>
<div class="tags">
Tags:<br/>
<a href="tag_apps.html" class="btn btn-default navbar-btn cursorNorm tags-link" role="button">apps</a>
</div>
</div>
<hr class="shaded"/>
<footer class="footer">
<div class="row">
<div class="col-lg-12">
<div class="footer__fineprint">
©2018 Weebly. All rights reserved. <br />
Site last generated: Jan 31, 2018
</div>
<div class="footer__logo">
<img src="images/weebly_logo.svg" alt="Weebly logo"/>
</div>
</div>
</div>
</footer>
</div>
</div>
</body>
</html>