6 Star 14 Fork 7

Fize / ashapo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0
001.20130628(ok-ok)-参数赋值---使用Execute(p_code)、ExecuteGlobal(p_code)来解决,Eval(p_code)不适用,但应该有其它方面的用途.
002.20130629(ok-ok)-模板传值---尝试Server.Transfer、Server.Execute失败,尝试代码重构函数Display成功
003.20130709(ok-ok)-进行面向对象模式
004.20130709(ok-ok)-面向对象雏形完成,进行代码重构精简
005.20130709(ok-ok)-代码初步重构成功,支持分组
006.20130709(do-ok)-添加404判断及404页面自定义doing
007.20130709(ok-ok)-伪继承的实现
008.20130715(ok-ok)-添加Tpl.Dim方法进行更灵活的模版赋值
009.20130715(ok-ok)-For\Foreach\Asp标签解析
010.20130715(ok-ok)-进行SQL查询和操作,将MVC真正运用
011.20130722(ok-ok)-优先进行多语支持开发
012.20130722(ok-ok)-多模板主题的支持
013.20130722(ok-ok)-_cache文件夹生成文件的重新布局
014.20130723(ok-ok)-对产生的缓存文件进行分析,改进Tpl引擎
015.20130723(ok-ok)-多语支持下的默认语言选择bug修复
016.20130726(ok-zz)-发现核心fso会和fso内置类冲突,将核心fso改为Fsc,即Fsc为不可用的预设保留字符
017.20130726(do-ok)-再对产生的缓存文件进行分析,提高缓存代码可读性
018.20130726(tk-tk)-考虑是否将所有include文件转成该页实际代码,如果按此做,如何进行实时更新
019.20130808(tk-tk)-生成模式的考虑可以解决include转实际代码,减少io消耗,提升性能,实时更新采用本地生成模式可解决,同时保留include模式。
020.20130808(tk-tk)-生成模式可以直接进行404判断(以生成时返回的动作名列表进行判断)而不用进行文件存在判断,减少了io消耗
021.20130808(ok-ok)-初步加入cache、db、list、error等核心类,对核心类进行测试
022.20130814(do-ok)-开始对核心error进行修改整合
023.20130819(fq-zz)-核心error无用,决定废弃
024.20130826(ag-ok)-开始继续
025.20130922(ag-ok)-先完成先前未完成的功能及修复
026.20130923(ok-ok)-为防止公共函数与类函数重名,启用核心Core类来存放公共函数,原有的公共函数将采取简写形式
027.20130925(tk-ok)-底层error依然需要使用,且覆盖全框架,需要重写,可以放置以后实现
028.20130925(bg-ok)-发现直接输出函数无调用伪继承,需进行修复
029.20130930(ok-ok)-文件布局需要修改优化
030.20130930(tk-ok)-生成时使用核心类的判断逻辑需要修改和精简优化
031.20130930(ok-ok)-开始文件布局优化修改
032.20130930(ok-ok)-修改布局后测试
033.20130930(tk-tk)-按分组进行设置
034.20131004(ok-ok)-语言包加载位置错误导致未赋值完全,将语言包提至所有处理代码前
035.20131008(tk-tk)-多终端主题支持
036.20131008(do-ok)-将404、500错误提至首次运行时建立,这样可保证单次运行而不用每次都检测,并且将Errc类和Tpl类完全分开
037.20131008(bg-ok)-Action有二次运行的嫌疑,应重新思考模板及代码解析功能
038.20131008(ok-ok)-init.asp文件改为只进行编译解析,不再进行Server.Transfer,防止二次运行
039.20131009(ok-ok)-init.asp文件的最后Server.Transfer改为asp.include(run),防止二次运行,编译模式下仅进行编译不运行实际代码
040.20131018(ok-ok)-ashapo.com域名已购买
041.20131019(bg-ok)-发现底层404和500错误可以进行语言定义
042.20131020(ok-ok)-修复utf-8的dom头引起的空行(文件生成)
043.20131021(ok-ok)-生成的Action文件移动到缓存_action文件夹、生成的运行文件移动到缓存_run文件夹,文件布局更加明了
044.20131022(tk-tk)-人性化404是否应考虑将其考虑放置Action进行设计(404页面和常规页面无表现上的区别)
045.20131023(do-ok)-将底层Fsc改为Fso,即把Fso类改为核心组件,进行修改测试,便于编译文件生成,好进行以后的开发工作
046.20131025(bg-ok)-语言载入应该在Core类载入后马上载入,否则其他类文件无法及时使用
047.20131026(bg-ok)-_system下生成了错误的lang_.asp文件(由Fso类错误引起的)
048.20131028(tk-ok)-考虑将语言包select放置入口,同时可检测系统语言自行选择默认语言包
049.20131028(do-ok)-Include标签解析
050.20131028(do-ok)-引入正式工程进行实际测试
051.20131028(bg-ok)-修复utf-8的dom头引起的空行(首次运行)
052.20131028(tk-ok)-生成额外的首页入口来提升入口性能
053.20131028(do-ok)-For等循环标签对变量的使用
054.20131028(do-ok)-数据库类的默认链接
055.20131029(ok-ok)-添加Tpl.DimObject方法进行对象赋值
056.20131031(tk-tk)-import\load\js\css为系统增强标签,可在后期实现,目前重点不在这里
057.20131031(tk-tk)-考虑添加标签前缀防止和html/xhtml标签混淆引起模板编译错误
058.20131031(do-ok)-Select标签解析
059.20131031(bg-bg)-生成的代码还有多处空行未处理
060.20131101(do-ok)-Compare标签解析(包含Eq/Equal/Neq/Notequal/Gt/Egt/Lt/Elt/Heq/Nheq)
061.20131101(tk-zz)-含type多属性值的标签是否应添加type属性值"date"来进行对时间日期的更详尽判断/属性值"arr"来进行对数组的更详尽判断
062.20131101(do-ok)-Range标签解析(包含In/Notin/Nin/Between/Btw/Notbetween/Nbtw)
063.20131103(do-ok)-Literal标签解析(原样输出标签),修复其相应Bug
064.20131104(ok-ok)-If/ElseIf/Else标签解析
065.20131105(ok-ok)-Empty标签解析(包含Empty/Notempty/Nempty)
066.20131105(ok-ok)-Const/Dim标签解析
067.20131105(tk-ok)-路由及URL构建,决定采用简单4规则进行URL构建
068.20131106(ok-ok)-URL构建雏形完成
069.20131107(tk-zz)-引进开源UI框架LigerUI,进行可选的后台操作系统开发
070.20131108(do-ok)-调试模式先行开发,这样有利于接下来的测试程序开发
071.20131108(tk-ok)-多语加载不合理,应再进行设计
072.20131108(do-ok)-为加快进度,终止ajaxWeb2.0开发,直接使用现有后台界面
073.20131109(bg-ok)-Select标签和HTML中的Select标签起直接冲突,应将该标签改名
074.20131113(tk-zz)-数据库添加更新动作一致性封装,采用Dictionary进行插入/更新数据的封装
075.20131113(do-ok)-加入编辑器代码案例
076.20131113(bg-ok)-对Action文件的编译工作应该存在bug,需要进行修复
077.20131113(bg-ok)-SQL插入复杂数据(如含HTML、双引号"等)时被置空
078.20131113(bg-ok)-尝试加入双引号和单引号的变量替代,方便变量在模版中的调用
079.20131123(bg-bg)-有多处的class析构函数无法调用,需要进行代码结构修复
080.20131125(do-do)-生成的缓存结构需要再进行修改
081.20131127(tk-ok)-统一的成功/失败页面,添加Tpl的Success/Error方法
082.20131129(tk-ok)-语言编译放入一个文件(后改为语言包入口文件编译)
083.20131203(do-ok)-URL静态规则的动态管理功能
084.20131203(do-ok)-文件上传例子实现
085.20131204(bg-ok)-ashapo不应该有conn.asp设置,应放置在app中进行设置
086.20131204(bg-ok)-正则删除空行时可能导致档案格式被破坏,应对正则进行修改(后发现是Fso的编码未恢复成UTF-8导致)
087.20131205(bg-zz)-核心Fso(必须)、Tpl(判断)、Errc(必须)、Asp(不需)在生成文件时的载入判断存在错误
088.20131205(bg-ok)-i_g、i_m、i_a、t_tplname、v_tp等在生成时发生错误(这些都应废弃改用固定值)
089.20131206(bg-ok)-Tpl.ErrorE/Tpl.Error/Tpl.Success/Errc.Throw在创建后执行时会发生错误(由No.88bg引起)
090.20131210(tk-ok)-决定启用字符串"sa"/"po"作为御用入口类
091.20131210(tk-ok)-伪装的公用函数、方法应使用独立的标识符(首字母大写,后跟两个_)
092.20131210(tk-ok)-模板Dim分行过多,可以考虑将固定个定义在同一行
093.20131210(tk-ok)-ashapo系统相关缓存应使用固定的左右限定符来对一般缓存进行区别(暂时使用符号%)
094.20131211(tk-zz)-设置让Db类自启动与否及是否直接进行连接数据库(后直接使用Extends来载入)
095.20131212(tk-ok)-考虑将ashapo整合成一个类,仅Errc类独立开,Asp、Core、Fso、Tpl按需要整合到ashapo类,提取Core到公用函数(不依赖任何类)、提取核心
096.20131217(ok-ok)-核心只保留ashapo、errc类,原先的core类大部分转为common函数/过程。核心目前大小<100kb(含注释)
097.20131217(bg-ok)-格式化Action函数在处理单行多命令时会发生错误,应进行修改
098.20131217(tk-ok)-语言包加载依然存在问题,在调试模式下也不应生成语言包缓存文件(涉及到错误流程走向)
099.20131219(tk-ok)-语言包生成应该在ashapo类中进行,errc类中的includeLang_方法应去除进行修改,多语切换及载入顺序存在问题
100.20131219(bg-ok)-ashapo大整合,将i_g/i_m、i_a、i_l、D_DbQueryTimes整合到ashapo,同时废弃session.asp设置文件(DbQueryTimes 要在sa中设置接口)
101.20131220(tk-ok)-app下的config下不再支持环境变量,仅支持程序变量。环境变量全部在core下的config下进行设置,这样可以提高框架性能,同时把敏感环境信息隐藏起来,Config函数也可以废弃了。
102.20131223(tk-ok)-高效入口的建立(放入tool类)
103.20131223(do-do)-开始按顺序进行类整理
104.20131224(do-ok)-类AES/Base64/Cache/Captcha整理完成
105.20131224(do-ok)-类Char/Cookie/Db整理完成
106.20131226(tk-tk)-Db类应该有一个缓存机制,用于保存表结构、字段名、字段类型、查询语句、查询结果,可以大幅度提升性能。
107.20140102(do-ok)-类Fso/Jpeg/Json/Log/Mail/MD5整理完成
108.20140107(do-tk)-类List由于函数众多,且在逻辑上需要进行优化和精简,所以暂不进行整理
109.20140108(tk-ok)-考虑将Errc也整合到ashapo中
110.20140109(do-ok)-重写分页类
111.20140115(tk-ok)-核心Log类也应整合进核心
112.20140115(tk-ok)-应该以标准方式读写ini文件
113.20140115(do-ok)-类Sesion/Sha1/Upload/Xml整理完成
114.20140226(do-do)-继续开始
115.20140310(tk-ok)-静态HTML的实时生成初步思路
116.20140310(tk-ok)-分页类page参数放置最后一个
117.20140313(bg-do)-speed运行模式存在BUG,未导入Extends的Action类
118.20140318(bg-do)-修正核心err的使用
119.20140318(bg-do)-核心还是依然使用include进行加载,使用buildCore_可能导致各种问题。
120.20140610(tk-ok)-将版本分拆成单文件和多文件两个分支。单文件版本性能上更优越,且不会暴露禁用的接口函数,安全性更高,但是维护难度较大;多文件在性能上略有牺牲,因为核心组件通讯的需要暴露了一些接口函数,理论上安全性不如单文件版本,但是维护方便简洁,各个核心类耦合度低。
121.20140610(tk-do)-之前多语载入使用select载入,导致无法使用const进行定义,或多或少会有性能上的问题,且语言包不好维护,要改正修复为载入单语言包(及生成多个最终的页面),同时使用标准方式读写ini语言包文件。
122.20140612(fq-ok)-废弃公用语言包,加载公用语言包导致了不必要的麻烦,还是将每个语言包放到一个文件就好
123.20140619(do-ok)-内核标准化,同时精简了流程,流程更清晰可控。
124.20140619(bg-do)-修复函数C会导致配置值重定义的问题,直接去掉,改用Dim动态配置
125.20140620(do-do)-核心测试成功,开始清理代码
126.20140703(bg-ok)-缓存文件在加载文件的顺序上有错误
127.20141207(do-ok)-模型类的链式操作
128.20170315(do-ok)-重构核心,是便于调试
129.20170315(do-ok)-加入json标准化输出
130.20170315(do-ok)-实现模型ORM
131.20170324(do-ok)-为防止类的同名冲突,修改模型和控制器命名规则
132.20170328(do-ok)-实现AshapoCache.class.asp,包括Application驱动和File驱动
133.20170405(do-do)-引入一个实际后台项目用于验证ashapo框架的可用性及性能测试,并在此基础上修复大量已知BUG。
134.20170413(do-do)-由于饱受乱码问题干扰,决定将项目编码统一更改为GBK

ok-该动作已经完成
do-该动作正在进行中
tk-处理考虑阶段的动作
fq-废弃动作
ag-继续开始
bg-BUG修复
zz-该动作终止(考虑错误或有更好的解决方法)
(提示:动作应以ok\zz为结束,其他状态为提醒作用)
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

ASP面向对象MVC框架 展开 收起
Apache-2.0
取消

贡献者

全部

近期动态

加载更多
不能加载更多了
ASP
1
https://gitee.com/fizechan/ashapo.git
git@gitee.com:fizechan/ashapo.git
fizechan
ashapo
ashapo
master

搜索帮助

14c37bed 8189591 565d56ea 8189591