goosman-lei / ice Goto Github PK
View Code? Open in Web Editor NEWIce framework for (php) web development
Home Page: http://ice.tec-inf.com
License: Apache License 2.0
Ice framework for (php) web development
Home Page: http://ice.tec-inf.com
License: Apache License 2.0
src/Frame/Service/Proxy/Local.php
这个类, public function _callArray()方法中, 没有找到service类或方法时, 直接返回. 没有切换workApp对象. 会导致workApp错乱.
\F_Ice::$ins->switchWorkApp($oldWorkApp);
另外, 这个本地调用中, 没有考虑对service中有异常的处理.
这个考虑local/remote兼容性, 应该需要从规范上约束, service不能向外抛出任何异常, 必须自己处理
nice的框架?还是额外的?
src/Frame/Logger.php中. 定义了LEVEL_FATAL等几个日志级别的常量.
常量定义为数字.
在function fatal()/function warn()/function info()三个入口函数中, 使用了对应的常量日志级别.
function getLogFile()中, 硬编码使用'warn'/'fatal'字面, 判定是否应该拆分.wf日志.
导致预期独立拆分文件的wf日志没有拆出来.
为了瞅一眼ice,我折腾了一个虚拟机,装好了git,装好了php,装好了composer,然后我以为要大功告成了。运行composer的时候出现如下错误:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for ice/framework >=0.0.1-dev -> satisfiable by Ice/Framework[dev-master].
- Ice/Framework dev-master requires lancerhe/phpunit-mock dev-master -> satisfiable by lancerhe/phpunit-mock[dev-master] but these conflict with your requirements or minimum-stability.
太折腾人了,所以麻烦给个下载后就能跑的包。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.