CS50x 2023 - Lecture 9 - Flask

preview_player
Показать описание
***

This is CS50, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming.

***

TABLE OF CONTENTS

00:00:00 - Introduction
00:01:12 - Flask
00:27:35 - Forms
00:34:19 - Templates
00:43:58 - Request Methods
00:55:31 - Frosh IMs
01:32:17 - SQLite and Python
01:44:36 - Cookies and Sessions
01:55:48 - Shopping Cart
02:04:30 - APIs

***

HOW TO SUBSCRIBE

HOW TO TAKE CS50

HOW TO JOIN CS50 COMMUNITIES

HOW TO FOLLOW DAVID J. MALAN

***

CS50 SHOP

***

LICENSE

CC BY-NC-SA 4.0
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License

David J. Malan
Рекомендации по теме
Комментарии
Автор

As many have said - thank you david (and the cs50 staff) for producing and distributing such high quality lectures for everyone to enjoy.
We all cannot thank you enough!

sudoCompetence
Автор

I can't believe the possibilities of today's age. I grew up in a 3rd world country and not even sure if we have this kind of caliber instructor. But now, we can just watch and learn from one of the greatest professor from Harvard - for FREE! We can't thank you enough - to everyone who organized this - for making this lecture.

Pirate_Nika
Автор

David went full David in this lecture. Greatest prof.

Whatdisayptand
Автор

10 weeks in and I am still astounded at how well taught this course is

typehint
Автор

If you are confused about the bug David didnt notice at 59:03 (The page says Hello, world even though David has written his name in the submission form), he explainst it at 1:05:48 .
Hope it helps to others that were confused like I was :)

MarkoRely
Автор

omg I love this lecture.
Its so fast and non repeating. Goosebumps!

I've worked in the industry for over 7 years. When watching tutorials on new frameworks and such, they always repeat the basics to death and/or drag the whole presentation out with "eehhms", slow pronunciations and crawling progress.
This guy just blazes through it.

RocketLR
Автор

What I've searched, read throughout the years and piecing things together could have be done simply by watching a 2 hours video. Fantastic video!!! ✅

tankUpp
Автор

He taught me Flask better in 2 hours than my professor did in a whole month.

exi_sfx
Автор

Whole Web staff in one lecture! Amazing!

chuhaoliu
Автор

Wow, once again it has been a master class... Thank you David, your way of teaching is inspiring... With you high quality education is safe... 💯

Jairo-Arevalo-Rea
Автор

This is more than teaching, to me, this is a very good form of philanthropy

elviskinoti
Автор

I love the transparency with the error resolution process. It proves that no programmer produces 100% error-free code all of the time, something that students rely need to get hammered into their heads. I watched an NDC talk by Daniel Beatles titled "Failure is an Option." The title alone should give listeners a good idea of how seasoned programmers view bugs.

andso
Автор

Bug at 47:03 ("hello, world" vs "hello, David" is explained at 53:44.
With 'get' method, use 'request.args.get'. With 'post' method, use 'request.form.get' instead

lukegaillard
Автор

I've worked as a WEB developer for 50 years, this lecture is amazing, I understood everything, such a good teaching and lecturer, a breeze to watch.

jon
Автор

Thank you Dr/ David you are the best for me

worktrues
Автор

01:41:00 where you had the error. Thanks for keeping that in lecture to tech us how to trace back our errors and solve them.

01:56:30 A good info for skipping repetitive required info when applying for jobs like name and phone number that are in the CV :)

AbdassalamAhmad
Автор

Дуже гарна лекція. Мені подобається, як Ви викладаєте.

gmohhzk
Автор

More info on the error @1:46:02: 🤓

On the name attribute of the select element:
"The name attribute is needed to reference the form data after the form is submitted (if you omit the name attribute, no data from the drop-down list will be submitted)." - W3schools

dakoderii
Автор

Came here after many years of studying/working in this field. This lecture is great, but I promise you, you DON'T NEED TO PAY a university to teach you this. I learned this and MUCH more by myself, using youtube tutorials and free PDF's.

zedcodes
Автор

I watch this lecture 3 times and 1:05:00 always gets me out guard 😂😂

chadrugal