- 声明周期选择
预测型声明周期:更为传统的方法,提前进行大量计划工作,然后一次性执行;执行是一个连续过程 迭代型声明周期:这种方法允许对未完成工作进行反馈,从而改进和修改该工作 增量型生命周期:这种方法向客户提供各个已完成的,可能立即使用的可交付成果 敏捷生命周期:这种方法既有迭代,也有增量,便于完善工作,频繁交付
没有哪个生命周期能完美地适用所有的项目。
### Editing ### | |
`Ctrl + Space` 基本代码完成(任意类的,方法的或者变量的名称) | |
`Ctrl + Shift + Enter` 补全当前语句 | |
`Ctrl + P` Parameter info (within method call arguments) | |
`Ctrl + Q` 快速查找文档 | |
`Ctrl + 鼠标滑过` 简明信息查看 | |
`Ctrl + F1` 在插入符号处显示错误或者警告信息 | |
`Alt + Insert` 生成代码...(Getters,Setters,Constructors) | |
`Ctrl + O` 重写方法 | |
`Ctrl + I` 实现方法 |
# This config will host your main [Laravel] GUI application at /, and any additional [Lumen] webservices at /api/v1 and /api/v2... | |
# This also works perfectly for all static file content in all projects | |
# This is full of debug comments so you can see how to print debug output to browser! Took me hours to nail this perfect config. | |
# Example: | |
# http://example.com - Main Laravel site as usual | |
# http://example.com/about - Main Laravel site about page as usual | |
# http://example.com/robots.txt - Main Laravel site static content as usual | |
# http://example.com/api/v1 - Lumen v1 api default / route | |
# http://example.com/api/v1/ - Lumen v1 api default / route |
public function put_csv($list,$title){ | |
$file_name="CSV".date("mdHis",time()).".csv"; | |
header ( 'Content-Type: application/vnd.ms-excel' ); | |
header ( 'Content-Disposition: attachment;filename='.$file_name ); | |
header ( 'Cache-Control: max-age=0' ); | |
$file = fopen('php://output',"a"); | |
$limit=1000; | |
$calc=0; | |
foreach ($title as $v){ | |
$tit[]=iconv('UTF-8', 'GB2312//IGNORE',$v); |
预测型声明周期:更为传统的方法,提前进行大量计划工作,然后一次性执行;执行是一个连续过程 迭代型声明周期:这种方法允许对未完成工作进行反馈,从而改进和修改该工作 增量型生命周期:这种方法向客户提供各个已完成的,可能立即使用的可交付成果 敏捷生命周期:这种方法既有迭代,也有增量,便于完善工作,频繁交付
没有哪个生命周期能完美地适用所有的项目。