Module 5: From the 5.x legacy stack
Sites of the 5.x era ran a Symfony stack next to the legacy kernel, on one database. Exponential continues the legacy kernel, so this migration takes the legacy part out of the Symfony application and writes down what the Symfony side used to provide. The module follows chapter 15 of the installation book; the database steps are those of module 4.
At a glance
| Course | Migrating to Exponential |
| Duration | 2 hours 45 minutes |
| Lessons | 3 |
| Level | Advanced |
Lessons
| Lesson | Duration | What learners do |
|---|---|---|
| 5.1 Which 5.x variant, and what carries over | 45 minutes | Identify a variant from its files; list Exponential's own tables; decide the fate of three Symfony bundles |
| 5.2 Extracting the legacy part and writing the configuration as INI | 60 minutes | Read where settings come from with exp:ini; translate YAML siteaccess matching and parameters into INI |
| 5.3 Field types, image aliases and Twig templates | 60 minutes | Compare datatypes; write an image alias and an override block; rewrite Twig as TPL; convert a DocBook fragment |
Preparing this module
- To do: Module 4 taught first, or at least lesson 4.2: the database chain is the same from 5.4 on.
- To do: One training installation per learner with shell access;
sqlite3installed. - To do: The YAML snippets of lessons 5.2 and 5.3 printed or in a shared document.
- To do: If you have one, the root listing of an old 5.x project (without credentials) to show on the projector in lesson 5.1.
- To do: Lesson 5.3 is for developers and theme designers; administrators can work on the INI part of lesson 5.2 again for a second siteaccess instead.
Timing plan
| Block | Minutes |
|---|---|
| Lesson 5.1 | 45 |
| Lesson 5.2 | 60 |
| Break | 15 |
| Lesson 5.3 | 60 |
| Total | 180 (2 hours 45 minutes of lessons, plus a 15-minute break) |
Related pages
- Migrating to Exponential: course overview
- Chapter 15: Migrating from the 5.x legacy stack: the chapter this module teaches from.
- Trainers: start here
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.