Skip to content

Commit

Permalink
更新了大纲结构
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrued committed May 27, 2018
1 parent 95f78d2 commit 41b9856
Show file tree
Hide file tree
Showing 159 changed files with 161 additions and 21 deletions.
2 changes: 2 additions & 0 deletions Day16-20/Python进阶知识.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## Python进阶知识

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
4 changes: 0 additions & 4 deletions Day31-Day35/Django 2.x实战(05) - 会话及其应用.md

This file was deleted.

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -410,4 +410,4 @@ Django诞生于2003年,它是一个在真正的应用中成长起来的项目
至此,我们已经利用Django框架完成了一个非常小的Web应用,虽然它并没有任何的实际价值,但是我们需要通过这个项目了解到Django框架的使用方式。当然,如果使用PyCharm的Professional版本,也可以通过PyCharm的创建项目的选项直接创建Django项目,使用PyCharm的好处在于编写代码时可以获得代码提示、错误修复、自动导入等功能,从而提升开发效率,但是代价是需要支付对应的费用才能使用专业版的PyCharm,社区版的PyCharm中并未包含对Web框架的支持。
此外,学习Django最好的资料肯定是它的[官方文档](https://docs.djangoproject.com/zh-hans/2.0/),除此之外图灵社区最近出版的[《Django基础教程》](http://www.ituring.com.cn/book/2630)也是非常适合初学者的读物。
此外,学习Django最好的资料肯定是它的[官方文档](https://docs.djangoproject.com/zh-hans/2.0/),除此之外图灵社区最近出版的[《Django基础教程》](http://www.ituring.com.cn/book/2630)也是非常适合初学者的读物。
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

其他的配置可以参考官方文档中[数据库配置](https://docs.djangoproject.com/zh-hans/2.0/ref/databases/#third-party-notes)的部分。

NAME属性代表数据库的名称,如果使用SQLite它对应着一个文件,在这种情况下NAME的属性值应该是一个绝对路径。如果使用其他关系型数据库,还要配置对应的USER、PASSWORD、HOST、PORT等属性
NAME属性代表数据库的名称,如果使用SQLite它对应着一个文件,在这种情况下NAME的属性值应该是一个绝对路径。如果使用其他关系型数据库,还要配置对应的HOST(主机)、PORT(端口)、USER(用户名)、PASSWORD(口令)等属性

2. 安装MySQL客户端工具,Python 3中使用PyMySQL,Python 2中用MySQLdb。

Expand Down Expand Up @@ -92,7 +92,7 @@
Applying sessions.0001_initial... OK
```
4. 可以看到,Django帮助我们创建了10张二维表,这些都是使用Django框架需要的东西,除了这些之外,我们还应该为我们自己的应用创建数据模型。如果要在hrs应用中实现对部门和员工的管理,我们可以创建如下所示的数据模型。
4. 可以看到,Django帮助我们创建了10张表,这些都是使用Django框架需要的东西,稍后我们就会用到这些表。除此之外,我们还应该为我们自己的应用创建数据模型。如果要在hrs应用中实现对部门和员工的管理,我们可以创建如下所示的数据模型。
```Shell
(venv)$ cd hrs
Expand Down Expand Up @@ -162,6 +162,19 @@
### 使用ORM完成模型的CRUD操作
我们先在shell中演示如何利用Django中内置的ORM框架对模型进行CRUD(Create / Read / Update / Delete)操作。
```Shell
(venv)$ python manage.py shell
Python 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>
```
#### 新增
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions Day41-55/Django 2.x实战(05).md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Django 2.x实战(05) - Cookie和会话



4 changes: 4 additions & 0 deletions Day41-55/Django 2.x实战(06).md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Django 2.x实战(06) - 日志和缓存



4 changes: 4 additions & 0 deletions Day41-55/Django 2.x实战(07).md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Django 2.x实战(07) - 文件上传和通用视图



4 changes: 4 additions & 0 deletions Day41-55/Django 2.x实战(08).md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Django 2.x实战(08) - 用户/角色/权限和中间件



4 changes: 4 additions & 0 deletions Day41-55/Django 2.x实战(09).md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Django 2.x实战(09) - RESTful架构和应用(上)



4 changes: 4 additions & 0 deletions Day41-55/Django 2.x实战(10).md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Django 2.x实战(10) - RESTful架构和应用(下)



File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
Empty file.
Empty file.
Empty file added Day56-65/数据库操作.md
Empty file.
Empty file added Day56-65/模板的使用.md
Empty file.
Empty file added Day56-65/表单的处理.md
Empty file.
Empty file added Day66-75/Scrapy的应用1.md
Empty file.
Empty file added Day66-75/Scrapy的应用2.md
Empty file.
Empty file added Day66-75/Scrapy的应用3.md
Empty file.
Empty file added Day66-75/并发下载.md
Empty file.
Empty file.
Empty file added Day66-75/爬虫中的陷阱.md
Empty file.
Empty file added Day66-75/缓存数据.md
Empty file.
Empty file.
Empty file.
Empty file added Day66-75/解析动态内容.md
Empty file.
133 changes: 119 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
简单的说,Python是一个“优雅”、“明确”、“简单”的编程语言。

- 学习曲线低,适合非专业人士
- 开源软件,强大的生态圈
- 开源系统,拥有强大的生态圈
- 解释型语言,完美的平台可移植性
- 支持面向对象和函数式编程
- 可扩展性,能调用C/C++代码
Expand All @@ -19,21 +19,23 @@
- 数据分析挖掘 - Python / R / Scala / Matlab
- 机器学习 - Python / R / Java / Lisp

Python的就业市场分析,以下是相关的职位。
作为一名Python开发者,主要的就业领域包括:

- Python服务器后台开发 / 游戏服务器开发 / 数据接口开发工程师
- Python自动化运维工程师
- Python数据分析 / 数据可视化 / 科学计算 / 大数据工程师
- Python爬虫工程师
- Python聊天机器人开发 / 图像识别和视觉算法 / 深度学习工程师

下图显示了主要城市Python招聘需求量及薪资待遇排行榜(截止到2018年5月)。

![Python招聘需求及薪资待遇Top 10](./res/python-top-10.png)

![](./res/python-bj-salary.png)

![](./res/python-cd-salary.png)

给初学者的几个建议(老司机的忠告)
给初学者的几个建议(老司机的忠告)

- Make English as your working language.
- Practice makes perfect.
Expand Down Expand Up @@ -118,7 +120,7 @@ Python的就业市场分析,以下是相关的职位。
- 继承和多态 - 什么是继承 / 继承的语法 / 调用父类方法 / 方法重写 / 类型判定 / 多重继承 / 菱形继承(钻石继承)和C3算法
- 综合案例 - 工资结算系统 / 图书自动折扣系统 / 自定义分数类

#### Day10 - 图形用户界面和游戏开发
#### Day10 - [图形用户界面和游戏开发](./Day10/图形用户界面和游戏开发.md)

#### Day11 - [文件和异常](./Day11/文件和异常.md)

Expand Down Expand Up @@ -147,30 +149,133 @@ Python的就业市场分析,以下是相关的职位。
- 网络应用架构 - “客户端-服务器”架构 / “浏览器-服务器”架构
- Python网络编程 - 套接字的概念 / socket模块 / socket函数 / 创建TCP服务器 / 创建TCP客户端 / 创建UDP服务器 / 创建UDP客户端 / SocketServer模块

#### Day15 - [网络应用开发](./Day20/网络应用开发.md)
#### Day15 - [网络应用开发](./Day15/网络应用开发.md)

- 访问网络API - 网络API概述 / 访问URL / requests模块 / 解析JSON格式数据
- 文件传输 - FTP协议 / ftplib模块 / 交互式FTP应用
- 电子邮件 - SMTP协议 / POP3协议 / IMAP协议 / smtplib模块 / poplib模块 / imaplib模块
- 短信服务 - twilio模块 / 国内的短信服务

### Web前端
#### Day16~Day20 - [Python进阶知识 ](./Day16-20/Python进阶知识.md)



### Web前端+Linux基础+数据库基础

#### Day21~30

- 用HTML标签承载页面内容
- 用CSS渲染页面
- 用JavaScript处理交互式行为
- jQuery入门和提高
- Bootstrap在Web项目中的应用

#### Day31-35

- 操作系统发展史和Linux概述
- Linux基础命令
- Linux中的实用程序
- Linux的文件系统
- Vim编辑器的应用
- 环境变量和Shell编程
- 软件的安装和服务的配置
- 网络访问和管理
- 其他相关内容

#### Day36-40

- 关系型数据库MySQL
- 关系型数据库概述
- MySQL的安装和使用
- SQL的使用
- DDL
- DML
- DQL
- DCL
- 在Python中操作MySQL
- MySQL高级知识
- 非关系型数据库Redis
- Redis的安装和基本配置
- Redis的常用命令和数据类型
- Redis的主从复制和哨兵模式
- Redis高级操作和集群
- 在Python中操作Redis

### Python的Web框架 - Django

#### Day41 - [Django实战(01) - 快速上手](./Day41-55/Django 2.x实战(01))

#### Day42 - [Django实战(02) - 深入模型](./Day41-55/Django 2.x实战(02))

#### Day43 - [Django实战(03) - 视图和模板](./Day41-55/Django 2.x实战(03))

#### Day44 - [Django实战(04) - 表单的应用](./Day41-55/Django 2.x实战(04))

#### Day45 - [Django实战(05) - Cookie和会话](./Day41-55/Django 2.x实战(05))

#### Day46 - [Django实战(06) - 日志和缓存](./Day41-55/Django 2.x实战(06))

#### Day47 - [Django实战(07) - 文件上传和通用视图](./Day41-55/Django 2.x实战(07))

#### Day48 - [Django实战(08) - 用户/角色/权限和中间件](./Day41-55/Django 2.x实战(08))

#### Day49 - [Django实战(09) - RESTful架构和应用(上)](./Day41-55/Django 2.x实战(09))

#### Day50 - [Django实战(10) - RESTful架构和应用(下)](./Day41-55/Django 2.x实战(10))

#### Day51-55 - [Django项目实战](./Day41-55/Django项目实战.md)

- 项目开发流程和相关工具
- 生成非HTML内容
- 项目部署和测试
- 项目性能调优
- Web应用安全保护


### Python的Web框架 - Flask

#### Day56 - [Flask安装和入门](./Day56-65/Flash安装和入门.md)

#### Day57 - [模板的使用](./Day56-65/模板的使用.md)

#### Day58 - [表单的处理](./Day56-65/表单的处理.md)

#### Day59 - [数据库操作](./Day56-65/数据库操作.md)

####Day60 - [使用Flask进行项目开发](./Day56-65/使用Flask进行项目开发)

#### Day61-65 - Flask项目实战

- 性能和测试
- 项目部署

### 爬虫

#### Day66 - [爬虫简介和相关工具](./Day66-75/爬虫简介和相关工具.md)

#### Day67 - [数据采集和解析](./Day66-75/数据采集和解析.md)

#### Day68 - [缓存数据](./Day66-75/缓存数据.md)

#### Day69 - [并发下载](./Day66-75/并发下载.md)

#### Day70 - [解析动态内容](./Day66-75/解析动态内容.md)

#### Day71 - [表单交互和验证码处理](./Day66-75/表单交互和验证码处理.md)

#### Day16-20
#### Day72 - [爬虫中的陷阱](./Day66-75/爬虫中的陷阱.md)

### Linux基础
#### Day73 - [Scrapy的应用(1)](./Day66-75/Scrapy的应用1.md)

#### Day21-25
#### Day74 - [Scrapy的应用(2)](./Day66-75/Scrapy的应用2.md)

### 数据库入门
#### Day75 - [Scrapy的应用(3)](./Day66-75/Scrapy的应用3.md)

#### Day26-30
### 数据处理和机器学习

### Web框架之Django

#### Day31 - Django实战(01) - 快速上手

### 团队项目开发


#### Day32 - Django实战(02) - 深入模型

0 comments on commit 41b9856

Please sign in to comment.