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
replace router with a dynamic router
Add template for back using twig
Comments Manager view - add a column with parent Post title and a link to it
grammar, syntax, rules etc..
correct router, needs to accept more than 1 numeric character as int paramater
create signin method with password generator with hash + salt
optimize router, call a controller only when needed
finish all CRUD
set control on manager for valid parameter
exemple = postId doesnt exist
add pager for SinglePost view based on creation date instead of postId
add salt to password_hash method
refactorize RequestValidator class to keep number of methods under 10
Create Back controller
all done, but needs pager system
create Posts manager view
create error class to manage errors and redirect to 404 if needed
Create Singe Post Page
add sql injection protection
Create Authentication system
create add comment method
create database with demo data
add reset password method
add rule : when we delete a user that as comments, set them to anonymous author
create Edit Post view
add rights checks before accessing to admin controller
create Superadmin Users Manager view
split backcontroller
correct DB and its "ON DELETE CASCADE"
Create homepage
CSRF protection on forms
add mail generation for contact form
add rights checks before accessing to members manager
install bootstrap theme :
https://startbootstrap.com/previews/clean-blog/
make signin form work
Create Entities :
Post
Comment
User
create login page
create controll input Class to controll $_GET $_POST inside the router before calling the controller
each metho in this controll class will be static
Create Front controller
install :
php-cs-fixer (en Development requirements)
whoops (en Development requirements)
create Add Post view
create Http\Request class
add fluent writing for error
Add template for front using twig
set rule - in case a user has no more admin rights, who is the writer ?
add double check for password on signin form
create sign in page
create Comments Manager view
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.
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.