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.
@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 ;)
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
misterdomination256 1 week ago in playlist php
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 3 months ago
@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 3 months ago
@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 3 months ago
@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.
darkmaster539 3 months ago
@ergo14 Facebook was made with PHP so pls shut up !!!
HowToDeveloper 2 weeks ago
@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 2 weeks ago
@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 2 weeks ago
@HowToDeveloper actually when i was still using PHP i had a signed CLA with Zend. But what do you know ;-)
ergo14 2 weeks ago
@ergo14 ok.
HowToDeveloper 2 weeks ago
these deserver way more views
br0ad456 3 months ago
I think in the title/description you should state what's in that part. For large projects, it'll get confusing.
JelvinJS7 3 months ago
Working fine now, thanks
dashbyictfd 3 months ago
Part 2 is coming up private
dashbyictfd 3 months ago
@dashbyictfd YouTube = bugyy.
betterphp 3 months ago 3
Yeah, another video :) .
Remi1115 3 months ago