Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: Learning how to create PHP database driven sites online...

  1. #1
    Registered Member incka's Avatar
    Join Date
    Aug 2003
    Location
    Wakefield, UK, EU
    Posts
    3,801

    Cool Learning how to create PHP database driven sites online...

    Can someone please tell me a internet site which will quickly teach me how to create database driven PHP sites. I want to get off my lazy a*** just using HTML and start using PHP & MySQL.

    I want the simplest tutorial possible and that won't bother me about stuff I don't need like comments and time functions.

  2. #2
    Registered Mike's Avatar
    Join Date
    May 2003
    Location
    UK
    Posts
    2,755
    There's a few tutorials on sitepoint.com, and I also find phpbuilder.com quite useful.

    If you get stuck with anything ask me on msn and i'll try to help.
    Don't you just love free internet games ?

  3. #3
    Registered Member incka's Avatar
    Join Date
    Aug 2003
    Location
    Wakefield, UK, EU
    Posts
    3,801
    Thanks Mike

    I'll try to experiment a bit with it then I'm going to make Games2Go a PHP application so I can edit all the pages easily...

  4. #4
    Senior Member chromate's Avatar
    Join Date
    Aug 2003
    Location
    UK
    Posts
    2,348
    The first one I ever done was on webmonkey.com, I then moved on to PHPBuilder.

  5. #5
    Web Monkey MarkB's Avatar
    Join Date
    Nov 2003
    Location
    London, UK
    Posts
    1,783
    I created a (very simple) template engine once, based on vBulletin's (but nowhere near as sophisticated). I since lost it :'( But I'm rewriting it soon... when I'm done, I'll post it somewhere.
    Stepping On Wires - the new blog

  6. #6
    Registered Mike's Avatar
    Join Date
    May 2003
    Location
    UK
    Posts
    2,755
    I've heard the term template engine used before, but not quite sure what it means. Is it just a form where you enter the code and it produces the design around the content?

    Thanks,
    Mike
    Don't you just love free internet games ?

  7. #7
    Senior Member chromate's Avatar
    Join Date
    Aug 2003
    Location
    UK
    Posts
    2,348
    The idea is that the content is seperated form the code. So a designer could design a template and the programmer could just worry about the code.

    In reality it doesn't quite work like that, as it's often just as easy for a designer to learn basic PHP.

    Simple template system would be something like having a class called Page with functions: setHeader($content), setFooter($content), setContent($content) and a drawPage() function to render the page.

    I find that it's normally not worth the effort and plain includes work just as well. Can be useful in a more complex situation though.

  8. #8
    Registered Mike's Avatar
    Join Date
    May 2003
    Location
    UK
    Posts
    2,755
    They do sound a lot of work...thanks chromate
    Don't you just love free internet games ?

  9. #9
    mastermind michael_gersitz's Avatar
    Join Date
    Aug 2003
    Location
    Buffalo
    Posts
    749
    I am just starting to learn php...

    Some a basic thing I learned that helped me learn quicker.....


    name all your pages with a .php extension.... (you just can change all of your .html pages to .php)

    Then expirement using the echo command and many more...

  10. #10
    Freelance Web Designer KeithMcL's Avatar
    Join Date
    Aug 2003
    Location
    Dublin, Ireland
    Posts
    53
    I'm still learning PHP myself. I've purchased two books and downloaded one ebook so far. I believe the php.net manual itself can be of serious help.

    If you want to learn how to build a no-frills db driven website then Kevin Yanks book should do the job. www.sitepoint.com/books/

    Chances are you'll want to learn more once you get started so another book might be a better buy.

  11. #11
    Registered Mike's Avatar
    Join Date
    May 2003
    Location
    UK
    Posts
    2,755
    The PHP book reviewed here will be pretty good. I've got the other made by wrox, and have no complaints.
    Don't you just love free internet games ?

  12. #12
    Web Monkey MarkB's Avatar
    Join Date
    Nov 2003
    Location
    London, UK
    Posts
    1,783
    I find template engines are much better than having template files.

    You can call in various bits and pieces (say, login forms) to appear whereever you want. You can even use them as variables (how a user's name appears, user info, whatever), and call them where ever you wish them to appear on the page.

    And the good thing is, you can update it all without having to edit files and re-upload etc etc.
    Stepping On Wires - the new blog

  13. #13
    Senior Member chromate's Avatar
    Join Date
    Aug 2003
    Location
    UK
    Posts
    2,348
    The first PHP book I bought was, "PHP fast & easy web development" Very easy to follow. Great starting point.

  14. #14
    mastermind michael_gersitz's Avatar
    Join Date
    Aug 2003
    Location
    Buffalo
    Posts
    749
    The php book I got "PhP in easy Steps" it only cost $9.99 from B&N and is pretty good!

  15. #15
    Registered Member incka's Avatar
    Join Date
    Aug 2003
    Location
    Wakefield, UK, EU
    Posts
    3,801
    I created my first PHP/MySQL thing today...

    http://www.games2go.co.uk/jokestest.php


    Now all I need to learn is how to make it so it doesn't but all the data on one page, but only the one the user requested... I'm sure Mike can help me over MSN...

Similar Threads

  1. datafeed driven sites
    By Nick in forum Advertising & Affiliate Programs
    Replies: 2
    Last Post: 04-04-2004, 12:36 PM
  2. Database Driven Websites
    By star in forum Website Programming & Databases
    Replies: 6
    Last Post: 10-21-2003, 03:51 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
  •