Warning: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in ..../includes/class_bbcode.php on line 2083
Building a CMS
Page 1 of 2 12 LastLast
Results 1 to 15 of 18

Thread: Building a CMS

  1. #1
    Senior Member agua's Avatar
    Join Date
    Sep 2005
    Location
    Pottsville, NSW
    Posts
    531

    Building a CMS

    OK - I'm going to bite the bullet and build my own CMS as most of the ones I have used never fully meet my needs. I have 3 questions to start with, all outlined below.

    1 - What features would you include, have you included in your CMS?

    2 - I am pretty much starting from scratch - I mean I can do php includes but the rest is beyond me - so I was going to use the "Build Your Own Daabase Driven Website" from Sitepoint - is this recommended?

    3 - I also have worked with many template systems over the years and would like to create a simple one for my CMS. By simple I mean where you place tags like this in your design {nav}, {content} - where do I find out about creating a template system?

    Thats it for now - thanks for your time.
    I Do Website Design - but I am here to learn all about publishing

  2. #2
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,055
    I think this might be too big of a bite for you if you can only do PHP includes now.
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  3. #3
    Senior Member agua's Avatar
    Join Date
    Sep 2005
    Location
    Pottsville, NSW
    Posts
    531
    ok... where should I start then - what type of thing should I build to learn?
    I Do Website Design - but I am here to learn all about publishing

  4. #4
    4x4
    Join Date
    Oct 2004
    Posts
    1,043
    This has also been covered... just search I think I talked about this, and someone else and Chris.

  5. #5
    Working. Masetek's Avatar
    Join Date
    Aug 2005
    Location
    Aust
    Posts
    543
    Following a book would probably be easiest, I dont have that sitepoint book so I cant comment.

    Forms would probably be a good start, learning how to manage form data and understanding how they work.

  6. #6
    I know nothing about building my own CMS...but have you looked at TextPattern? It does a lot of things.

  7. #7
    Registered
    Join Date
    Oct 2005
    Posts
    105
    Quote Originally Posted by deronsizemore
    I know nothing about building my own CMS...but have you looked at TextPattern? It does a lot of things.
    Yes, I think you should also go through this site for textpattern reviews. http://www.opensourcecms.com/index.p...d=177&Itemid=0
    Outsourced Hosting Support || Server Management || Web Development
    Phone : 408-512-1759 || AIM : support24by7 || MSN : sales@eTechSupport.net
    24x7 Dedicated Web Hosting Support

  8. #8
    Senior Member agua's Avatar
    Join Date
    Sep 2005
    Location
    Pottsville, NSW
    Posts
    531
    Thanks for the replies

    I still think I am going to go throught the book - it can only increase my php knowledge - even if I cannot use my cms in production for a few months. I have coded a mail return form before (It even had a file attachment - which was, still is a major acheivement for me!!!!), so I suppose I was been harsh on myself saying I can only do php includes - but looking at what is possible with php - its seems pretty daunting.

    I know the topic had been covered before and had seen the posts, but I wanted to through it out again to people to see if things had changed, or maybe someone new has used a different ideas - this is also why I purposely ommited the features which I was planning to include - so it didn't .

    I have looked at textpattern - and used it on several occasions - and like it very much - but I think that it would be easier to work with something which I have built - using only the features I need.

    Off topic -do you know how to display meta tags on pages with a sticky article in textpattern?
    I Do Website Design - but I am here to learn all about publishing

  9. #9
    Not that blue at all Blue Cat Buxton's Avatar
    Join Date
    May 2004
    Location
    UK
    Posts
    932
    I started learning PHP with the free download chapters from the sitepoint book, and they stood me in good stead.

    Undertaking a project is a great way to learn a programming language, but you will probably need to break it down into very little steps. Spend a lot of time planning (both the CMS site and the database structure) otherwise you will get so far though and wish you had done something / a lot differently.

  10. #10
    Working. Masetek's Avatar
    Join Date
    Aug 2005
    Location
    Aust
    Posts
    543
    Quote Originally Posted by Blue Cat Buxton
    Undertaking a project is a great way to learn a programming language
    So true. And in neary every job you undertake there's something that you need by don't know how to do - its a great learning experience.

    Like Blue Cat said, there's also alot of planning involved. You can start on your cms by writing down every function and tool you want it to have. Think about the page structure and what you would like to have on each page. Think of user friendly ways to do things. Think about if you would want it to be able to handle multiple sites. There's so many things to think about. Its better if you plan it now and get your ideas down on paper and get a solid picture in your head of what you want.

  11. #11
    Quote Originally Posted by agua
    Thanks for the replies

    I still think I am going to go throught the book - it can only increase my php knowledge - even if I cannot use my cms in production for a few months. I have coded a mail return form before (It even had a file attachment - which was, still is a major acheivement for me!!!!), so I suppose I was been harsh on myself saying I can only do php includes - but looking at what is possible with php - its seems pretty daunting.

    I know the topic had been covered before and had seen the posts, but I wanted to through it out again to people to see if things had changed, or maybe someone new has used a different ideas - this is also why I purposely ommited the features which I was planning to include - so it didn't .

    I have looked at textpattern - and used it on several occasions - and like it very much - but I think that it would be easier to work with something which I have built - using only the features I need.

    Off topic -do you know how to display meta tags on pages with a sticky article in textpattern?

    Maybe I'm confused on what you're asking, but wouldn't you just place the Meta Tags in the HTML of whatever page you have your sticky article on?

    I actually have the PHP/MySQL Build your own database driven site book from SitePoint. Just a little heads up, they don't exactly go through a lot of steps to creating a CMS. Keep in mind here, I'm just starting the book myself but have looked through to the next couple chapters, when I looked ahead to the chapter about the CMS, they give you a very basic example of creating, adding, and deleting jokes from the database, and more or less expect you to build upon that for your own needs. The book really doesn't cover CMS's a lot (about 40 pages or so out of 300). It looks to me like they give you some techniques in each chapter you could use toward making a CMS, but the book is mainly about just making your site database driven rather then static content.

    Whether or not they are useful to you or not, here are some links I've picked up along the way about building a customer CMS.

    1. http://www.php-mysql-tutorial.com/cms-php-mysql.php
    2. http://www.interspire.com/whitepaper...PHP%20or%20ASP (sorry this link looks to have changed some. At one time it was about building a CMS, but you still might find some articles about CMS's there if you search, don't know?)
    Last edited by deronsizemore; 01-17-2006 at 08:14 AM.

  12. #12
    Registered
    Join Date
    Jan 2006
    Location
    Italy/Thailand
    Posts
    27
    I'm not really what you'd call an expert programmer even though I developed quite a bit of actionscript stuff ,I'm learning PHP right now, anyway if you are a "learn by watching" guy, check this great vid out http://toptentshirts.com/php-guide/php-guide.php
    it shortened my learning curve big time.

    Hope it helps

  13. #13
    Registered
    Join Date
    Jan 2005
    Posts
    87
    I have been working on a simple CMS, and masetek brought up the idea (in another thread) of creating a CMS to manage all of your sites. When he said this I envisioned something like a dashboard, where each site would be managed from a central control panel, with a central DB for management settings. I thought this was an interesting idea that I didn't think about when I did mine.

    Was that your idea masetek? Any suggestions or thoughts? I thought it would be nice to manage everything from one application but would it cause problems in the long run?

  14. #14
    Senior Member agua's Avatar
    Join Date
    Sep 2005
    Location
    Pottsville, NSW
    Posts
    531
    Great advice - its sounds a little like designing brochures and magazines (which I used to do) - everything has to be totally planned out before you even go near a computer to get creative - from the overall schematic to individual pages.

    Great links also - especially the video tutorials - some of the best I've seen - mostof the other I have already.

    Maybe I'm confused on what you're asking, but wouldn't you just place the Meta Tags in the HTML of whatever page you have your sticky article on?
    deronsizemore - that is what you would do normally - but if you have more articles in the section and they have their own meta data - then you end up with 2 sets of meta tags... I don't think this is good - still I'm sure there is a work around - but that brings me back to why I want to make my own cms

    Its all swings and roundabouts.
    I Do Website Design - but I am here to learn all about publishing

  15. #15
    Sean
    Join Date
    Nov 2005
    Posts
    139
    Quote Originally Posted by agua
    deronsizemore - that is what you would do normally - but if you have more articles in the section and they have their own meta data - then you end up with 2 sets of meta tags... I don't think this is good - still I'm sure there is a work around - but that brings me back to why I want to make my own cms
    I've never used textpattern, so I don't really know if this is what you're talking about (Ignore this post if it isn't).

    But, if you mean like having different meta data for different articles shown from the same file (i.e. articles.php?article1 and articles.php?article2 or articles/article1 and articles/article2 if SEOed URLs), then what I would do is have a column the the articles database for meta description or keywords etc. Then just get the info from the database and assign a variable to it and use it like:

    HTML Code:
    <META name="description" content="<? print($metadescription); ?>">
    <META name="keywords" content="<? print($metakeywords); ?>">
    Again, ignore this if it wasn't what you were looking for. heh

Similar Threads

  1. building a site for making frends, what program should i take?
    By tommy_sir in forum Website Programming & Databases
    Replies: 4
    Last Post: 10-18-2005, 07:41 AM
  2. Lease or buy a building for a new business
    By chloe in forum Business and Legal Issues
    Replies: 6
    Last Post: 09-07-2005, 07:17 AM
  3. Link Building has no more effect ?
    By BeautifulMind in forum Search Engine Optimization
    Replies: 5
    Last Post: 07-04-2005, 08:37 PM
  4. Building a Public Relations Database
    By Cloughie in forum General Promotion
    Replies: 2
    Last Post: 12-16-2004, 09:17 PM
  5. CMS Building Script
    By cameron in forum Website Programming & Databases
    Replies: 10
    Last Post: 02-04-2004, 01:54 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •