Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Login/Register/Admin Tutorial

Hi,

Is it possible anyone has a tutorial or treehouse plan to do a authentication tutorial for PHP that links to an admin panel would be really handy!

4 Answers

Zack Klinger
Zack Klinger
17,622 Points

I know this isn't exactly what you were asking for, but...

I've been playing around with Google Apps Engine and if you look at their Client API: https://developers.google.com/google-apps/calendar/downloads

And at some of the these examples on github: https://github.com/google/google-api-php-client/tree/master/examples

It at least has some examples of how they exchange user tokens and such. The documentation is pretty bad and often out of date, but I've been digging all over those sights and its helped me understand a lot. And helped me find out what I need to search for to get other examples.

Hope that helps!

Yeah ill have a look but its so hard to find a good tutorial alot of tutorials are for older versions of php and obviously want to follow best practices

Zack Klinger
Zack Klinger
17,622 Points

You just can't wait for an up-to-date tutorial. It's hard and it's confusing, but after taking the PHP course, I feel like I can fill in the gaps much easier than before taking the courses.

Have you seen the Laravel course? Laravel (and most frameworks) come ready pacakaged with a pretty robust authentication system, so you could start there :-)

Yeah i'll carry on working through the php development trail and then see if i can pick it up easy! i'm just jumping the gun a bit lol. Thank you for all your suggestions though!