Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 09, 2016, 11:06:00 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Creating a PHP-Based Content Management System - nice big tutorial  (Read 5030 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,431
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
http://www.intranetjournal.com/php-cms/

Quote
For six months in 2004, Intranet Journal's Peter Zeidman published a tutorial on using the PHP programming language to build a content management system (CMS).
Writing your own CMS can lead to a solution that is better suited to your requirements, better addresses the needs of your users, and is better understood by your development team. If you have the time and expertise to write your own in-house system, it may well prove the better option.
Part 1 of the series begins with a look at the overall plan for the CMS, and a look at PHP and the concept of object-oriented programming.
Part 2 takes a look at the basic PHP code that will power the CMS.
Part 3 examines the creation of the database and the database connector.
Part 4 explores validation, and the creation of a validator class and the creation of sections for the content that needs to be managed.
Part 5 introduces security to the content management system, and shows how to create a system that is accessible only to those with authorization to access it. It also takes a look at creating a log-in for users.
Part 6 discusses layouts for the content, templating systems, and talks about possible add-ons and features that can enhance your PHP-based content management system.




[link from del.icio.us]

Rover

  • Master of Smilies
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 630
    • View Profile
    • Donate to Member
Re: Creating a PHP-Based Content Management System - nice big tutorial
« Reply #1 on: March 13, 2006, 10:07:02 AM »
While I am a fan or roll-your-own software, there are some times when it doesn't make a lot of sense.  CMS is one of those.  There are so many open source options that you should be able to find a really close fit and modify it.  See http://www.opensourcecms.org for long list with links and demos of everything.
Insert Brilliant Sig line here

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,431
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Creating a PHP-Based Content Management System - nice big tutorial
« Reply #2 on: March 13, 2006, 10:10:57 AM »
i would tend to agree with you - with the exception that making a cms seems like a really really fun programming project (which may explain why there are so many).

Rover

  • Master of Smilies
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 630
    • View Profile
    • Donate to Member
Re: Creating a PHP-Based Content Management System - nice big tutorial
« Reply #3 on: March 13, 2006, 10:15:22 AM »
Well if you're going to count fun all bets are off  ;D

I was actually thinking from a business perspective, but you make a great point.  A CMS is a really good way to learn and it has a lot of "programmer feel good" which makes it fun.  Sort of like software development stage 1 where a programmer has a problem then writes a tool to help.  It's cool when you see your tedious workload reduced by something you've written.  :Thmbsup:
Insert Brilliant Sig line here

allen

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,192
    • View Profile
    • Donate to Member
Re: Creating a PHP-Based Content Management System - nice big tutorial
« Reply #4 on: March 15, 2006, 10:49:16 AM »
It would be a great project for beginners, as a CMS is generally a fairly logical, straight forward system to assemble.  Basic features present nothing terribly complicated and it would be a good exercise in learning database connectivity as well as basic text parsing.  They'd either modularize it or learn quickly they should have :) A modular system would be easy to add later more advanced stuff to.

I rolled a CMS, once upon a time -- the intent was to build something that was free of any database -- all flat file based storage for the purpose of portability.  It worked well enough, but not being a consistent blogger I found the software got more attention than the actual use of it and abandoned it altogether :)

tinyvillager

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 444
    • View Profile
    • Donate to Member
Re: Creating a PHP-Based Content Management System - nice big tutorial
« Reply #5 on: March 15, 2006, 11:38:14 AM »

  Code Igniter might fit into this catagory. http://www.codeigniter.com/
It's from one of the developers of pmachine.He has a couple of tutorial videos where he outlines the
backbone of a blog. http://www.codeigniter.com/watch/

 Don't no,never used it,but it looks interesting :)