-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathupgrade.html
executable file
·758 lines (696 loc) · 33.1 KB
/
upgrade.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
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Upgrading from Drupal 7 to Backdrop CMS</title>
<meta name="description" content="Upgrading from Drupal 7 to Backdrop CMS.">
<meta name="author" content="Jen Lampton">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700" media="all" />
<link rel="stylesheet" href="reveal.js/css/reveal.css">
<link rel="stylesheet" href="reveal.js/plugin/prism/prism.css">
<link rel="stylesheet" href="reveal.js/plugin/fontawesome/css/all.min.css">
<link rel="stylesheet" href="reveal.js/css/theme/backdrop.css" id="theme">
<style>
#watermark {
position: absolute;
bottom: 4%;
left: 1%;
width: 25%;
height: 15%;
/*background: url(assets/companies/srijan-ww.png) no-repeat; */
background-size: 100% auto;
z-index: 1000;
}
</style>
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'reveal.js/css/print/pdf.css' : 'reveal.js/css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<!--[if lt IE 9]>
<script src="reveal.js/lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<div id="watermark"></div>
<section>
<h1 style="font-size: 80px">Upgrading to Backdrop CMS</h1>
<h2>from Drupal 7</h2>
<img src="assets/layouts/images/Drop_lounging_final_black.png" alt="Drop the dragon lounging" style="width: 50%; padding: 10% 5% 2%;" />
</section>
<section>
<h1>What is Backdrop CMS?</h1>
<h2 class="fragment"><strong>The Drupal fork</strong></h2>
<h2 class="fragment">Drupal 7, modernized!</h2>
</section>
<!-- What is Backdrop CMS? -->
<section>
<h1>Backdrop CMS includes:</h1>
<h2>Drupal 8 core features</h2>
<ul style="margin-top: 30px; width: 60%;">
<li>Mobile First, HTML5</li>
<li>Built-in Rich-Text editor</li>
<li>Views (and CTools) in core</li>
<li>Configuration Management</li>
<li>Field Types: Date, Email, Link</li>
</ul>
<ul style="margin-top: 30px; width: 30%;">
<li>File Entity</li>
<li>Media Browser</li>
<li>Admin Views</li>
<li>Page Preview</li>
<li>Email registration</li>
</ul>
</section>
<!-- What is Backdrop CMS? -->
<section>
<h1>Backdrop CMS includes:</h1>
<h2>Drupal 7 contrib features...</h2>
</section>
<section>
<p style="font-size:1.25em">75+ modules included in Backdrop core</p>
<div class="modules-in-core">
<div class="column-wrapper" style="text-align: left; line-height: 1.3; font-size: 70%">
<ul style="width: 24%;">
<li>Admin menu</li>
<li>Admin views</li>
<li>Auto Menu*</li>
<li>Block class</li>
<li>Blockify*</li>
<li>Boolean formatter</li>
<li>Btester...Block Content*</li>
<li>Caption Filter </li>
<li>CKeditor*</li>
<li>CKEditor Link</li>
<li>CKEditor Media Browser*</li>
<li>CKEditor Upload</li>
<li>Comment Closer</li>
<li>Comment Hide Subject</li>
<li>Contact Block*</li>
<li>Date*</li>
</ul>
<ul style="width: 24%;">
<li>Date popup authored</li>
<li>Default config</li>
<li>Direct Upload*</li>
<li>Elements </li>
<li>Email </li>
<li>Email Registration</li>
<li>Entity API*</li>
<li>Entity Cache</li>
<li>Entity Reference</li>
<li>Entity view mode</li>
<li>Extra Columns*</li>
<li>Field as Block</li>
<li>Field formatter settings</li>
<li>File entity*</li>
<li>Float filter</li>
<li>HTML5 Tools</li>
</ul>
<ul style="width: 24%;">
<li>Image Mobile Camera*</li>
<li>IMCE Wysiwyg bridge*</li>
<li>Insert*</li>
<li>Instant Filter</li>
<li>jQuery Update*</li>
<li>Link</li>
<li>Live preview*</li>
<li>Media*</li>
<li>Menu block</li>
<li>Menu translation (i18n)</li>
<li>Nodeblock</li>
<li>Options Element</li>
<li>Panels*</li>
<li>Panels Everywhere*</li>
<li>Pathauto </li>
<li>Placeholder</li>
</ul>
<ul style="width: 24%;">
<li>Project Browser</li>
<li>Rabbit Hole</li>
<li>Radix Layouts*</li>
<li>Redirect</li>
<li>Role Assign</li>
<li>Role Help</li>
<li>Scheduler*</li>
<li>Smartmenus</li>
<li>Token</li>
<li>Transliteration</li>
<li>UUID*</li>
<li>Variable*</li>
<li>Vertical Tabs Responsive</li>
<li>Views</li>
<li>Views Bulk Operations</li>
<li>Views Responsive Grid*</li>
</ul>
</div>
</div>
<p style="font-size: 70%"><small>* Some features may not be included in Backdrop core.</small></p>
<style>
.reveal .modules-in-core ul { margin: 0; padding: 0; list-style: none; }
.reveal .modules-in-core li { font-size: 0.66em;}
</style>
</section>
<section>
<p style="position:relative; top:-20px; line-height: 1em">Top 100 Drupal 7 modules</p>
<div class="modules-list" style="font-size: 0.66em">
<div class="column-wrapper" style="text-align: left; line-height: 1.4; font-size: 60%">
<ul style="width: 24%;">
<li><i class="fa fa-times-circle fa-blue"></i> Ctools</li>
<li><i class="fa fa-check-circle fa-blue"></i> Views</li>
<li><i class="fa fa-check-circle fa-blue"></i> Token</li>
<li><i class="fa fa-times-circle"></i><i class="fa fa-check-circle fa-green"></i> Libraries API</li>
<li><i class="fa fa-check-circle fa-blue"></i> Entity API</li>
<li><i class="fa fa-check-circle fa-blue"></i> Pathauto</li>
<li><i class="fa fa-check-circle fa-blue"></i> Jquery Update</li>
<li><i class="fa fa-check-circle fa-blue"></i> Date</li>
<li><i class="fa fa-check-circle fa-blue"></i> Admin Menu</li>
<li><i class="fa fa-check-circle fa-green"></i> Webform</li>
<li><i class="fa fa-check-circle fa-blue"></i> CKeditor</li>
<li><i class="fa fa-times-circle fa-blue"></i><i class="fa fa-check-circle fa-green"></i> IMCE</li>
<li><i class="fa fa-times-circle fa-blue"></i> Module Filter</li>
<li><i class="fa fa-check-circle fa-blue"></i> Link</li>
<li><i class="fa fa-check-circle fa-green"></i> Metatag</li>
<li><i class="fa fa-check-circle fa-green"></i> Google Analytics</li>
<li><i class="fa fa-check-circle fa-blue"></i> Entity Reference</li>
<li><i class="fa fa-check-circle fa-blue"></i> Transliteration</li>
<li><i class="fa fa-cogs fa-blue"></i><i class="fa fa-check-circle fa-green"></i> Field Group</li>
<li><i class="fa fa-check-circle fa-green"></i> Rules</li>
<li><i class="fa fa-check-circle fa-blue"></i> Views Bulk Ops</li>
<li><i class="fa fa-check-circle fa-green"></i> CAPTCHA</li>
<li><i class="fa fa-times-circle fa-blue"></i> Wysiwyg</li>
<li><i class="fa fa-times-circle fa-blue"></i> Features</li>
<li><i class="fa fa-check-circle fa-green"></i> XML Sitemap</li>
</ul>
<ul style="width: 24%;">
<li><i class="fa fa-check-circle fa-green"></i> Colorbox</li>
<li><i class="fa fa-times-circle fa-blue"></i> Variable</li>
<li><i class="fa fa-check-circle fa-blue"></i> File Entity</li>
<li><i class="fa fa-times-circle fa-blue"></i> Media</li>
<li><i class="fa fa-check-circle fa-green"></i> Backup & Migrate</li>
<li><i class="fa fa-times-circle fa-blue"></i> Menu Block</li>
<li><i class="fa fa-check-circle fa-blue"></i> Redirect</li>
<li><i class="fa fa-check-circle fa-green"></i> Localization update</li>
<li><i class="fa fa-check-circle fa-green"></i> i18n</li>
<li><i class="fa fa-cogs fa-green"></i> Field collection</li>
<li><i class="fa fa-check-circle fa-green"></i> Views Slideshow</li>
<li><i class="fa fa-times-circle fa-blue"></i> Panels</li>
<li><i class="fa fa-check-circle fa-green"></i> Global Redirect</li>
<li><i class="fa fa-times-circle fa-blue"></i> Context</li>
<li><i class="fa fa-check-circle fa-green"></i> Devel</li>
<li><i class="fa fa-times-circle"></i> Strongarm</li>
<li><i class="fa fa-check-circle fa-blue"></i> Email Field</li>
<li><i class="fa fa-check-circle fa-green"></i> Mail System</li>
<li><i class="fa fa-times-circle fa-blue"></i> Block Class</li>
<li><i class="fa fa-check-circle fa-green"></i> Menu Attributes</li>
<li><i class="fa fa-check-circle fa-green"></i> ReCAPTCHA</li>
<li><i class="fa fa-times-circle fa-blue"></i><i class="fa fa-cogs fa-green"></i> Display Suite</li>
<li><i class="fa fa-check-circle fa-green"></i> SMTP</li>
<li><i class="fa fa-times-circle fa-blue"></i> IMCE Wysiwyg Br</li>
<li><i class="fa fa-check-circle fa-green"></i> Job Scheduler</li>
</ul>
<ul style="width: 24%;">
<li><i class="fa fa-check-circle fa-blue"></i> Admin Views</li>
<li><i class="fa fa-check-circle fa-green"></i> Views Data Export</li>
<li><i class="fa fa-check-circle fa-green"></i> Adressfield</li>
<li><i class="fa fa-check-circle fa-green"></i> Honeypot</li>
<li><i class="fa fa-check-circle fa-green"></i> UUID</li>
<li><i class="fa fa-check-circle fa-green"></i> Special Menu Items</li>
<li><i class="fa fa-check-circle fa-green"></i> Better Exp Filters</li>
<li><i class="fa fa-check-circle fa-green"></i> Calendar</li>
<li><i class="fa fa-check-circle fa-green"></i> Feeds</li>
<li><i class="fa fa-times-circle fa-blue"></i><i class="fa fa-cogs fa-green"></i> Superfish</li>
<li><i class="fa fa-cogs fa-blue"></i> Multiupload File widget</li>
<li><i class="fa fa-check-circle fa-green"></i> Flexslider</li>
<li><i class="fa fa-check-circle fa-green"></i> MimeMail</li>
<li><i class="fa fa-check-circle fa-green"></i> Node Clone</li>
<li><i class="fa fa-check-circle fa-green"></i> References</li>
<li><i class="fa fa-cogs fa-blue"></i> Multiupload Image widget</li>
<li><i class="fa fa-check-circle fa-green"></i> Plupload integration</li>
<li><i class="fa fa-check-circle fa-green"></i> ImageCache Actions</li>
<li><i class="fa fa-times"></i> Views PHP</li>
<li><i class="fa fa-times-circle fa-blue"></i><i class="fa fa-check-circle fa-green"></i> Filefield Sources</li>
<li><i class="fa fa-check-circle fa-green"></i> Field Permissions</li>
<li><i class="fa fa-check-circle fa-green"></i> Diff</li>
<li><i class="fa fa-check-circle fa-green"></i> Site Map</li>
<li><i class="fa fa-check-circle fa-green"></i> Search API</li>
<li><i class="fa fa-check-circle fa-green"></i> Inline Entity Form</li>
</ul>
<ul style="width: 24%;">
<li><i class="fa fa-times"></i> Media: Youtube</li>
<li><i class="fa fa-check-circle fa-green"></i> Adminimal...Menu</li>
<li><i class="fa fa-check-circle fa-green"></i> EU cookie compliance</li>
<li><i class="fa fa-check-circle fa-green"></i> Pathologic</li>
<li><i class="fa fa-check-circle fa-green"></i> Facet API</li>
<li><i class="fa fa-check-circle fa-blue"></i> Module Missing...Fixer</li>
<li><i class="fa fa-times"></i> Quicktabs</li>
<li><i class="fa fa-check-circle fa-green"></i> Video embed field</li>
<li><i class="fa fa-check-circle fa-green"></i> Taxonomy Menu</li>
<li><i class="fa fa-check-circle fa-blue"></i> CKEditor Link</li>
<li><i class="fa fa-check-circle fa-green"></i> Title</li>
<li><i class="fa fa-check-circle fa-green"></i> Masquerade</li>
<li><i class="fa fa-check-circle fa-green"></i> IMCE Mkdir</li>
<li><i class="fa fa-check-circle fa-green"></i> Voting API</li>
<li><i class="fa fa-check-circle fa-green"></i> Conditional Fields</li>
<li><i class="fa fa-times"></i> Lightbox 2</li>
<li><i class="fa fa-times-circle fa-blue"></i><i class="fa fa-check-circle fa-green"></i> Insert</li>
<li><i class="fa fa-times-circle"></i> Advanced Help</li>
<li><i class="fa fa-check-circle fa-green"></i> Image URL Formatter</li>
<li><i class="fa fa-check-circle fa-blue"></i> Scheduler</li>
<li><i class="fa fa-times-circle fa-blue"></i> Linkit</li>
<li><i class="fa fa-check-circle fa-green"></i> Feeds Tamper</li>
<li><i class="fa fa-check-circle fa-green"></i> Content Access</li>
<li><i class="fa fa-check-circle fa-green"></i> Views Bootstrap</li>
<li><i class="fa fa-check-circle fa-green"></i> DraggableViews</li>
</ul>
</div>
<ul class="column-wrapper modules-list-key" style="font-size: 0.5em; display: flex; border:2px solid #333; margin-top: .8em;">
<li>
<i class="fa fa-check-circle fa-blue"></i> Included In core: 19<br/>
<i class="fa fa-check-circle fa-green"></i> Ready In contrib: 58
</li>
<li>
<i class="fa fa-cogs fa-blue"></i> Underway in core: 3<br/>
<i class="fa fa-cogs fa-green"></i> Underway in contrib: 3
</li>
<li>
<i class="fa fa-times-circle fa-blue"></i> Alternative in core: 16<br/>
<i class="fa fa-times-circle"></i> Nolognger necessary: 3
</li>
<li>
<i class="fa fa-times"></i> Not started: 4</li>
</ul>
</div>
<style>
.reveal .modules-list ul, .reveal .modules-list li { margin: 0; padding: 0; list-style: none;}
.modules-list .fa { padding: 0 .3em 0 0; }
.modules-list .fa-times { color: red; }
.modules-list .fa-gray { color: #888; }
.modules-list .fa-blue { color: #0074bd;}
.modules-list .fa-green { color: #ADBC34; }
.reveal .modules-list-key li { padding: .4em;}
</style>
</section>
<!-- What is Backdrop CMS? -->
<section>
<h1 style="margin-top: 10%">Backdrop CMS is Fast</h1>
<h2>Backdrop performs faster than a comparable Drupal 7 site.</h2>
<p>Faster page rendering, better caching, and yes, <br> cache tags are coming soon!</p>
</section>
<!-- What is Backdrop CMS? -->
<section>
<h1 style="margin-top: 10%">Backdrop CMS is easy</h1>
<h2>Improved user exprience over<br> both Drupal and WordPress</h2>
<p>More than 600 user-experience improvements<br>
made to the project since it's inception</p>
</section>
<section>
<h1>Why upgrade to Backdrop CMS?</h1>
<ul>
<li class="fragment">You are happy (enough) with your current Drupal 7 site</li>
<li class="fragment">You want all the same functionality you have now (+ more)</li>
<li class="fragment">You want a simpler editor or administrator experience</li>
<li class="fragment">You want ongoing improvements to your software</li>
<li class="fragment">You agree with the <a href="https://backdropcms.org/philosophy">Backdrop CMS Philosophy</a></li>
</ul>
</section>
<section data-background-color="#000" class="dark">
<h1 style="margin-top:25%">Philosophy?</h1>
</section>
<section>
<h1>Backdrop CMS Mission</h1>
<blockquote>Backdrop CMS enables people to build highly customized websites affordably, through collaboration and open source software.</blockquote>
<p><small><a href="https://backdropcms.org/philosophy" target="_blank">https://backdropcms.org/philosophy</a></small></p>
</section>
<section>
<h2>Backdrop CMS Principles</h2>
<ol style="font-size: 90%">
<li class="fragment"><strong>Easier updates</strong>: Backwards compatibility is important.</li>
<li class="fragment"><strong>Simplicity</strong>: Write code that the majority can understand.</li>
<li class="fragment"><strong>Focus</strong>: Only include features that benefit the majority.</li>
<li class="fragment"><strong>Extensibility</strong>: Ensure Backdrop can be customized.</li>
<li class="fragment"><strong>Security</strong>: Keep sites and people safe.</li>
<li class="fragment"><strong>Performance</strong>: Meet low system requirements.</li>
<li class="fragment"><strong>Release on-time</strong>: Plan and schedule releases.</li>
<li class="fragment"><strong>Freedom</strong>: Remain both Free and Open Source.</li>
</ol>
<p><small><a href="https://backdropcms.org/philosophy" target="_blank">https://backdropcms.org/philosophy</a></small></p>
</section>
<section>
<h1>What kinds of sites are upgrading?</h1>
<ul>
<li class="fragment">Simple sites -- can upgrade in as little as 1 day</li>
<li class="fragment">Medium sites -- upgrade in ~1 month</li>
<li class="fragment">Highly customized sites (lots of custom code) - varies</li>
</ul>
</section>
<section data-background-color="#000" class="dark">
<h1 style="margin-top:25%">I'm in!</h1>
</section>
<section>
<h1>Upgrade from Drupal</h1>
<h2>in 4 steps</h2>
<ol>
<li>Research what's necessary</li>
<li>Prepare your Drupal 7 site</li>
<li>Upgrade to Backdrop CMS</li>
<li>QA & Adjust</li>
<li>Repeat steps 2-4</li>
</ol>
</section>
<section>
<h1>Step 1:</h1>
<h2>Research what will be necessary to upgrade to Backdrop CMS</h2>
<ol>
<li class="fragment">Review your current theme</li>
<li class="fragment">Review your current layouts (if any)</li>
<li class="fragment">Review your current modules</li>
</ol>
</section>
<section data-background-color="#000" class="dark">
<h1 style="margin-top:25%">Review your theme</h1>
</section>
<section>
<h1>Are you happy with your current theme?</h1>
<ul>
<li class="fragment">If so, you'll need to "port" it.</li>
<li class="fragment">If not, you might want a new one: contrib or custom.</li>
<li class="fragment">Familiarize yourself with the time/effort required for either decision.</li>
</ul>
</section>
<section>
<h1 style="margin-top:25%">Theme differences from Drupal 7</h1>
</section>
<section>
<p style="font-weight: 600; margin-bottom: 10%">The page template (page.tpl.php) becomes<br>
the layout template (layout.tpl.php)</p>
<div class='left' style='float:left;width:38%'>
<h4>Drupal 7</h4>
regions in theme<br>
blocks in database
</div>
<div class='right' style='float:right;width:58%'>
<h4>Backdrop CMS</h4>
regions in layout templates<br>
blocks in configuration
</div>
</section>
<section>
<p style="font-weight: 600; margin-bottom: 10%">Minor markup changes: semantic tags, no IDs.</p>
<div class='left' style='float:left;width:38%'>
<h4>Drupal 7</h4>
<pre><code>
div
id="page-title"
</code></pre>
</div>
<div class='right' style='float:right;width:58%'>
<h4>Backdrop CMS</h4>
<pre><code>
article, nav, section, aside
class="page-title"
</code></pre>
</div>
</section>
<section>
<p style="font-weight: 600; margin-bottom: 10%">classes and attributes printed differently in templates.</p>
<h4>Drupal 7</h4>
<pre><code>
class="< ?php print $classes; ?>" < ?php print $attributes; ?>
</code></pre>
<h4>Backdrop CMS</h4>
<pre><code>
class="< ?php print implode(' ', $classes); ?>" < ?php print backdrop_attributes($attributes); ?>
</code></pre>
</section>
<section>
<p style="font-weight: 600; margin-bottom: 10%">functions are called from within templates</p>
<div class='left' style='float:left;width:38%'>
<h4>Drupal 7</h4>
<pre><code>
print $styles;
print $scripts;
</code></pre>
</div>
<div class='right' style='float:right;width:58%'>
<h4>Backdrop CMS</h4>
<pre><code>
print backdrop_get_css();
print backdrop_get_js();
</code></pre>
</div>
</section>
<section data-background-color="#000" class="dark">
<h1 style="margin-top:25%">Review layout templates</h1>
</section>
<section>
<h2>What's a layout template?</h2>
<img src="assets/upgrade/images/layouts.png" alt="Core Layout Templates" />
<p>(think "page template" from Drupal 7)</p>
<ul>
<li>.info file</li>
<li>.tpl.php file</li>
<li>.css file</li>
<li>optional .php file</li>
</ul>
</section>
<section>
<h2>What's a layout template?</h2>
<h3>Top-level add-On (like module, theme)</h2>
<ul>
<li>.info file</li>
<li>.tpl.php file</li>
<li>.css file</li>
<li>optional .php file</li>
</ul>
</section>
<section>
<h1>Review layout templates:</h1>
<ul>
<li>Can you make do with the layout templates in core?</li>
<li>If not, you will need to create your own:
<ul>
<li>Flexible Layout Templates (UI)</li>
<li>Custom code</li>
</ul>
</li>
</ul>
</section>
<section data-background-color="#000" class="dark">
<h1 style="margin-top:25%">Review your modules</h1>
</section>
<section>
<h1>What modules is your site currently using?</h1>
<ul>
<li>Core modules</li>
<li>Contributed modules</li>
<li>Custom modules</li>
</ul>
</section>
<section>
<h2>Review core modules.</h2>
<p>A few D7 core modules have been remvoed from Backdrop.</p>
<ul>
<li>Were you using any of these?</li>
<li class="fragment">If so, were they replaced by something else? (dashboard)</li>
<li class="fragment">If not, did you really need them? (overlay)</li>
<li class="fragment">If so, do they exist in contrib? (aggregator)</li>
<li class="fragment">If not, are you ready to port them? (poll)</li>
</ul>
<img src="assets/upgrade/images/core-modules.png" alt="Core Modules" />
</section>
<section>
<h2>Review contributed modules.</h2>
<ul>
<li>Have any been moved into core in Backdrop CMS?</li>
<li>If some have not, do they exist in contrib?</li>
<li>If some do not, are you ready to port them?</li>
</ul>
<img src="assets/upgrade/images/contrib-modules.png" alt="Contrib Modules" />
</section>
<section>
<h2>Review custom modules</h2>
<ul>
<li>How many do you have?</li>
<li>How complicated are they?</li>
<li>Will they <i>need</i> any changes for Backdrop?</li>
<li>Should they be made 100% backdrop-compatible?</li>
<img src="assets/upgrade/images/custom-modules.png" alt="Custom Modules" />
</ul>
</section>
<section data-background-color="#000" class="dark">
<h1 style="margin-top:25%">Differences in modules</h1>
</section>
<section>
<p style="font-weight: 600; margin-bottom: 10%">the info file needs to be updated</p>
<div class='left' style='float:left;width:48%'>
<h4>Drupal 7</h4>
<pre><code>
core = 7.x
</code></pre>
</div>
<div class='right' style='float:right;width:48%'>
<h4>Backdrop CMS</h4>
<pre><code>
backdrop = 1.x
type = module
</code></pre>
</div>
</section>
<section data-background-color="#000" class="dark">
<h2 style="margin-top: 15%">Your module might work after this one change!</h2>
<p>(Backwards-compatability with Drupal 7)<p>
</section>
<section data-background-color="#000" class="dark">
<h2 style="margin-top: 15%">There's some more</h2>
<p>(You'll likely also want Configuration Management, so...)<p>
</section>
<section>
<p style="font-weight: 600; margin-bottom: 10%">configuration management</p>
<div class='left' style='float:left;width:48%'>
<h4>Drupal 7</h4>
<pre><code>
variable_set()
variable_get()
</code></pre>
</div>
<div class='right' style='float:right;width:48%'>
<h4>Backdrop CMS</h4>
<pre><code>
config_set() or $config->set()
config_get() or $config->get()
</code></pre>
</div>
</section>
<section>
<h1 style="margin-top: 15%">There's a little more</h2>
<p>But we have a record of all API changes at<br>
<a href="https://api.backdropcms.org/change-records">https://api.backdropcms.org/change-records</a></p>
<p><strong>It should be straightforward to port modules.</strong><p>
</section>
<section data-background-color="#000" class="dark">
<h1 style="margin-top: 15%">Backdrop</h1>
<h2>It's not very different</h2>
</section>
<section>
<h1>Step 2:</h1>
<h2>Prepare your old Drupal 7 site</h2>
<ul>
<li>Ensure you are on the latest stable release of Drupal 7.</li>
<li>Ensure you are on the latest stable versions of all add-ons.</li>
<li>Ensure all configuration is in the database (views, etc).</li>
<li>Optional: Delete content you don't use/need/want.</li>
<li>Optional: Uninstall modules you don't use/need/want.</li>
</ul>
</section>
<section>
<h1>Step 3</h1>
<h2>Upgrade your Drupal site to Backdrop</h2>
<ul>
<li>Replace all Drupal code with Backdrop code:
<ul>
<li>Add all custom and/or contributed modules</li>
<li>Add all custom and/or contributed layout templates</li>
<li>Add all custom and/or contributed themes</li>
</ul>
</li>
<li>Update the settings.php file</li>
<li><strong>Run the update script! (visit update.php)</strong></li>
</ul>
</section>
<section>
<h1>Step 4</h1>
<h2>QA and adjust</h2>
<ul>
<li>Confirm that everything is working.</li>
<li>Adjust configuration as needed (commit to vcs!).</li>
<li>If this is the first upgrade:
<ul>
<li>This is a good time to create/update the theme.</li>
<li>This is a good time to create custom layout templates.</li>
<li>this is a good time to port modules</li>
</ul>
</li>
</ul>
</section>
<section>
<h1 style="margin-top: 15%">As with all upgrades</h1>
<p>Repeat steps 3-4 as needed, sync config each time.</p>
</section>
<section>
<h1 style="margin-top: 10%">Questions?</h1>
<ul class="no-bullets">
<li>
<i class="fa fa-globe" aria-hidden="true"></i>
<a href="http://backdropcms.org">http://backdropcms.org</a></li>
<li>
<i class="fab fa-twitter-square" aria-hidden="true"></i>
<a href="http://twitter.com/backdropcms">@backdropcms</a></li>
<li>
<i class="fab fa-github-square" aria-hidden="true"></i>
<a href="http://github.com/backdrop">github.com/backdrop</a></li>
<li>
<i class="fa fa-comments-o" aria-hidden="true"></i>
<a href="https://gitter.im/backdrop/backdrop-issues">gitter.im/backdrop/backdrop-issues</a></li>
</ul>
</section>
<section>
<h1 style="margin-top: 15%">Show and Tell!</h1>
<ul class="no-bullets">
<li>
<i class="fa fa-globe" aria-hidden="true"></i>
<a href="https://backdropcms.org/upgrade-from-drupal">https://backdropcms.org/upgrade-from-drupal</a></li>
</ul>
</section>
<section>
<h1 style="margin-top: 10%">Questions?</h1>
<ul class="no-bullets">
<li>
<i class="fa fa-globe" aria-hidden="true"></i>
<a href="http://backdropcms.org">http://backdropcms.org</a></li>
<li>
<i class="fab fa-twitter-square" aria-hidden="true"></i>
<a href="http://twitter.com/backdropcms">@backdropcms</a></li>
<li>
<i class="fab fa-github-square" aria-hidden="true"></i>
<a href="http://github.com/backdrop">github.com/backdrop</a></li>
<li>
<i class="fa fa-comments-o" aria-hidden="true"></i>
<a href="https://gitter.im/backdrop/backdrop-issues">gitter.im/backdrop/backdrop-issues</a></li>
</ul>
</section>
</div>
</div>
<script src="reveal.js/lib/js/head.min.js"></script>
<script src="reveal.js/js/reveal.js"></script>
<script>
// Full list of configuration options available at:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: false,
transition: 'none', // none/fade/slide/convex/concave/zoom
// Optional reveal.js plugins
dependencies: [
{ src: 'reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'reveal.js/plugin/prism/prism.js', async: true },
{ src: 'reveal.js/plugin/zoom-js/zoom.js', async: true },
{ src: 'reveal.js/plugin/notes/notes.js', async: true }
]
});
</script>
</body>
</html>