Results 1 to 13 of 13

Thread: Coding a PHP/MySQL CMS

  1. #1
    Registered
    Join Date
    Sep 2004
    Location
    Central Ohio
    Posts
    23

    Coding a PHP/MySQL CMS

    OK, so after starting and receiving comments on this thread, I have decided to code up my own CMS.

    I bought Kevin Yank's book and am trying to get started. From those of you that have done this before, what pointers can you give me? I just want to get a basic system together that I can reuse for several different sites. I also want it to be search engine optimized.

    What things should I have in mind as I begin? Tips, tricks, etc. appreciated.

  2. #2
    Registered Tim's Avatar
    Join Date
    Oct 2004
    Location
    Odessa, Ukraine
    Posts
    18
    Well.. My tip would be:

    Think 10 times over all aspects of the future system. Build a clear impression for yourself on what you want the final product to look like, write down some development and testing phases on paper, plan the whole thing, and then start developing.
    Nothing is perfect. Nothing will ever be perfect.
    There's always a way to improve. Don't waste time.
    Envisionext Adult Design | Adult Design Lite | Trade Show Design
    Style Does Matter!

  3. #3
    Not that blue at all Blue Cat Buxton's Avatar
    Join Date
    May 2004
    Location
    UK
    Posts
    932
    I agree with Tim.

    Time spent plannig isnt waisted time (however eager you may be to get cracking witht the coding).

    Map out your control panel screens and write down the database tables, fields and a mapping on how they are going to interact (if you are planning on more than one table).

    It takes much more time to make changes to add a function once you have started, than if you had planned for it from the start (speaks from bitter experience)

  4. #4
    Future AstonMartin driver r2d2's Avatar
    Join Date
    Dec 2003
    Location
    UK
    Posts
    1,608
    Echo Tim and Blue Cat, and would also say that when you are coding, remember to set your code out well and use comments etc.

    Definitely worth spending time planning. Decide what you want so you can code it first time, without having to go back and make changes, or worse still end up having to redesign whole parts of it to allow new features.

  5. #5
    Web Monkey MarkB's Avatar
    Join Date
    Nov 2003
    Location
    London, UK
    Posts
    1,783
    Make as many of your functions reusable as you can.

    Use a template system.
    Stepping On Wires - the new blog

  6. #6
    Gimme Fries with that!
    Join Date
    Aug 2004
    Posts
    1,469
    as somebody who wrote a very complex content management system ( www.moviesonline.ca ) my biggest sugggestion is before you start WRITE down what you are going to do keeping in mind search engines, easy cross referencing tables, and EASE of use.

    I initially spent about 2hours on my CMS but over the last 3 months of my sites life I have been continually expanding, tweaking and improving it.

  7. #7
    Registered
    Join Date
    Sep 2004
    Location
    Central Ohio
    Posts
    23
    What things should I keep in mind to make it search engine optimized?

  8. #8
    Future AstonMartin driver r2d2's Avatar
    Join Date
    Dec 2003
    Location
    UK
    Posts
    1,608
    For me, I made it possible to have URLs like '/article/keyword' rather than '/article/32' so you can get keywords in the URL and get the article from the db using the keyword(s), rather than an id number.

  9. #9
    Gimme Fries with that!
    Join Date
    Aug 2004
    Posts
    1,469
    i didnt worry too much about keywords in the url, i just make sure they are spider friendly.. but R2 is right in his ways.

  10. #10
    web designer Percept's Avatar
    Join Date
    May 2003
    Posts
    285
    Quote Originally Posted by Emancipator
    i didnt worry too much about keywords in the url, i just make sure they are spider friendly.. but R2 is right in his ways.
    Having the keywords in the url certainly is a plus so if possible, try to implement it.
    Percept | Webdesign | Desk02 | 7962154zz8x

  11. #11
    Registered
    Join Date
    Sep 2004
    Location
    Central Ohio
    Posts
    23
    What is needed specifically to make them spider friendly?

  12. #12
    Gimme Fries with that!
    Join Date
    Aug 2004
    Posts
    1,469
    try and limit your use of php variables. google can spider them but since i got rid of them my indexed content on google went from 2,000 pages to over 100,000 pages in 3months time. So go with nice clean urls, for example

    instead of this
    http://moviesonline.ca/details_news.php?id=1746

    use this
    http://moviesonline.ca/movienews_1746.html

  13. #13
    Registered
    Join Date
    Sep 2004
    Location
    Central Ohio
    Posts
    23
    Emancipator, I really like the look of your site, is that phpBB you are using for the forums?

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
  •