nayodahl / ocproject5 Goto Github PK
View Code? Open in Web Editor NEWBlog project done with Vanilla PHP, for Openclassrooms
Blog project done with Vanilla PHP, for Openclassrooms
correct DB and its "ON DELETE CASCADE"
make signin form work
all done, but needs pager system
correct router, needs to accept more than 1 numeric character as int paramater
That said, you should:
Besides that, you should also regenerate the session ID while invalidating the old one (see session_regenerate_id function) after certain session state changes (e. g. confirmation of authenticity after login or change of authorization/privileges) and you can additionally do this periodically to reduce the time span for a successful session hijacking attack.
Comments Manager view - add a column with parent Post title and a link to it
add pager for SinglePost view based on creation date instead of postId
create Http\Request class
finish all CRUD
create Edit Post view
add double check for password on signin form
Create homepage
add rule : when we delete a user that as comments, set them to anonymous author
replace router with a dynamic router
optimize router, call a controller only when needed
install bootstrap theme :
https://startbootstrap.com/previews/clean-blog/
set rule - in case a user has no more admin rights, who is the writer ?
CSRF protection on forms
refactorize RequestValidator class to keep number of methods under 10
create controll input Class to controll $_GET $_POST inside the router before calling the controller
each metho in this controll class will be static
Add template for back using twig
split backcontroller
create Superadmin Users Manager view
add rights checks before accessing to admin controller
Create Front controller
create Comments Manager view
add sql injection protection
Create Authentication system
Add template for front using twig
create add comment method
create error class to manage errors and redirect to 404 if needed
set control on manager for valid parameter
exemple = postId doesnt exist
create Posts manager view
add fluent writing for error
create Add Post view
Create Entities :
Post
Comment
User
add rights checks before accessing to members manager
add reset password method
add salt to password_hash method
create login page
install :
php-cs-fixer (en Development requirements)
whoops (en Development requirements)
create database with demo data
add mail generation for contact form
grammar, syntax, rules etc..
Create Back controller
create sign in page
create signin method with password generator with hash + salt
Create Singe Post Page
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.