《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)

相关推荐
hummhumm11 分钟前
第 32 章 - Go语言 部署与运维
java·运维·开发语言·后端·python·sql·golang
大佬,救命!!!31 分钟前
Python编程整理汇总(基础汇总版)
开发语言·笔记·python·pycharm·学习方法·启发式算法
Python私教32 分钟前
Python 使用 Token 认证方案连接 Kubernetes (k8s) 的详细过程
开发语言·python·kubernetes
攻城狮_Dream33 分钟前
Python 版本的 2024详细代码
开发语言·python·pygame
卧式纯绿35 分钟前
自动驾驶3D目标检测综述(三)
人工智能·python·深度学习·目标检测·3d·cnn·自动驾驶
儒雅芝士42 分钟前
Ros2 操作指令记录
c++·python·机器人
晚风_END1 小时前
postgresql|数据库开发|python的psycopg2库按指定顺序批量执行SQL文件(可离线化部署)
服务器·开发语言·数据库·python·sql·postgresql·数据库开发
我要学编程(ಥ_ಥ)1 小时前
初始Python篇(7)—— 正则表达式
python·正则表达式
阿猿先森1 小时前
PyQt6+pyqtgraph折线图绘制显示
开发语言·python
CodeDevMaster1 小时前
Python办公自动化:用xlrd轻松读取Excel文件
python·excel