art-3d / framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Education, framework

Purpose of the project

> is to learn how frameworks work under the hood

> walk from start to end of request -> response process

> cover diferent parts of basic components


todo:

  • fix all features

  • add unit tests

  • add project description

  • create migration

  • add new features to framework (cache, logs, etc)

  • use queue*

  • refactor dependency injection by __construct

  • add db relations (author, article)

  • add comments

  • fixtures

  • explain structure of the project

  • CSRF token for forms

  • add pipeline for static analysis tool, disable push to master (PR only)

  • use .env for config

  • EventDispatcher

  • handle 404, 5xx error

  • add logger

  • add pagination

  • fix psalm warnings


[Xdebug]

Find host:

$ ipconfig getifaddr en0 #mac
$ hostname -I | cut -d ' ' -f1 #linux

Config:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Listen for Xdebug",
            "type": "php",
            "request": "launch",
            "port": 9003,
            "pathMappings": {
                "/app": "${workspaceFolder}/app"
            }
        }
    ]
}

About


Languages

Language:PHP 85.4%Language:JavaScript 6.2%Language:Makefile 4.2%Language:CSS 3.7%Language:Dockerfile 0.5%