Giter Site home page Giter Site logo

bucky_sdk's Introduction

小应用云(Tiny App Cloud) SDK (版本0.7.1) 简单使用说明

欢迎使用小应用云提供的bucky框架来快速构建您自己的小程序。bucky框架可以让后台开发不再需要关系后台主机的购买,配置开发,上线运维等繁琐的传统等业务无关的流程。只需要像编写一个本地模块一样开发/测试好一个“远端模块”,再发布到小应用云就完成了后台的开发工作。只需掌握javascript基础即可使用,无需学习其它技能。 bucky框架目前是一个后台框架,掌握之后除了给微信小程序开发后台,还可以给其它各种系统开发后台。

#SDK安装

##安装最新版本的nodejs 我们使用7.1版本的nodejs进行开发。所以,请先安装使用该版本以上的nodejs。

##确保sdk目录可以使用下列npm包,sdk提供的各种工具会依赖这些库

npm install xmlhttprequest
npm install deepcopy
npm install adm-zip

安装完成后,你可以在sdk目录下运行 node tools.js node node_loader.js 如果运行没有抛出异常就说明sdk安装成功可以正常工作了。

#SDK中包含的内容简介 首先阅读 doc/manual.md ,这是一个入门手册,可以对bucky的各种基础概念有个大概的了解。
然后阅读 doc/step by step.md,通过把sdk带的account demo运行起来,一步一步的学习bucky框架。
开始使用bucky开发自己的项目后,可以通过 doc/reference.md 详细了解各个接口函数的意义和参数列表。

##核心文件 wx_core.js 在微信小程序中使用的bucky框架核心文件
h5_core.js 在浏览器环境中使用的bucky框架核心文件
node_core.js 在nodejs环境中使用的bucky框架核心文件

##工具

  • tools.js -- 发布,停止,开始app的工具
  • proxytools.js -- 生成proxy包的工具
  • node_loader.js -- nodejs环境下的启动工具
  • clean_local.js -- 清楚本地调试后产生的临时文件

##示例 目前sdk中带有一个例子 ##account demo 一个账号管理的例子,实现了最简单的注册,登陆接口。可以通过这个例子,了解一个基于bucky简单但完整的应用是怎样的。
该Demo可以在微信小程序,浏览器,nodejs环境中运行。

#意见和讨论 小应用云目前处于内测阶段,官方网站还在建设中。使用过程中有任何问题和建议,欢迎随时和我们联系:

bucky_sdk's People

Contributors

liuzhicong avatar waterflier avatar weiqiushi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bucky_sdk's Issues

step by step.md 修改appid的说明不对

原说明:

"appID" : "YOUR_APP_ID" => "appID" : "bx.demo.xxxxxxx"

会让人误解为 要修改为bx.demo.你的APPID
实际应改为:

"appID" : "YOUR_APP_ID" => "appID" : "xxxxxxx"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.