issues
search
AnnaigJegourel
/
OC-P5-Creez-votre-premier-blog-en-PHP
Blog made from scratch using PHP, OOP, MVC (Study project)
MIT License
2
stars
0
forks
source link
PHP & Twig : Clean & standardize code
#38
Closed
AnnaigJegourel
closed
2 years ago
AnnaigJegourel
commented
2 years ago
[x] Use
addslashes()
to avoid apostrophe input error & clean useless comments in Controllers
Syntax & naming:
[x] Update
method names
to standardize
[x] Update
Class Diagram
[x] Update twig files (only one message file /
factorize error & success messages
)
[x] Update
form names
to harmonize with methods names
Render / Redirect after CRUD actions:
[x] Update
methods order & visibility
[x] Update
this / self
functions calls
Syntax & naming:
Render / Redirect after CRUD actions: