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

相关推荐
小陈工2 小时前
Python Web开发入门(十七):Vue.js与Python后端集成——让前后端真正“握手言和“
开发语言·前端·javascript·数据库·vue.js·人工智能·python
A__tao6 小时前
Elasticsearch Mapping 一键生成 Java 实体类(支持嵌套 + 自动过滤注释)
java·python·elasticsearch
研究点啥好呢6 小时前
Github热门项目推荐 | 创建你的像素风格!
c++·python·node.js·github·开源软件
迷藏4946 小时前
**发散创新:基于Rust实现的开源合规权限管理框架设计与实践**在现代软件架构中,**权限控制(RBAC)** 已成为保障
java·开发语言·python·rust·开源
明日清晨7 小时前
python扫码登录dy
开发语言·python
bazhange7 小时前
python如何像matlab一样使用向量化替代for循环
开发语言·python·matlab
人工干智能7 小时前
科普:python中你写的模块找不到了——`ModuleNotFoundError`
服务器·python
unicrom_深圳市由你创科技7 小时前
做虚拟示波器这种实时波形显示的上位机,用什么语言?
c++·python·c#
小敬爱吃饭7 小时前
Ragflow Docker部署及问题解决方案(界面为Welcome to nginx,ragflow上传文件失败,Docker中的ragflow-cpu-1一直重启)
人工智能·python·nginx·docker·语言模型·容器·数据挖掘
宸津-代码粉碎机7 小时前
Spring Boot 4.0虚拟线程实战调优技巧,最大化发挥并发优势
java·人工智能·spring boot·后端·python