欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
BaasBox/developer
来自开放百科 - 灰狐
(版本间的差异)
小 (→OrientDB) |
小 (→OrientDB) |
||
第49行: | 第49行: | ||
<listener protocol="http" port-range="2480-2490" ip-address="0.0.0.0"> | <listener protocol="http" port-range="2480-2490" ip-address="0.0.0.0"> | ||
*[https://github.com/baasbox/baasbox/pull/858 升级OrientDB 2.1.x] [https://github.com/baasbox/baasbox/pull/816 升级OrientDB 2.0.x] | *[https://github.com/baasbox/baasbox/pull/858 升级OrientDB 2.1.x] [https://github.com/baasbox/baasbox/pull/816 升级OrientDB 2.0.x] | ||
− | *[https://github.com/orientechnologies/orientdb/issues/ | + | *[https://github.com/orientechnologies/orientdb/issues/5044 (2.2-alpha) NPE during database import #5044 ] |
+ | *[https://github.com/orientechnologies/orientdb/issues/5009 (2.1.2 GA) (reqression) SQL parser raises syntax error on statements that worked with previous versions #5009] | ||
+ | *[https://github.com/orientechnologies/orientdb/issues/5001 (2.1.2 GA Community) different fetchplan output between 1.7.x and 2.x (was #2906) #5001] | ||
==Cassandra== | ==Cassandra== |
2016年5月23日 (一) 05:16的版本
BaasBox 开发者
目录 |
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
验证授权
备份恢复
以 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 插件
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
图集
链接
分享您的观点