-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login chapters #24
Comments
Agreed, I would also like to see a lot of security measures added to it. |
Simply the best tutorial that I've come across, thus far, that's really made clear the idea of dependency injection and loose coupling. Thank you for it! There are simply not enough tutorials/books about modern php development that aren't tied to a particular framework. I look forward to more chapters. Especially covering an example of authentication and authorization. |
@michaelGregoire and of course validation. Like how the hell can we send validation messages to the template file..? |
I covered all those issues my book. Thanks for the feedback :) |
Hi,
It'd be pretty good to have a "Login" chapter.
A simple login form (I'm thinking that introducing assets management is a thing too, but for another issue) that lets a user login. Also, a register form. And a logout link.
A database chapter and a session chapter need to be introduced before though.
The backend of the login would simply be a table and using
password_hash
/password_verify
.After that, the backend of the login could be switched to OAuth. This way, you show the "replace implementations", through an
Authenticator
interface.Cheers,
The text was updated successfully, but these errors were encountered: