- from the course / tutorial: PHPBridge: Intro To PHP
- original web page is not available, only cached one
- url from cached pages: PHPBridge: Intro To PHP by web archive
- Thank you to web archive.org
- relearning the fundaments of vanilla PHP
- improved original code by using modern PHP (8.1+) like strict types, type hinting, etc
- Using Composer tool for autoloading internal dependencies
- Using Docker to create the development environment
- To better developement it is taked advantages of this two wonderfull vscode extensions:
- Docker (By Microsoft): to manage docker containers in vs code
- Dev Containers (By Microsoft): to use vscode inside of the container.
-
Editor: VS Code (By Microsoft)
-
PHP Intelephense (By Ben Mewburn)
-
PHP Namespace Resolver (By Mehedi Hassan)
-
PHP Awesome Snippets (By HakCorp)
- this project is organized similar to original website
- each chapter is a git branch, with its own CH*.md file with some steps and notes
- the expections are CH1 and CH2 that stay at main branch
- the original was setup with Vagrant tool, this will use Docker
- The lastest chapter will include some code improvements / refactors
- Composer configuration will be included
- PHP: 8.1
- DB: MySQL 8
- Tailwind css
https://github.com/neoln/suggestotron
- to run this code DOCKER is not required, with this tools would be enough: XAMP, WAMP, MAMP, etc.
- Docker compose is not used here, since it is a simple and educational goals project
- if you are using MySQL as simple container, don't forget to verify the ip address
original:
Improved:
- index / main page:
- edit page: