0

I am exploring how CMS's in PHP work. I am talking about full-powered, fully developed CMS's like Drupal, Wordpress, and Joomla. What are the main components and systems that are incorporated into something like this.

For example; I know you will need a page loader to handle all page requests (direct all requests to index.php using the .htaccess file), you will need a database class, a templating class, and a hook system to provide user extendability. What else am I missing?

(Also, is there a book that explains the working components of a full-fledged CMS?)

4
  • 3
    Maybe creating a CMS from scratch while following a tutorial will help you understand all of the different components. PHP MVC Tutorial Commented Dec 1, 2011 at 3:47
  • Just out of curiousity and because I don't know how to send messages, what is your experience level? Why are you trying to make a CMS? There are some pretty good solutions out there. Commented Dec 1, 2011 at 3:48
  • I am relatively experienced with PHP. I understand OOP, inheritance, abstraction, and all that stuff. I am not trying to create a new CMS, rather adapt a plugin system for a photography website that can allow the client I am building it for to write plugins and use it. Commented Dec 2, 2011 at 1:36
  • However, if I do become very advanced in my PHP skills I may create a small CMS just for the experience Commented Dec 2, 2011 at 1:37

3 Answers 3

1

I'd second starting with something like Wordpress (not a real CMS I know) to get a feel for the sort of things you want your one to do. From there you could move up to Drupal or if you still feel the need to, look into building one in a framework (Codeigniter is a good one to start with).

Personally after a few years of rebuilding a CMS for each client I wish I'd got into Drupal quicker.

Sign up to request clarification or add additional context in comments.

Comments

1

Google MVC in PHP. There are plenty of frameworks off which to build such a tool. Although, I beg to differ on Wordpress. Wordpress is a blogging system, not what I would call a "fully-fleged" CMS.

I found this book.

And I would strongly recommend this book on building a CMS with the Zend Framework.

Another solid CMS to consider is Concrete5.

1 Comment

I hate wordpress, but I still have a wordpress blog. I agree though, not a CMS.
1

Just a quick shoutout for ez Publish. It is a rock solid PHP based CMS, some of the best code i've seen.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.