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

Databases

Tjøl Ravndal
Tjøl Ravndal
3,717 Points

Make a login and membership system on a website

Hi! Im building a website for my sports club, and im finished with the front end part. The club also want a login system, where you can manage a membership system. I also want the possibility that admins that log in can write new posts, in the news feed (kinda like a blog post with title, image and text). So my question is: is there any easy ways to fix this? I am wondering if i should learn me PHP and connect the database to a SQL server, but that would take much time. Is there any easier ways to connect my website to a database?

Thanks for all help!

2 Answers

Ana Camelo
PLUS
Ana Camelo
Courses Plus Student 13,218 Points

Hi, @Tjøl Ravndal!

You could certainly do it yourself but it would be necessary to learn PHP and SQL, especially because after making it possible to store new members info, you need to make a lot of back-end validations. I agree with Jonathan when he says a good solution would be going with WordPress since you don't want to spend that much time on it, and could certainly reassure that you don't have any security issues in the future.

You can take some of the courses available here on WordPress to learn how to manipulate the front-end as you need, or look for a premium template that includes more specific features for what you need if you are really short on time.

Something that I learnt the hard way, was looking for solutions for the back-end first, and build the front end when you have a plan so you can make the most of your time.

Good luck with it, and let us know how the project goes! :)

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,252 Points

I don't know much beyond that you can use WordPress to do what you describe.

WordPress is a content management system. If you've finished the front and back end parts you can make these into a WordPress theme and add to a WordPress installation. Unfortunately there's no easy or fast way to learn this and WordPress is a topic in itself but it does provide the Framework to post and manage content as well as create website memberships! :-)