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