Added: 3 months ago
From: betterphp
Views: 1,037
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (16)

Sign In or Sign Up now to post a comment!
  • if anyone is willing to do a new facebook authenticate get user info and store in mysql it would be good...OR if anyone knows of any good reference or a tut please inbox me...thanks again

  • Dude, sorry but if you are using mysql_* functions in 2011 you are doing it wrong, ever heard of PDO? I'm not using PHP nowdays since I moved completly to python. But you are teaching WORST PRACTICES. No one should be using mysql_* stuff anymore unless for legacy reasons. PDO is the way so you have prepared statements - no more direct escaping of values and your own data sanitization. This is so wrong on so many levels :(

  • @ergo14 The reason is that PDO is much more complicated and these videos are meant to be aimed towards beginners. Using the mysql_ functions is not exactly bad practice. The code behind the mysql_ function has been updated since they were first added so it's not the same as using code from the 90s. Prepared statements are no different to escaping a string and using it in SQL. A proper discussion is impossible in youtube comments, it you want to talk about it more, post on the forum :)

  • @betterphp I'm not doing PHP for years now so i cant contribute too much. But you will make a lot better job if you teach proper OOP and PDO - even if its harder to start.

  • @ergo14 mysqli_ is also there, and if you're going to be using only an sql database is just as good as PDO for a site. As for "proper OOP" you're never going to get the level you would get in something like Java or even python.

  • @ergo14 Facebook was made with PHP so pls shut up !!!

  • @HowToDeveloper yeah and all flies eat shit - you should too. Do some reading on what facebook developers say about php - and how they regret they cant move their codebase to something else. Hell it was even easier for them to make their own flavour of php because the "normal" one was slow - hows thats for an answer? maybe its you who shut up instead ;-) At least you would sustain illussion that you are not incompetant.

  • @ergo14 Hey man I just can't get why you watch a tutorial and say that betterphp could do something better !!! Why did you came here because you're an expert ??? No you aren't betterphp is great in what he does ;) But sry that I said shut up to you ;)

  • @HowToDeveloper actually when i was still using PHP i had a signed CLA with Zend. But what do you know ;-)

  • @ergo14 ok.

  • these deserver way more views

  • I think in the title/description you should state what's in that part. For large projects, it'll get confusing.

  • Working fine now, thanks

  • Part 2 is coming up private

  • @dashbyictfd YouTube = bugyy.

  • Yeah, another video :) .

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more