Home > Article > Operation and Maintenance > Wheat Academy Django personal blog system video material recommendation (source code, courseware)
There are many different web frameworks under Python. Django is the most representative of the heavyweight players. Many successful websites and apps are based on Django. Django is an open source web application framework written in Python. "Wheat Academy Django Personal Blog System Video Tutorial" takes you through creating a personal blog system.
Course playback address: http://www.php.cn/course/581.html
The teacher’s teaching style:
The teacher’s lectures are simple, clear, layer-by-layer analysis, interlocking, rigorous argumentation, rigorous structure, using the logical power of thinking to attract people Students' attention and rational control of the classroom teaching process. By listening to teachers' lectures, students not only learn knowledge, but also receive thinking training, and are also influenced and influenced by teachers' rigorous academic attitude.
The more difficult point in this video is the design and use of Model:
The mtv model is used in the django framework design, that is, Model, template, viewer
Compared with the traditional three-layer or mvc framework, viewer
Model is quite the data processing layer. It is mainly responsible for interacting with data. When using the django framework to design application systems, it should be noted that django uses the default It is the codefirst model in the ORM framework, which means that developers only need to focus on writing code without paying too much attention to things at the database level, freeing developers from the database
django will Generate a database image file based on the Model class, and then use the image file to generate the database. At the same time, the file will record the changes in the version synchronized with the database. Therefore, do not modify the database manually when using Django for development. This will cause the version of the Django framework to change. The record is incorrect, so the data model and database content cannot be correctly synchronizedHere we also recommend downloading source code resources:http://www.php.cn/xiazai/ learn/1863
The above is the detailed content of Wheat Academy Django personal blog system video material recommendation (source code, courseware). For more information, please follow other related articles on the PHP Chinese website!