《Django 5 By Example》阅读笔记:p1-p16

《Django 5 By Example》学习第1天,p1-p16总结,总计16页。

一、技术总结

1.Django基本操作

(1)创建 project & 创建 app

python 复制代码
django-admin startproject mysite

django-admin startapp blog

(2)定义model

(3)启动项目

python 复制代码
python manage.py runserver

二、英语总结(生词:8)

1.fintech

abbreviation for financial technology: the business of using technology to offer financial services in new ways。

2.acquisition

He joined Backbase in 2023, following its acquisition of Nucoro, a digital wealth management platform that he co-founded.

之前一直记得"acquisition"是"the process of getting sth(获得)"的意思,今天又掌握了一个新的用法"the process of a company that is bought by another company(收购)"。

3.MSc

Antonio Melé holds an MSc in Computer Science from Universidad Pontificia Comillas and completed the Advanced Management Program at MIT Sloan.

(1)MSC: master(硕士) of science(理科)。

(2)Universidad:西班牙语,对应英语中的"university"。

(3)pontificia: 西班牙语,对应英语中的"pontificial".

(4)comillas:西班牙的一个城市。

总体而言,西班牙中的很多单词和英语中的单词接近。

4.incredible

I couldn't have done this without an incredible group of Python enthusiasts and experts who took the time to dive into the early versions of this book.

(1)incredible: in-("not") + credible。

(2)credible: cred-("believe, trust")。

5.penetration

He then branched out into DevOps, load testing, and securing applications for penetration testing.

(1)pentrate: pen-(go into, enter)。vi/vt. to move into sth.

penetration test意为"渗透测试"。

6.mentor

Over the years Mark has become a maintainer for several packages and a navigator of the Djangonaut space program, which aims to mentor developers who want to become contributors in the Django ecosystem.

在英语里,mentor, direct, guide常用于表示"指导",mentor倾向于"to help and give advice to a younger or less experienced person, especially in a job or at school"。

7.fledge

p1, Consider this chapter as your roadmap for constructing a fully-fledged Django application.

本意是:vi. (of a young bird)to grow feathers and learn to fly。比喻意义是:"fledge" is connected to growth, readiness, and the development of the feathers needed for flight。在这里"fully-fledged"可以理解为"完整的,完善的"。

8.chronological

(1)chronological: chronology + -ical(形容词后缀)。

adj. Chronological describes the arrangement of events in the order of their occurrence in time.

(2)chronology: choro-("time") + -logy("study/science")。study of time, science of time,年代学,年表。

三、其它

本人的工作方向为Python Web方向,想了解下今年该方向有哪些新书出版,紧跟行业发展。于是上packt出版社网站上看了看,发现这本书出版时间比较新(2024年9月),那就它了。

首次阅读下来的第一感觉就是作者有点啰嗦。举些例子:"This will offer you a solid introduction to Django's capabilities and functionalities."------这些话在我看来显得可有可无,去掉了对阅读完全没有影响。又如"Blogging is the perfect starting point to build a complete Django project, given its wide range of required features, from basic content management to advanced functionalities like commenting, post sharing, search, and post recommendations. "------作者用了很多形容词:perfect,wid,required等,如果为了吸引读者在序言中使用可以理解,但都已经开始coding了,属实无法理解。

Don't be concerned if some components or concepts appear unclear at first. The different framework components will be explored in detail throughout this book.如果一开始对一些组件的或者概念的讲解不清楚,请不要担心。因为对这些组件或者概念的详细探讨会贯穿整本书,可能看到后面就清楚了。------这句话很有道理,也是本人看书或者学习时经常使用的一种方法,一遍看不懂就看两遍,还是看不懂先往下看。在这里摘录出来送给大家。

四、参考资料

1. 编程

(1) Antonio Melé,《Django 5 By Example》:https://book.douban.com/subject/37007362/

2. 英语

(1) Etymology Dictionary:https://www.etymonline.com

(2) Cambridge Dictionary:https://dictionary.cambridge.org

欢迎搜索及关注:编程人(a_codists)

相关推荐
言乐64 小时前
HTML视频审核模型
python·django·virtualenv·pygame·tornado
言乐65 小时前
Python根据无法识别搜索词找出可能输入内容模型
开发语言·python·django·virtualenv·pygame
yl45306 小时前
硫酸泄露处理生产商怎么选才够专业
大数据·人工智能·python
笨笨饿6 小时前
140_AI新手村MCP与Skills是干嘛的
开发语言·人工智能·python·stm32·单片机·嵌入式硬件·物联网
for_ever_love__7 小时前
机器学习入门——手写线性回归与梯度下降
人工智能·python·学习·机器学习·线性回归
打工仔折腾 AI7 小时前
从 Demo 到生产级 Agent:8 个关键设计机制与 Python 实现拆解
java·jvm·人工智能·后端·python·langchain·ai agent 实战
I Am a robert girl7 小时前
当传感器学会“说谎“:拆解可靠性门控的稀疏惯性动捕融合
python·姿态估计·传感器融合·惯性动捕·imu传感器·可靠性门控·可穿戴计算
李航19838 小时前
AI定制柜建模,需要详细的建模规范和标准流程
人工智能·python·计算机视觉·ai·ai编程
沙漠之主8 小时前
Python 教学设计资料:从入门到实战的完整课程方案
爬虫·python
ebiobiz9 小时前
极海 APM32 使用 Nimmake 编译指南
c++·python·单片机·嵌入式硬件·mcu