Web Design and Web Development Forum

  1. #1
    Slim420's Avatar
    Join Date
    Aug 2007
    Location
    Arizona
    Posts
    49
    Rep Power
    0
  2. Slim420 is on a distinguished road
  3. Projects/Exercises for beginners?

    I was looking for some ideas for projects or exercises, to help me use some of the knowledge that I know. Any ideas anyone? If anyone knows of any good sites that have some exercises for beginners, please post them.





    Windows Problems: Reboot
    Linux Problems: Be root
    Reply With Quote Reply With Quote
  4. #2
    Join Date
    Dec 2005
    Posts
    1,819
    Rep Power
    8
  5. Umang is on a distinguished road
  6. Re: Projects/Exercises for beginners?

    Uh, for a beginner in PHP4? Or for more OOP in PHP5?
    I presume you mean PHP4, no other "fancy" stuff.
    Then you could try things like login/register scripts that with a setup (for the DB) and then a PM(private messages) feature.
    By this I mean a package that will make the tables in a db (as setup) then will allow you to make a site that lets people register, then login to their accounts and let them post messages to other users. They could have an inbox as well. Then try features like reply, forward, etc.
    I'm off to sigcont.com
    Reply With Quote Reply With Quote
  7. #3
    Slim420's Avatar
    Join Date
    Aug 2007
    Location
    Arizona
    Posts
    49
    Rep Power
    0
  8. Slim420 is on a distinguished road
  9. Re: Projects/Exercises for beginners?

    That's a pretty good Idea, kind of like a real simple message board (or messaging system). I'm not completely sure how to do all of that, but I'm sure if I get stumped you guys will be the first to know!!!

    On that note, let's say I wanted to make a page in a "wiki" format (click a link/button edit the main body of a page and save it). How would I go about doing that? I figure that I'll need a template that includes a file for the main body, in the main body I would need an edit script that would have to create a temp page with a text area (including all of the text in the main body), a library for the wiki code (if I decide to use any), then a text parser that will write to the new file and delete the temp file, or vice-versa if I decide to use the temp file instead of the old file.....

    Any ideas? Please only post psuedo-code so that I can figure out how to code it myself (if I need help I'll post of course), instead of posting actual code to use. Thanks in advance for any help.





    Windows Problems: Reboot
    Linux Problems: Be root
    Reply With Quote Reply With Quote
  10. #4
    Join Date
    Apr 2006
    Location
    Texas, USA
    Age
    19
    Posts
    1,643
    Rep Power
    8
  11. ddreier is on a distinguished road
  12. Re: Projects/Exercises for beginners?

    To do something like edit a page, I'd load the contents into a large textbox, then have a save button that updates the file.

    Keep in mind, I'd only do that for me, not anyone else as that is a really easy way to have a site break. I had a script laying around that did just this, but I don't think I have it anymore, I'll look though.

    EDIT: Sorry, couldn't find it.
    Last edited by ddreier; 09-11-2007 at 08:37 PM.

    Cool new programming forum: Sigcont.com

    If you're going to post code, please use [code][/code] tags!
    ddreier.com
    WooHoo!
    Reply With Quote Reply With Quote