1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

PHP: Real World OOP with PHP and MySQL

  1. Clicks today:
    0
  2. Clicks this month:
    0
  3. Overall rating:
    4.67/5


Comments

avatarellisgl almost 9 years ago

It's a ok tutorial, but it's lacking some stuff.

1.) It needs to use the new link argument of mysql_connect so it can do multiple database connection.

2.) It needs a Query method so you can just use hand written queries.

3.) Typos in the tutorial, i.e. "<?php;"

4.) Some really simple and basic optimizations are missing. IE. $i++ should be ++$i, the use of count() inside the arguments of a for loop is slow. output count to a variable and use that in the argument.

5.) Might want to do it as an interface. http://www.developer.com/lang/php/article.php/3604111

Your Comment

You must be logged in to post a comment.