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

Php mySql users

What videos do I watch to create user accounts? With php and mysql

So it's better to use something like laravel to create a social network than vanilla php? If so what are the advantages?

Andrew Shook
Andrew Shook
31,709 Points

All the behind the scene code, like database object and routing object, along with all the information architecture are already built for you. All you have to do is build the functionality you want.

1 Answer

Andrew Shook
Andrew Shook
31,709 Points

Robert, I don't think there are any videos here on treehouse that cover making user account with vanilla PHP and MySQL. What are you trying to create user accounts for?

I want to learn how to make a dynamic user website like a social network. I want to learn this not so much to build one but to see how the whole process works to use various parts in my projects.

BTW: What is vanilla php?

Andrew Shook
Andrew Shook
31,709 Points

Yeah there isn't anything here on treehouse that goes over building something like that from scratch. built a social networking site using PHP and MySQL a few months back as an academic project. I have actually been thinking about making some videos about the code I used and posting them on youtube because a lot of people here on the forums have asked similar questions to yours. If you want I could put some of my code on my GItHub and link it. I should warn you though, it's all OO PHP and a little dense.

Yeah that would be great :) I have done a little bit of oophp so I may understand some concepts but it would be nice to view some code. When you get around to posting the videos I would love for the link to watch them as well.

Thanks again

Andrew Shook
Andrew Shook
31,709 Points

I'm at work right now so I won't be able to put anything on my GitHub until I get home.

Andrew Shook
Andrew Shook
31,709 Points

When I say vanilla php I mean something that's hand coded and doesn't use a framework like WordPress or Laravel.

Andrew Shook
Andrew Shook
31,709 Points

You could always try the Laravel Basics course and make some functionality changes. Since you want to learn what's going on behind the scene this course might not be what you are looking for.