Project

General

Profile

追加功能 #437

Updated by Xihua Fan about 1 year ago

*Background* 
 # New requirement for v4.0 OTS 
   See: OneDrive\赤蓝商贸(上海)有限公司\Shanghai Group - IT\开发相关\OTS V4\开发需求 
 # Base: https://git-codecommit.cn-northwest-1.amazonaws.com.cn/v1/repos/ots4.0-web 

 *Task Details* 
 # Prepare a clean environment based on openCart as the base for v4.0. 
 # Connect both the old database(OTS v3) and the new database(OTS v4). 
 # Re-build the structure of the front files directory 
 - twig: view/theme/default/template/xxx 
 - CSS: view/theme/default/stypesheet/xxx 
 - js: view/javascript/xxx 
 - third-party: view/third-party/xxx 
 # Support EN/CN languages 
 # Login module: mobile/desktop 
 # Order module: mobile/desktop 

 *v4 coding standard:* 
 # Git提交 
   #xxx(redmine number): xxx(redmine title) - xxx(任意:补充内容) 
    
 # 代码规范 
   结构:Public -> Protected -> Private 
   其他代码规范同SBX 
   
 # 前台代码 
   twig, js, css (js, css尽量写在单独的css文件中) 
     
 # 后台代码 
   MVCL    (L:en,cn) 
     
 # 注释 
 ## 类名: 
 <pre> 
 /** 
  * xxx 
  * 
  * @copyright Redblue-OTS 2024 
  * @version v4 
  * 
  */ 
 </pre> 
 ## 函数名:参数类型 + 返回值类型 
 <pre> 
	 /** 
	  * xxx 
	  * 
	  * @param    xxx $xxx 
	  * @param    xxx $xxx 
	  * @return xxx 
	  */ 
 </pre> 

 *Output* 
 * Report and Solution 

 *Others* 

Back