Skip to content
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

Closed
ralt opened this issue Feb 25, 2015 · 4 comments
Closed

Login chapters #24

ralt opened this issue Feb 25, 2015 · 4 comments

Comments

@ralt
Copy link

ralt commented Feb 25, 2015

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,

@HassanAlthaf
Copy link
Contributor

Agreed, I would also like to see a lot of security measures added to it.

@michaelGregoire
Copy link

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.

@HassanAlthaf
Copy link
Contributor

@michaelGregoire and of course validation. Like how the hell can we send validation messages to the template file..?

@PatrickLouys
Copy link
Owner

I covered all those issues my book. Thanks for the feedback :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants