Тёмный

PHP For Beginners, Ep 17 - PDO First Steps 

Laracasts
Подписаться 70 тыс.
Просмотров 21 тыс.
50% 1

The next step on our journey is to figure out how to connect to MySQL from PHP and execute a simple SELECT query. We'll of course reach for PHP Data Objects, or PDO, to orchestrate this task securely. Watch this full series at phpforbeginners....
Watch thousands of videos, track your progress, and participate in a massive Laravel community at Laracasts.com.
Laracasts: laracasts.com
Laracasts Twitter: / laracasts
Jeffrey Way Twitter: / jeffrey_way

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@wernerwessels5202
@wernerwessels5202 2 года назад
Jeffrey I have so much appreciation for the way you explain things. Being a proud paying member of Laracasts I which I had you on speed dial. You are such a great teacher. Please never stop doing the great work you are doing.
@Laracastsofficial
@Laracastsofficial 2 года назад
Thank you, Werner! I appreciate that. - Jeffrey
@shyamendrahazra3440
@shyamendrahazra3440 Месяц назад
I have come to realise I enjoy these videos so much more day by day that it flies away so fast
@nerminbosnjak1412
@nerminbosnjak1412 Год назад
I've been watching your tutorials from the time you have been in Envato team and I have to say I have never seen anyone explain programing concepts better than you. Please never stop teaching.
@datpmf
@datpmf Год назад
One of the aspects that makes Jeffery stand out is that he isn't afraid to make mistakes while making these videos - show how code tends to fail and explain why that happened as opposed to try to quickly make some perfect magic happen before your eyes like many youtube charlatans do. Couldn't recommend Jefferey and Laracasts more if you work or are learning PHP or web dev in general. Really valuable stuff.
@borakayalar
@borakayalar Год назад
Your style is perfect. I have watched many tutorials, no one is like you. I'm actually a medium full stack developer, watching the course to see if there's more simplicity. And I am aggree with other your subscribers please never stop. You ara doing good job.
@ronpalmer7260
@ronpalmer7260 Год назад
I'm loving this course. I spent 25 years in IT on the operations side, mostly as a business systems architect and have dabbled with php through wordpress for years. However, I have never been serious about really learning the language. Now in my semi-retirement, I want to get serious about programming and I love the level of detail you provide probably because it has a flair of architecture to it. Knowing how something works is important for me to be comfortable with it. Many programmers are happy simply to know that some string of code works and they aren't compelled to understand the architecture. There isn't anything wrong with that other than most of the programming training is a bit frustrating for me and I skip too much causing me to miss things and need to backtrack. I am very comfortable with all of the concepts you are discussing but find myself listening anyway because of the way you deliver the information. It is excellent for those who have no familiarity with it and it is interesting enough for people like me to pay attention and perhaps catch a detail that we hadn't known before. Great work.
@vusimdudu9033
@vusimdudu9033 2 года назад
Really like how you present this stuff. Thanks.
@Laracastsofficial
@Laracastsofficial Год назад
My pleasure!
@Radiosabines
@Radiosabines 2 года назад
Great way to learn PHP vanille , even if later we work with à framework like Laravel, it's very important to know what happens behind the scenes , THX
@104antony
@104antony 11 месяцев назад
Hello, great video. I am beginner in php and these videos helps me a lot. Have you placed the code in a repository on Github, by chance?
@jsjunior
@jsjunior Год назад
Hey Jeffrey! What is your PhpStorm theme?
@stranger9951
@stranger9951 Год назад
How many episodes will there be? And will there be projects at the end or along the tutorials?
@rustamergashev7278
@rustamergashev7278 3 месяца назад
👍
@grantsburke
@grantsburke 2 года назад
What database IDE are you using?
@asheaven1st
@asheaven1st 2 года назад
I think he use PHPStorm
@DougLopes
@DougLopes 2 года назад
@@asheaven1st or Table Plus if he is talking about the Database app
@AhmedMahmoud-n4f
@AhmedMahmoud-n4f 2 месяца назад
Fatal error: Uncaught PDOException: could not find driver in C:\Users\ahmed\Desktop\websites\demo\index.php:8 Stack trace: #0 C:\Users\ahmed\Desktop\websites\demo\index.php(8): PDO->__construct('mysql:host=loca...') #1 {main} thrown in C:\Users\ahmed\Desktop\websites\demo\index.php on line 8 || || v $pdo = new PDO("mysql:host=localhost;port=3306;dbname=myapp,user=root; password=123456;charset=utf8mb4");
@MrRicardosgeral
@MrRicardosgeral Год назад
What is the difference between -> and :: ?
@Laracastsofficial
@Laracastsofficial Год назад
:: is for calling a static method. -> for an instance method.
@yuriysemenikhin302
@yuriysemenikhin302 2 года назад
It's a nice explanation, but PDO was bad when it came out... And it's still bad today 🙅‍♂
@Laracastsofficial
@Laracastsofficial Год назад
It's all we have to work with haha.
@yuriysemenikhin302
@yuriysemenikhin302 Год назад
@@Laracastsofficial I wrote my own using mysqli extension 😜
@borakayalar
@borakayalar Год назад
@@yuriysemenikhin302 "eloquent orm" is out and everything has changed. Forgot to write "raw sql" :)
@yuriysemenikhin302
@yuriysemenikhin302 Год назад
@@borakayalar I generally work on systems that have more then 3 visitor per day 😛 Not a DB admin, but do understand a value of working directly with MySQL
Далее
PHP For Beginners, Ep 31 - Namespacing: What, Why, How
12:09
Using Generics with PHP
25:55
Просмотров 13 тыс.
BEWARE these Laravel attributes | Real World Laravel
19:10
PHP 8 3 Released
11:03
Просмотров 108 тыс.
PHP For Beginners, Ep 15 - Make a PHP Router
18:03
Просмотров 58 тыс.
PHP For Beginners, Ep 30 - Autoloading and Extraction
19:37
Microservices with Databases can be challenging...
20:52
PHP For Beginners, Ep 39 - Write Your First Middleware
22:05