- 0.html-css-scss
- 1. Git
- 2.Python
- 3. Django
- 4.SQL, Models, and Migrations
- 5.JavaScript
- 6.User Interfaces
- 7.Testing, CI/CD
- 8.Scalability and Security
This course picks up where CS50x leaves off, diving more deeply into the design and implementation of web apps with Python, JavaScript, and SQL using frameworks like Django, React, and Bootstrap. Topics include database design, scalability, security, and user experience. Through hands-on projects, students learn to write and use APIs, create interactive UIs, and leverage cloud services like GitHub and Heroku. By semester’s end, students emerge with knowledge and experience in principles, languages, and tools that empower them to design and deploy applications on the Internet.
来源:https://cs50.harvard.edu/web/2020/
笔记:
笔记: Git的简单使用
这部分主要介绍了python的基本语法,将实例代码敲完基本就能将python的语法掌握了。
Data stractures
- list - sequences of mutable values //列表可以改变[]
- tuple - sequence of immutable values //元组不可改变()
- set - collection of unique values //集合不可以重复()
- dict - collection of key-value pairs // 字典键值对{}
# define a list of names
names = ["harry","Ron","heri","Ginny"]
# define a dic
houses = {"harry":"Gry","Draco":"Sly"}
houses['Herminoe'] = "Gry"
coordinateX = 10.0
coordinateY = 20.0
coordinate = (10.0,20,0)
#即相当于直接可以用一个变量来代表两个变量
#create an empty set
s = set()
# add elements
s.add(1)
s.add(2)
s.add(3)
s.add(4)
s.add(4)
s.remove(1)
print(s) // 234
笔记:
仅使用html和css创建的网页是静态网页,每次访问都是相同的网页; 动态网页则是动态生成html、css以及允许web应用程序的响应,比如评论留言功能