Miscellaneous > Programming & Networking

Hand Coded CMS System

(1/2) > >>

yourlife:
I need some help with making a CMS system, I tried following the instructions at some blog I found: it failed.
I really want to be able to hand code it (or copy and past :P ) because I want to customize it EXACTLY to what I want/need.
Basically I need a CMS system that can add web pages into sections and have a basic user/group management with a PMS system as well and article comments. While keeping the admin area personalised as well.
I would also like it to integrate into a forum system (hand coded).
This is mainly because I want it to look exactly how I want it and work exactly how I want it.

PHP5, MySQL, XHTML 1.0 Strict.

7031:
If I was doing this, I'd just modify WordPress or another CMS that I like, just because of course, it will likely be damn secure. Saying that, if you know what you're doing then coding your own CMS is quite a good idea, just make sure you keep it closed source if you want it to remain secure :P.

Really what I would recommend though, is instead of following a whole tutorial on making a CMS, instead just have a look at tutorials for each of the PHP functions you need, then work out how you'll need them to be used in your CMS, and work from there.

piratePenguin:

--- Quote from: 7031 on  1 August 2010, 21:10 ---If I was doing this, I'd just modify WordPress or another CMS that I like, just because of course, it will likely be damn secure. Saying that, if you know what you're doing then coding your own CMS is quite a good idea, just make sure you keep it open source if you want it to remain secure :P.

--- End quote ---
Fixed  :P

Seriously, I find it hard to believe that you need to create your own - have you seen WordPress, Plone, Drupal? They are all extensible, it may be a better idea to make your own extensions - though I still bet you can just find the extensions you need already.

Kintaro:

--- Quote from: yourlife on  1 August 2010, 20:41 ---I need some help with making a CMS system, I tried following the instructions at some blog I found: it failed.
I really want to be able to hand code it (or copy and past :P ) because I want to customize it EXACTLY to what I want/need.
Basically I need a CMS system that can add web pages into sections and have a basic user/group management with a PMS system as well and article comments. While keeping the admin area personalised as well.
I would also like it to integrate into a forum system (hand coded).
This is mainly because I want it to look exactly how I want it and work exactly how I want it.

PHP5, MySQL, XHTML 1.0 Strict.

--- End quote ---

Drupal needs your help being a CMS system. Seriously, it is incredibly easy to get into and there are so many modules already for it you might be wasting time reinventing the wheel - but as a learning experience doing this from scratch could be incredibly beneficial. When developing an application, even a CMS, I find it easiest to design the tables for the database first before touching any PHP.

You might just have a simple table for pages, with two columns "UID" (int) and "post." (string)  And another simple table for users with columns like UID, Name, Email, Verified (BOOL).

Then comes the simple part, you make some classes and functions to access users and posts. You will want a class for users, posts, and another one or a function that shits out that perfect  XHTML.

The benefit of OO is you can expand it later so pages are simply made of one or more posts in a table called pages, with an object called pages. Then you actually have something similar to drupal.

Youngins' like ya'self usually struggle mainly on structure so I've given you some here. Enjoy your project and share it with us lad.

MSN: [email protected]

Kintaro:
Sorry, can't leave until you people learn to teach a man to fish at least. You all tell yourlife to give up. I started at this lads age and I intend on using this forum.

Navigation

[0] Message Index

[#] Next page

Go to full version