欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
BaasBox/developer
来自开放百科 - 灰狐
(版本间的差异)
小 (→里程碑) |
小 (→验证授权) |
||
(未显示1个用户的13个中间版本) | |||
第1行: | 第1行: | ||
[[BaasBox]] 开发者 | [[BaasBox]] 开发者 | ||
+ | |||
+ | ==里程碑== | ||
+ | *1.0.x // 1.0.0-M3 databases will be upgrated to the 1.0.0-final | ||
+ | After the 1.0. release we will create an automatic importer to manage the migration from [[Parse]] to BaasBox. | ||
+ | *0.9.x | ||
+ | *[https://github.com/baasbox/baasbox/milestones/Next Milestones Next] | ||
+ | *[http://www.baasbox.com/download-page/ 下载稳定版或测试版] | ||
==Eclipse== | ==Eclipse== | ||
第30行: | 第37行: | ||
==H5== | ==H5== | ||
+ | *[https://github.com/tobykurien/baasbox_admin baasbox_admin] | ||
+ | |||
+ | ==JavaScript== | ||
+ | 通过 [[Nashorn]],内部支持 [[JavaScript]] 脚本语言。 | ||
+ | *[https://github.com/baasbox/baasbox/blob/master/app/com/baasbox/service/scripting/js/Nashorn.java Nashorn engine implementation] | ||
+ | *[[AngularJS]] the Admin GUI | ||
+ | *[https://github.com/baasbox/baasbox/tree/master/public/console/bbjs bbjs] [https://github.com/baasbox/baasbox/tree/master/public/console/js JS] | ||
==验证授权== | ==验证授权== | ||
*[https://github.com/joscha/play-authenticate/ PlayAuthenticate] | *[https://github.com/joscha/play-authenticate/ PlayAuthenticate] | ||
+ | *可引入 [[Apache Shiro]] session-management with OrientDB-based authorizing realm | ||
+ | |||
+ | ==消息推送== | ||
+ | *[https://github.com/baasbox/baasbox/blob/master/app/com/baasbox/service/push/providers/APNServer.java APNServer] [https://github.com/notnoop/java-apns 源代码参考] | ||
+ | *[https://github.com/baasbox/baasbox/blob/master/app/com/baasbox/service/push/providers/GCMServer.java GCMServer] [https://github.com/google/gcm 源代码参考] | ||
==备份恢复== | ==备份恢复== | ||
第61行: | 第80行: | ||
*[[play framework]] 插件 | *[[play framework]] 插件 | ||
*[[Eclipse]] 插件 | *[[Eclipse]] 插件 | ||
+ | |||
+ | ==模版引擎== | ||
+ | *[https://www.playframework.com/documentation/2.4.x/ScalaTemplates JavaTemplates Play 模版引擎] based on [[Scala]] | ||
+ | *[[Twirl]] | ||
==REST API== | ==REST API== | ||
− | + | *使用 [[jackson]] 处理 [[JSON]] 数据 | |
+ | *API使用 | ||
+ | 获得端点信息 | ||
curl -X GET http://localhost:9000/admin/endpoints \ | curl -X GET http://localhost:9000/admin/endpoints \ | ||
-H X-BB-SESSION:3bc9f32d-e7a2-4646-9696-fdbbb26928d9 \ | -H X-BB-SESSION:3bc9f32d-e7a2-4646-9696-fdbbb26928d9 \ | ||
第73行: | 第98行: | ||
-H X-BAASBOX-APPCODE:1234567890 | -H X-BAASBOX-APPCODE:1234567890 | ||
[http://www.baasbox.com/documentation/?shell#api 更多REST API信息] | [http://www.baasbox.com/documentation/?shell#api 更多REST API信息] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==开发者== | ==开发者== | ||
第86行: | 第103行: | ||
*[http://www.baasbox.com/claudio-tesoriero/ Claudio Tesoriero] | *[http://www.baasbox.com/claudio-tesoriero/ Claudio Tesoriero] | ||
*[http://www.baasbox.com/team/ BaasBox Team] | *[http://www.baasbox.com/team/ BaasBox Team] | ||
+ | |||
+ | ==图集== | ||
==链接== | ==链接== | ||
第91行: | 第110行: | ||
[[category:java]] | [[category:java]] | ||
[[category:scala]] | [[category:scala]] | ||
+ | [[category:angular]] | ||
[[category:akka]] | [[category:akka]] | ||
[[category:play]] | [[category:play]] | ||
[[category:OrientDB]] | [[category:OrientDB]] | ||
[[category:developer]] | [[category:developer]] |
2016年5月25日 (三) 09:46的最后版本
BaasBox 开发者
目录 |
[编辑] 里程碑
- 1.0.x // 1.0.0-M3 databases will be upgrated to the 1.0.0-final
After the 1.0. release we will create an automatic importer to manage the migration from Parse to BaasBox.
- 0.9.x
- Milestones Next
- 下载稳定版或测试版
[编辑] Eclipse
使用 Scala IDE
git clone https://github.com/baasbox/baasbox cd baasbox play [BaasBox] $ eclipse with-source=true [BaasBox] $ start 8080 http://locahost:8080 admin/admin 12345678909
在 Eclipse 从 File/Import/General/Existing project 导入刚才的项目
更多细节:Setting up your preferred IDE
[编辑] iOS
git clone https://github.com/baasbox/DearDiary-iOS
在 BaasBox 后台创建 memos collection 配置 Xcode,在 DearDiary-Info.plist 添加
<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>
这样就在Info.plist中添加NSAppTransportSecurity类型Dictionary。在NSAppTransportSecurity下添加NSAllowsArbitraryLoads类型Boolean,值设为YES。
因为 iOS 9 要求 App 使用 https 通信。
[编辑] Andorid
[编辑] H5
[编辑] JavaScript
通过 Nashorn,内部支持 JavaScript 脚本语言。
- Nashorn engine implementation
- AngularJS the Admin GUI
- bbjs JS
[编辑] 验证授权
- PlayAuthenticate
- 可引入 Apache Shiro session-management with OrientDB-based authorizing realm
[编辑] 消息推送
[编辑] 备份恢复
以 export.json 的JSON文件打包成类似 20151102-235807-1234567890.zip 的文件格式。
[编辑] OrientDB
数据模型和Scheme设计
目前,BaasBox使用的是OrientDB嵌入版本,把这块剥离成独立的OrientDB Cluster Server,先把这块解耦。
- Remote access to OrientDB embedded server
<listener protocol="binary" port-range="2424-2430" ip-address="0.0.0.0"/> <listener protocol="cluster" port-range="2434-2440" ip-address="0.0.0.0"/> <listener protocol="http" port-range="2480-2490" ip-address="0.0.0.0">
- 升级OrientDB 2.1.x 升级OrientDB 2.0.x
- (2.2-alpha) NPE during database import #5044
- (2.1.2 GA) (reqression) SQL parser raises syntax error on statements that worked with previous versions #5009
- (2.1.2 GA Community) different fetchplan output between 1.7.x and 2.x (was #2906) #5001
[编辑] Cassandra
[编辑] 插件
- BaasBox Plugin Engine 提供 JavaScript 扩展 API
- jQuery 插件
- play framework 插件
- Eclipse 插件
[编辑] 模版引擎
- JavaTemplates Play 模版引擎 based on Scala
- Twirl
[编辑] REST API
获得端点信息
curl -X GET http://localhost:9000/admin/endpoints \ -H X-BB-SESSION:3bc9f32d-e7a2-4646-9696-fdbbb26928d9 \ -H X-BAASBOX-APPCODE:1234567890
创建一个用户
curl http://localhost:9000/user \ -d '{"username" : "huihoo", "password" : "huihoo"}' \ -H Content-type:application/json \ -H X-BAASBOX-APPCODE:1234567890
[编辑] 开发者
[编辑] 图集
[编辑] 链接
分享您的观点