Browse Source

Add some log

HonorLee 6 years ago
parent
commit
57d3f595a9
4 changed files with 92 additions and 41 deletions
  1. 18 5
      CHANGELOG.md
  2. 21 0
      LICENSE.txt
  3. 21 1
      README.md
  4. 32 35
      package.json

+ 18 - 5
CHANGELOG.md

@@ -1,14 +1,27 @@
 # CHANGELOG
 
 ## [Unreleased]
+- 框架整体依然需要持续优化并加入新的功能以方便开发
+- 更多的语法糖待加入
 
-## [0.5] - 2018-05-01
-## Added
--
+## [1.0] - 2018-05-01 [Milestone]
+里程碑更新,此次更新优化了路由器,使整体性能提高了300%,同时加入部分新功能,本框架已经可以纳入实际项目使用
 
-## Changed
-- `Router`路由器由原来加载控制器全局静态Handler类改为加载新的控制器Handler实例来处理单个业务请求;在调用控制器方法时由显示传入Request和Reponse两个对象的改为将两个对象赋值为控制器Handler实例属性
+### Added
+- 加入Memcache支持
+- 生成随机进程ID,以方便PM2等进程管理程序创建多个子进程时的管理
+- 开始编写Changelog
+
+### Changed
+- 修改README文档
+- 加入MIT协议,修改package.json信息
+- 调整配置文件格式,分类编辑不同类型的配置信息
+- HTTP服务器端口配置信息由server.js移动至config.js配置文件
+- `Router`路由器由原来加载控制器全局静态Handler类改为加载新的控制器Handler实例来处理单个业务请求;在调用控制器方法时由显示传入Request和Response两个对象的改为将两个对象赋值为控制器Handler实例属性
 - `Router`路由器加入路径缓存,与上一调整同时进行路由优化,整体运行性能提升300%
+- Session功能支持Memcache存储
+
+
 
 ## [0.4] - 2018-?-?
 ### Added

+ 21 - 0
LICENSE.txt

@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) [2017] [HonorLee]
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

+ 21 - 1
README.md

@@ -1,2 +1,22 @@
-基于NodeJS的MVC快速开发框架
+# NodeJS-MVC - 一个基于NodeJS的MVC快速开发框架
+
+## Purpose
+本框架的实际意义在于,不采取Express等中大型开发框架的开发机制,降低学习成本,不对原生NodeJS(JS)开发方式进行巨大变动,直接使用原生语言就可以进行开发,将开发注意力由框架转移至业务本身;
+同时避免嵌入过多非必要性功能以降低性能损耗,最大限度提高MVC框架的处理性能
+
+## Overview
+GIT跟踪地址: [[Git of HonorLee](https://git.honorlee.me/HonorLee/NodeJS-MVC.git)]
+同时定期同步至 [[HonorLee on GITHUB](https://github.com/HonorLee-cn/NodeJS-MVC.git)]
+
+更新日志Changelog: [ChangeLog](https://git.honorlee.me/HonorLee/NodeJS-MVC/src/master/CHANGELOG.md)
+
+## Features
+Waiting...
+
+## Tutorials
+Waiting...
+
+## License
+本框架采用MIT协议,任何人可随意使(商)用本框架,无需通知作者本人,但请保留协议文件及文件署名
+
 

+ 32 - 35
package.json

@@ -1,37 +1,34 @@
 {
-  "name": "DJJ-Report",
-  "version": "0.1.0",
-  "description": "DJJ-Report System",
-  "scripts": {
-    "test": "echo \"Error: no test specified\" && exit 1"
-  },
-  "dependencies": {
-    "async": "^2.0.0-rc.5",
-    "cheerio": "^0.20.0",
-    "colors": "^1.1.2",
-    "commander": "^2.9.0",
-    "cron": "^1.1.0",
-    "date-format": "0.0.2",
-    "ejs": "^2.4.2",
-    "formidable": "^1.1.1",
-    "fs-extra": "^0.30.0",
-    "js-base64": "^2.1.9",
-    "md5": "^2.2.1",
-    "memcached": "^2.2.2",
-    "mime-types": "^2.1.11",
-    "mongodb": "^2.2.25",
-    "mysql": "^2.11.1",
-    "path": "^0.12.7",
-    "querystring": "^0.2.0",
-    "request": "^2.72.0",
-    "tracer": "^0.8.3"
-  },
-  "engines": {
-    "node": ">=0.12.5"
-  },
-  "repository": {
-    "private": true
-  },
-  "author": "HonorLee",
-  "license": "ISC"
+    "name": "NodeJS-MVC",
+    "version": "0.5",
+
+    "author": "HonorLee",
+    "license": "SEE LICENSE IN LICENSE.txt",
+    
+    "description": "A quick,easy,free MVC development framework based on NodeJS",
+    "dependencies": {
+        "async": "^2.0.0-rc.5",
+        "colors": "^1.1.2",
+        "ejs": "^2.4.2",
+        "formidable": "^1.1.1",
+        "fs-extra": "^0.30.0",
+        "js-base64": "^2.1.9",
+        "md5": "^2.2.1",
+        "memcached": "^2.2.2",
+        "mime-types": "^2.1.11",
+        "mongodb": "^2.2.25",
+        "mysql": "^2.11.1",
+        "path": "^0.12.7",
+        "querystring": "^0.2.0",
+        "request": "^2.72.0",
+        "tracer": "^0.8.3"
+    },
+    "engines": {
+        "node": ">=0.12.5"
+    },
+    "repository": {
+        "type" : "git",
+        "url" : "https://git.honorlee.me/HonorLee/NodeJS-MVC.git"
+    }
+
 }