{ "export": [ "server.json" ], "keywords": [], "children": [ { "Flask简介": { "keywords": [], "children": [ { "安装": { "keywords": [], "children": [ { "创建应用目录": { "keywords": [], "children": [], "node_id": "python-6-56", "keywords_must": [], "keywords_forbid": [] } }, { "虚拟环境": { "keywords": [], "children": [], "node_id": "python-6-57", "keywords_must": [], "keywords_forbid": [] } }, { "在Python 3中创建虚拟环境": { "keywords": [], "children": [], "node_id": "python-6-58", "keywords_must": [], "keywords_forbid": [] } }, { "在Python 2中创建虚拟环境": { "keywords": [], "children": [], "node_id": "python-6-59", "keywords_must": [], "keywords_forbid": [] } }, { "使用虚拟环境": { "keywords": [], "children": [], "node_id": "python-6-60", "keywords_must": [], "keywords_forbid": [] } }, { "使用pip安装Python包": { "keywords": [], "children": [], "node_id": "python-6-61", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-5-467", "keywords_must": [], "keywords_forbid": [] } }, { "应用的基本结构": { "keywords": [], "children": [ { "初始化": { "keywords": [], "children": [], "node_id": "python-6-62", "keywords_must": [], "keywords_forbid": [] } }, { "路由和视图函数": { "keywords": [], "children": [], "node_id": "python-6-63", "keywords_must": [], "keywords_forbid": [] } }, { "一个完整的应用": { "keywords": [], "children": [], "node_id": "python-6-64", "keywords_must": [], "keywords_forbid": [] } }, { "Web开发服务器": { "keywords": [], "children": [], "node_id": "python-6-65", "keywords_must": [], "keywords_forbid": [] } }, { "动态路由": { "keywords": [], "children": [], "node_id": "python-6-66", "keywords_must": [], "keywords_forbid": [] } }, { "调试模式": { "keywords": [], "children": [], "node_id": "python-6-67", "keywords_must": [], "keywords_forbid": [] } }, { "命令行选项": { "keywords": [], "children": [], "node_id": "python-6-68", "keywords_must": [], "keywords_forbid": [] } }, { "请求–响应循环": { "keywords": [], "children": [ { "应用和请求上下文": { "keywords": [], "children": [], "node_id": "python-7-15", "keywords_must": [], "keywords_forbid": [] } }, { "请求分派": { "keywords": [], "children": [], "node_id": "python-7-16", "keywords_must": [], "keywords_forbid": [] } }, { "请求对象": { "keywords": [], "children": [ { "对象显示": { "keywords": [], "children": [], "node_id": "python-8-0", "keywords_must": [], "keywords_forbid": [] } }, { "有效创建大量对象": { "keywords": [], "children": [], "node_id": "python-8-1", "keywords_must": [], "keywords_forbid": [] } }, { "由字符串调用对象": { "keywords": [], "children": [], "node_id": "python-8-2", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-7-17", "keywords_must": [], "keywords_forbid": [] } }, { "请求钩子": { "keywords": [], "children": [], "node_id": "python-7-18", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-6-69", "keywords_must": [], "keywords_forbid": [] } }, { "Flask扩展": { "keywords": [], "children": [], "node_id": "python-6-70", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-5-468", "keywords_must": [], "keywords_forbid": [] } }, { "模板": { "keywords": [], "children": [ { "Jinja2模板引擎": { "keywords": [], "children": [ { "渲染模板": { "keywords": [], "children": [], "node_id": "python-7-19", "keywords_must": [], "keywords_forbid": [] } }, { "变量": { "keywords": [], "children": [ { "匿名函数捕获变量值": { "keywords": [], "children": [], "node_id": "python-8-3", "keywords_must": [], "keywords_forbid": [] } }, { "访问闭包中定义的变量": { "keywords": [], "children": [], "node_id": "python-8-4", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-7-20", "keywords_must": [], "keywords_forbid": [] } }, { "控制结构": { "keywords": [], "children": [], "node_id": "python-7-21", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-6-71", "keywords_must": [], "keywords_forbid": [] } }, { "使用Flask-Bootstrap集成Bootstrap": { "keywords": [], "children": [], "node_id": "python-6-72", "keywords_must": [], "keywords_forbid": [] } }, { "自定义错误页面": { "keywords": [], "children": [], "node_id": "python-6-73", "keywords_must": [], "keywords_forbid": [] } }, { "链接": { "keywords": [], "children": [], "node_id": "python-6-74", "keywords_must": [], "keywords_forbid": [] } }, { "静态文件": { "keywords": [], "children": [], "node_id": "python-6-75", "keywords_must": [], "keywords_forbid": [] } }, { "使用Flask-Moment本地化日期和时间": { "keywords": [], "children": [], "node_id": "python-6-76", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-5-469", "keywords_must": [], "keywords_forbid": [] } }, { "Web表单": { "keywords": [], "children": [ { "配置": { "keywords": [], "children": [], "node_id": "python-6-77", "keywords_must": [], "keywords_forbid": [] } }, { "表单类": { "keywords": [], "children": [], "node_id": "python-5-1569", "keywords_must": [], "keywords_forbid": [] } }, { "把表单渲染成HTML": { "keywords": [], "children": [], "node_id": "python-5-1570", "keywords_must": [], "keywords_forbid": [] } }, { "在视图函数中处理表单": { "keywords": [], "children": [], "node_id": "python-6-80", "keywords_must": [], "keywords_forbid": [] } }, { "重定向和用户会话": { "keywords": [], "children": [], "node_id": "python-6-81", "keywords_must": [], "keywords_forbid": [] } }, { "闪现消息": { "keywords": [], "children": [], "node_id": "python-6-82", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-5-470", "keywords_must": [], "keywords_forbid": [] } }, { "数据库": { "keywords": [], "children": [ { "SQL数据库": { "keywords": [], "children": [], "node_id": "python-6-83", "keywords_must": [], "keywords_forbid": [] } }, { "NoSQL数据库": { "keywords": [], "children": [], "node_id": "python-6-84", "keywords_must": [], "keywords_forbid": [] } }, { "使用SQL还是NoSQL": { "keywords": [], "children": [], "node_id": "python-6-85", "keywords_must": [], "keywords_forbid": [] } }, { "Python数据库框架": { "keywords": [], "children": [], "node_id": "python-6-86", "keywords_must": [], "keywords_forbid": [] } }, { "使用Flask-SQLAlchemy管理数据库": { "keywords": [], "children": [], "node_id": "python-6-87", "keywords_must": [], "keywords_forbid": [] } }, { "定义模型": { "keywords": [], "children": [], "node_id": "python-6-88", "keywords_must": [], "keywords_forbid": [] } }, { "关系": { "keywords": [], "children": [], "node_id": "python-6-89", "keywords_must": [], "keywords_forbid": [] } }, { "数据库操作": { "keywords": [], "children": [ { "创建表": { "keywords": [], "children": [], "node_id": "python-7-22", "keywords_must": [], "keywords_forbid": [] } }, { "插入行": { "keywords": [], "children": [], "node_id": "python-7-23", "keywords_must": [], "keywords_forbid": [] } }, { "修改行": { "keywords": [], "children": [], "node_id": "python-7-24", "keywords_must": [], "keywords_forbid": [] } }, { "删除行": { "keywords": [], "children": [], "node_id": "python-7-25", "keywords_must": [], "keywords_forbid": [] } }, { "查询行": { "keywords": [], "children": [], "node_id": "python-7-26", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-6-90", "keywords_must": [], "keywords_forbid": [] } }, { "在视图函数中操作数据库": { "keywords": [], "children": [], "node_id": "python-6-91", "keywords_must": [], "keywords_forbid": [] } }, { "集成Python shell": { "keywords": [], "children": [], "node_id": "python-6-92", "keywords_must": [], "keywords_forbid": [] } }, { "使用Flask-Migrate实现数据库迁移": { "keywords": [], "children": [ { "创建迁移仓库": { "keywords": [], "children": [], "node_id": "python-7-27", "keywords_must": [], "keywords_forbid": [] } }, { "创建迁移脚本": { "keywords": [], "children": [], "node_id": "python-7-28", "keywords_must": [], "keywords_forbid": [] } }, { "更新数据库": { "keywords": [], "children": [], "node_id": "python-7-29", "keywords_must": [], "keywords_forbid": [] } }, { "添加几个迁移": { "keywords": [], "children": [], "node_id": "python-7-30", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-6-93", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-5-471", "keywords_must": [], "keywords_forbid": [] } }, { "电子邮件": { "keywords": [], "children": [ { "电子邮件系统组件和协议": { "keywords": [], "children": [], "node_id": "python-6-94", "keywords_must": [], "keywords_forbid": [] } }, { "发送电子邮件": { "keywords": [], "children": [], "node_id": "python-6-95", "keywords_must": [], "keywords_forbid": [] } }, { "Python和SMTP": { "keywords": [], "children": [], "node_id": "python-6-96", "keywords_must": [], "keywords_forbid": [] } }, { "smtplib.SMTP类方法": { "keywords": [], "children": [], "node_id": "python-6-97", "keywords_must": [], "keywords_forbid": [] } }, { "交互式SMTP示例": { "keywords": [], "children": [], "node_id": "python-6-98", "keywords_must": [], "keywords_forbid": [] } }, { "SMTP的其他内容": { "keywords": [], "children": [], "node_id": "python-6-99", "keywords_must": [], "keywords_forbid": [] } }, { "接收电子邮件": { "keywords": [], "children": [], "node_id": "python-6-100", "keywords_must": [], "keywords_forbid": [] } }, { "POP和IMAP": { "keywords": [], "children": [], "node_id": "python-6-101", "keywords_must": [], "keywords_forbid": [] } }, { "交互式POP3示例": { "keywords": [], "children": [], "node_id": "python-6-102", "keywords_must": [], "keywords_forbid": [] } }, { "poplib.POP3类方法": { "keywords": [], "children": [], "node_id": "python-6-103", "keywords_must": [], "keywords_forbid": [] } }, { "客户端程序SMTP和POP3示例": { "keywords": [], "children": [], "node_id": "python-6-104", "keywords_must": [], "keywords_forbid": [] } }, { "交互式IMAP4示例": { "keywords": [], "children": [], "node_id": "python-6-105", "keywords_must": [], "keywords_forbid": [] } }, { "imaplib.IMAP4类中的常用方法": { "keywords": [], "children": [], "node_id": "python-6-106", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-5-472", "keywords_must": [], "keywords_forbid": [] } }, { "大型应用的结构": { "keywords": [], "children": [ { "配置选项": { "keywords": [], "children": [], "node_id": "python-6-107", "keywords_must": [], "keywords_forbid": [] } }, { "应用包": { "keywords": [], "children": [ { "使用应用工厂函数": { "keywords": [], "children": [], "node_id": "python-7-31", "keywords_must": [], "keywords_forbid": [] } }, { "在蓝本中实现应用功能": { "keywords": [], "children": [], "node_id": "python-7-32", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-6-108", "keywords_must": [], "keywords_forbid": [] } }, { "应用脚本": { "keywords": [], "children": [], "node_id": "python-6-109", "keywords_must": [], "keywords_forbid": [] } }, { "需求文件": { "keywords": [], "children": [], "node_id": "python-6-110", "keywords_must": [], "keywords_forbid": [] } }, { "单元测试": { "keywords": [], "children": [ { "blog应用的代码审查": { "keywords": [], "children": [], "node_id": "python-7-33", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-6-111", "keywords_must": [], "keywords_forbid": [] } }, { "创建数据库": { "keywords": [], "children": [], "node_id": "python-6-112", "keywords_must": [], "keywords_forbid": [] } }, { "运行应用": { "keywords": [], "children": [], "node_id": "python-6-113", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-5-473", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-4-825", "keywords_must": [], "keywords_forbid": [] } }, { "Flask安装配置": { "keywords": [], "children": [], "node_id": "python-4-826", "keywords_must": [], "keywords_forbid": [] } }, { "Flask实现HTTP请求与响应": { "keywords": [], "children": [], "node_id": "python-4-827", "keywords_must": [], "keywords_forbid": [] } }, { "Flask cookie与session": { "keywords": [], "children": [], "node_id": "python-4-828", "keywords_must": [], "keywords_forbid": [] } }, { "Flask模板": { "keywords": [], "children": [], "node_id": "python-4-829", "keywords_must": [], "keywords_forbid": [] } }, { "Flask提交表单": { "keywords": [], "children": [], "node_id": "python-4-830", "keywords_must": [], "keywords_forbid": [] } }, { "Flask数据库操作": { "keywords": [], "children": [], "node_id": "python-4-831", "keywords_must": [], "keywords_forbid": [] } }, { "Bootstrap-Flask": { "keywords": [], "children": [], "node_id": "python-4-832", "keywords_must": [], "keywords_forbid": [] } }, { "Flask开发REST Web服务": { "keywords": [], "children": [], "node_id": "python-4-833", "keywords_must": [], "keywords_forbid": [] } }, { "部署日志与安全": { "keywords": [], "children": [], "node_id": "python-4-834", "keywords_must": [], "keywords_forbid": [] } }, { "Flask开发案例": { "keywords": [], "children": [], "node_id": "python-4-835", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-3-139", "keywords_must": [ "flask" ], "keywords_forbid": [] }