Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 07-15-2005, 08:53 PM How to make a CMS
comic's Avatar
Junior Talker

Posts: 1
Trades: 0
I thinking about making my own CMS, so I was wondering about how or where I could get infomation of how to make or start programming the CMS from scratch?
comic is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-15-2005, 09:24 PM
Experienced Talker

Posts: 47
Trades: 0
This is something I found
It may not be the best but its useful
http://www.intranetjournal.com/php-cms/
Synchronize is offline
Reply With Quote
View Public Profile
 
Old 07-15-2005, 09:30 PM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
This is definatly not an easy undertaking. It involves puting a lot of theory to practice and I have thought about this on several occasions.

You first want to define the goals of your CMS, will it be a general purpose/community centric CMS or one designed for a tight niche?
Next you want to plan your CMS using something like a flow chart planning out the dissemination(sp?) of information through each layer.

The basic layers you will need will generaly be as follows...

The Core/Kernel: This layer will facilitate all communication between the layers. A good thing to look into when planning your core would be design patterns, in particular the factory pattern.

The Database: You will want this to be a persistent object (again read up on design patterns). You will want this layer to return data in a standard format that all your layers will be able to decipher (perhaps an array in a predictable format).

Templates: Think through your template engine very well, this is the area where most people unfortunatly get it very very wrong. A complete abstraction of business logic (no this does not mean all programming logic) and design logic is not a bad thing as some think. If you plan on distributing your CMS consider using a widely known and familiar template engine like Smarty. The overhead is worth it, trust me.

The Modules: This is the area that gives me the most trouble as trying to figure out the best way to handle hooks and psuedo events is rather difficult for my mind to process. Basically you want to create a generic object that will take a wide array of data through a very narrow (or several narrow), predictable interface. This way others can write applications to interface with your CMS in a structured and predictable manner.

Thats the basics of it, ofcourse putting it to good use is always very difficult. However I have been meaning to do something similiar (create some core classes for all my applications) and this could be very beneficial for me as well. What kind of experience with PHP and MySQL do you have? Would you be willing to make the application GPL and work with a team?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Old 07-17-2005, 04:52 AM
asm
Extreme Talker

Posts: 217
Location: UK.Lancashire(true)
Trades: 0
I think the key part here is, what do you want to do with it? If you simply want to be able to edit your pages remotely then you can probably write one in a few hours and the build on it as you discover different things that you would like to do with it. If you want other things such as complete database admin then you should without doubt design it. I wrote one for a company that allows them to edit the text on their site and it took me for days. This was basic but the end goal was more than fulfilled. Again the key is what do you want to do with it.
asm is offline
Reply With Quote
View Public Profile Visit asm's homepage!
 
Old 07-17-2005, 06:17 AM
Bon Bon's Avatar
Average Talker

Posts: 27
Location: Middlesbrough, England, UK
Trades: 0
What do you want your CMS to do? I have been building one from scratch by myself since February this year and I have learnt a lot in the time and if I started again I would have done things differently.

You can check it out to see what you think of it at http://matthewbonner.homeip.net/ and it might make you rethink whether you want to write your own because it does take a long time.
__________________
Matt
Bon Bon is offline
Reply With Quote
View Public Profile Visit Bon Bon's homepage!
 
Old 07-17-2005, 11:56 AM Take a look at this one - WebSiteAdmin
Junior Talker

Posts: 3
Trades: 0
If you have a minute, take a look at this CMS - WebSiteAdmin.
This is the best CMS I've ever worked with, so I am sure it could be useful for you to get some fresh ideas how to make yours better.
You may visit demo on websiteadmin.biz
anton123 is offline
Reply With Quote
View Public Profile Visit anton123's homepage!
 
Reply     « Reply to How to make a CMS
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25677 seconds with 12 queries