Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,155 of 9,155 pages
About the help in other languages
All help pages

Agenda 2.3: The developers day

A one-day workshop for PHP developers new to Exponential, a Git installation, the content model, a content class, templates and an override, the console, and a first extension with the RAD tools. 6 hours of sessions.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/trainers/workshops/module-02-one-day-agendas/developers-day.md

On this page

Agenda 2.3: The developers day

Developers learn fastest by building. This day goes from a Git installation to a first extension, touching the parts of Exponential a developer meets in the first week of a project: the content model, templates, overrides, the console and extensions.

At a glance

CourseWorkshops and bootcamps
ModuleModule 2: One-day agendas
Duration6 hours of sessions (9:00 to 16:30 with breaks and lunch)
LevelIntermediate
AudiencePHP developers, 4 to 12 learners
PrerequisitesPHP, Git and Composer on each laptop; a GitHub account for the optional last block

Learning objectives

At the end of the day, learners can:

  • set up an installation from Git clones on a branch of their own;
  • define a content class and create content with it;
  • find which template draws a page and change it with an override they can undo;
  • list the console commands and create, enable and see a first extension.

The agenda

TimeBlockUsesCheckpoint
9:00Welcome; Git installation (60 min)Develop with Git, Getting the code, One installation per learnerSite served from a clone on branch training
10:00The content model (30 min)The content model and editing content, Teaching the core conceptsObject, node, version explained
10:30Break (15 min)
10:45A content class "Event" (60 min)The content model and editing contentAn Event created
11:45Lunch (45 min)
12:30Templates, debug and an override (80 min)Templates and designOverride visible, then removed
13:50Break (10 min)
14:00The console (30 min)The console install, 7.1php bin/php/console list read
14:30A first extension with the RAD tools (60 min)RAD tools, ExtensionsExtension counted in Setup > RAD
15:30Optional: a documentation fix as a pull request; wrap-up (60 min)Develop with GitA pull request link, or a prepared commit
16:30End

Cut items, in order: the pull request block; the console block (fold into the extension block).

Trainer's notes

  • The clone is big (the whole history). Prepare clones in advance on slow networks.
  • Overrides: use the click path of the Template Editor first, then show the file it wrote (settings/siteaccess/<siteaccess>/override.ini.append.php).
  • Extensions: after enabling, run php bin/php/ezpgenerateautoloads.php -e and clear the caches, as the RAD tools page says.
  • After the day, point to the full Developers course and the Extension development book.

Hands-on exercise: the capstone of the day

  1. Create a content class "Event" with a title, a date and a text.
  2. Create two events.
  3. Make an override so that the full view of one event shows an extra line, check it, then remove the override.
  4. Generate an extension with a RAD wizard, enable it, regenerate the autoloads, clear the caches and see it in the extension point survey.

Expected result

  • Two events exist; the override showed and was removed in one click.
  • The new extension is listed in Setup > RAD > Extension point survey.

Quiz (end of day)

  1. Which command lists every console command?
  2. Where does the Template Editor write an override rule?
  3. What must you run after enabling a new extension with classes?
  4. Why work on a branch of your own in the clone?
Answers
  1. php bin/php/console list.
  2. settings/siteaccess/<siteaccess>/override.ini.append.php (Templates and design).
  3. php bin/php/ezpgenerateautoloads.php -e, then clear the caches (RAD tools).
  4. Updates never overwrite your own commits, and you can send changes back as pull requests.

Further reading

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x