CGI Design Process
Results 1 to 7 of 7

Thread: CGI Design Process

  1. #1
    Senior Member
    Join Date
    Jan 2004
    Posts
    199

    CGI Design Process

    Does anyone know if there is a recommended design process to building CGI (e.g PHP) scripts ?
    -

  2. #2
    T̙͓̞̣̯ͦͭͅͅȂͧͭͧ̏̈͏̖̖Z̿ ͆̎̄
    Join Date
    Dec 2004
    Posts
    3,171
    Hi mikester2,

    Are you trying to build your own search engine? Or...can you clarify what you are trying to do?

    Eg

  3. #3
    Senior Member
    Join Date
    Jan 2004
    Posts
    199
    I'm just interesting in learning and building a few simple php systems at the moment (e.g guestbook, simple forum) and i was wondering if their is any documented way to help design such scripts. At the upper level, sort of like UML is used in OO design.
    -

  4. #4
    T̙͓̞̣̯ͦͭͅͅȂͧͭͧ̏̈͏̖̖Z̿ ͆̎̄
    Join Date
    Dec 2004
    Posts
    3,171
    Hi mikester2,

    http://www.sephiroth.it/tutorials/flashPHP/IWE_GB/
    create a guestbook - flash, php & mysql

    http://www.beginnersphp.co.uk/createagb.php
    create a guestbook

    http://www.andrewkendall.com/pages/l...book/index.php
    Andrew Kendall - PHP Guestbook Tutorial

    http://www.webthang.co.uk/tuts/tuts_ud4/gbook/gb1.asp
    WebThang Tutorials:Build a Guest Book with UltraDev: by Mike Fear

    http://www.codeproject.com/aspnet/
    The Code Project - Free Source Code and Tutorials

    Eg

  5. #5
    Elite Hacker
    Join Date
    Mar 2003
    Posts
    1,407
    Definitely try and do it modularly. Most things you will be doing in a forum or something you can reuse. So make a class for anything that you think might be useful for other stuff so that you can reuse it. For example you'll probably want to make an input sanitization class to make sure the users aren't trying to do any sql injection or xss. As for actual ways of coding, I'm not really sure, code however you want. I don't really go by any standard, I just go by how I think to do things. That may be bad, but it works for me. I think what I was saying about separating things into modules will be one of the better things you can try and do. Also, look at examples. That helps a lot too. Good luck. It's always nice to see people building their own things.

  6. #6
    Senior Member
    Join Date
    Jan 2004
    Posts
    199
    Thanks alot for all of your replies
    -

  7. #7
    Senior Member
    Join Date
    Feb 2005
    Posts
    150
    Yeah another good link for free php scripts is, www.phpbb.com . My friend used one for his website and the forum looks really really good, with all kinds of options.

Posting Permissions

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

 Security News

     Patches

       Security Trends

         How-To

           Buying Guides