To run the website we need a webserver, a database and PHP.
Either set this up all yourself or you can use DDEV:
To get third party dependencies in place:
The place where your website will life in.
It contains all the code that makes up the website.
Tools to enfore coding standards and prevent bugs might come in handy improving the code.
* used by the TYPO3 Core
Using a version control system it makes it easier to understand what,
when and why a change was done to the code.
Most likely Git due to adoption in GitHub/GitLab.
It is rare to see the others out in the wild these days.
Pack up and process SCSS, Javascript files and more to be ready for the browser.
There are many different bundlers around like gulp, grunt, webpack, vite.
Nowadays, i prefer to use vite because of its simple configuration and speed.
Tests are always good practice. It will ensure that the changed code is still working.
* used by the TYPO3 Core
On every change in the codebase a pipeline should run to execute the QA tool, bundle and testing.
Finally, ship your code.
… we have a gazillion of tools to install and configure ⁉️
… for GitLab users.
Let me show you …
Wanted | Available and preconfigured in the Template |
---|---|
LAMP | ✅ DDEV |
Package-Manager | ✅ Composer, NPM |
Site package | ✅ |
QA Tools / Analyzer | ✅ PHPStan, PHP-CS-Fixer |
Versioning | ✅ Git |
Bundler | ✅ ViteJS |
Tests (unit, functional, acceptance) | ❌ |
Continous integration | ⚠️ GitLab Runner + deployer (needs additional configuration) |
Project (maintained by GitLab):
https://gitlab.com/gitlab-org/project-templates/typo3-distribution/
Workflow:
@gitlab-bot ready
⚠️ Try to keep changes small
Task: Update template zip archive
Stats: 25 participants, 3 approvers, 11 labels
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/125094
Inspiring People To Share
Everyone can contribute