Make own CMS???

They have: 47 posts

Joined: Jul 2004

Hi!
Im working on a webmaster resource site and i thuaght it would be neat to use a CMS so its easy to update and so on. But i dont now how. I want to learn! Is there any good tutorials or can someone here help me? I DONT want to use PHP-nuke or something like that.

/Ben

He has: 1,380 posts

Joined: Feb 2002

Good choice!

First things first, do you know any programming languages? PHP would be suited best for your needs.

After that, what you're looking at is a database drive website, preferably using MySQL, with a different table per page. Depending on your needs, you could have as few fields per table as "header" "body".

Each page will have to have a connection to this database, or a cached page, so the information will get displayed.

As far as the CMS, what you need is an "admin" area, which might work as follows:
1st Page: Displays a list box with all the pages to be edited, and a "next" button
2nd Page: After choosing the page to edit, it grabs the data, puts it in the textboxes and areas, for editing. Press "Finish" to submit.

After all, it's really all up to you. I hope I was helpful.

They have: 47 posts

Joined: Jul 2004

I only know a little PHP but i can learn more if i need.

He has: 1,380 posts

Joined: Feb 2002

Do you know any other languages? ColdFusion? ASP? Perl/CGI?

They have: 47 posts

Joined: Jul 2004

no. Maybe i can learn if i need?

He has: 1,380 posts

Joined: Feb 2002

Definitely. Learning is always a start Wink

Ok, you're gonna wanna to start with:
Building Db Driven Websites

It will give you an idea of how to build the site, and create the CMS.

Troy1960's picture

They have: 152 posts

Joined: Sep 2004

Not knocking learning one bit but if you look at Hotscripts.com there are 510 CMS scripts. You might be able to get away using one of those.

He has: 5 posts

Joined: Oct 2004

Quote: You might be able to get away using one of those.

Plus, you can take a look at how they did it and learn from that too! Books that definately helped just looking on my shelf at a few right now:

PHP/Mysql for Dummies: Janet Valade
Matt Zandstra's Teach Yourself PHP in 24 hrs
Build Your Own DB site/Php Anthology - all from sitepoint.com

Good luck!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.