Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
wiki-php
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • wiki-php
  • Wiki
  • code standard

code standard · Changes

Page history
wangqs created page: code standard authored Jun 13, 2016 by 互联网应用开发's avatar 互联网应用开发
Hide whitespace changes
Inline Side-by-side
Showing with 2 additions and 1 deletion
+2 -1
  • code-standard.md code-standard.md +2 -1
  • No files found.
code-standard.md
View page @ f9be6e46
......@@ -50,7 +50,7 @@ function im_func($a, $b){
2. 函数必须写注释
3. 不得循环查询数据库
4. 全局变量使用需通报所有人
5. 不得在controller里查询数据库
5. 不得在controller里查询数据库 调用Dao
6. 不得在view层查询数据库
8. 变量名不得出现拼音
9. 变量名的长度超过3;
......@@ -61,3 +61,4 @@ function im_func($a, $b){
1. 变量名超过5
2. 不得对对象使用未声明的属性
3. 待补充
4. bll中的方法 尽量避免 get_xxx_by_where这种条件
Clone repository
  • 360safeguardnativeapi
  • all new classmate
  • bind phone
  • code standard
  • deploy_sys
  • edit common
  • edit master
  • envrioment
  • find psw
  • front new classmate
  • front statck
  • git
  • Home
  • idcard md5
  • ide
View All Pages