icode / ameba Goto Github PK
View Code? Open in Web Editor NEWuseful full stack RESTful framework
Home Page: http://amebastack.org
License: MIT License
useful full stack RESTful framework
Home Page: http://amebastack.org
License: MIT License
整合UI
由于不使用session,所以集成oauth2服务端
改善接口,改善基础类,提供以事件方式注册系统事件的接口,看看akka能否胜任此项工作
用来描述字段,方法,ui提示,wadl生成,resource结构
如
resource.mapping.ameba.m1.resource.*=/m1
resource.mapping.ameba.m1.resource.AResource=/m1/1
需要考虑模板的映射,暂时还未想好
web socket映射,应该在web socket处理之前将所有resource model处理掉就不需要关心web socket映射问题
可视化编辑resource间调用流程,树状、交叉获取/填充参数,生成java源码
wadl支持json
一个内置的工具集,另一个项目.包括创建项目,更新框架,生成发布包,搜索模块,发布模块等等.
创建APP
App生成resources/conf/application.conf配置文件,maven配置依赖ameba
创建module
module生成resources/conf/module.conf,并在测试目录下生成调用ameba.Ameba的main方法类,生成ameba的maven依赖,scope为provided
添加模块
通过registry搜索模块,并将其添加到maven配置中
加入调度器模块
模块使用单独的module.conf文件作为模块配置文件,不再读取所有application.conf,应用配置应为唯一,否则应发出警告或抛出异常.格式应为 配置.包名.模块名.配置名=配置
编辑器应支持多种移动终端、浏览器插件等客户端的打包发布
类似NPM.bower等工具的服务,提供模块的注册与管理,基于maven?好吧,这样应该不错,不需要自己管理包吧?
提供整合的api接口和注解
与AmebaUI整合后提供设计器
采用liquibase生成库的合并变更
事务处理流程
参考 https://firebase.google.com/docs/database/server/save-data#section-transactions
可以让resource model 和其他使用的用户类在不重启的情况下热加载
通过UI,配置resource之间调用,存储之。生成新的class类,或者反射?或者逻辑?流程?其他方式?最终提供一个调用API,供用户或开发人员调用。
去掉getter/setter,改为增强,搜索代码中用到的字段赋值,改为getter/setter
开发所用到类作为模块单独开发
运行时进行的增强迁移到开发模块,提高发布模式的启动速度
参考:
https://github.com/handsontable/jquery-handsontable
https://github.com/sutoiku/formula.js
https://github.com/HubSpot/vex
https://github.com/audreyt/ethercalc
echarts
让后端数据从前端再次整合,让前端去计算一部分整合一部分,再保存这些配置,让用户分享配置
通过注解集成全文检索,提供api
模型视图,将多个模型或模型属性组合在一起,请求一个复杂的sql,返回这个model view对象。类似于数据库中的视图,没有真实的完全对应的表结构,数据完全是从不同表中抽取。
使用guava cache 缓存 resource 返回数据,提供api接口
提供创建 删除 复制等虚拟机的操作
镜像文件依赖 如 sys(mac) -> base(NodeJS, Java and more) -> test env
镜像文件管理服务,存储镜像文件和配置,发布
中心配置如zookeeper,监控健康状态,创建时检测状态
增强插件,最好可以扫描引用的jar内的特性,掉用特性进行增强
提供nosql的orm,最好能和现有的ebean整合,统一接口
框架周边应分为
功能
//TODO头脑风暴
利用classloader/securityManager控制权限?
js利用aop?
每一个插件是否应该用单独的classloader?
参考
http://www.ibm.com/developerworks/cn/java/j-lo-javasecurity/
http://www.ibm.com/developerworks/cn/opensource/os-cn-android-sec/
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.