承接 kisscms/aws 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kisscms/aws

Composer 安装命令:

composer require kisscms/aws

包简介

Amazon Web Services for KISSCMS

关键字:

README 文档

README

Simple CRUD methods to AWS for KISSCMS

Dependencies

Install

Add the plugin in your plugins folder manually or as a submodule, for example:

git submodule install git://github.com/kisscms/aws.git ./app/plugins/aws/

In your env.json you'll need to add where your root SDK folder. The SDK path will be used to include the AWS PHP SDK, which should live in this path:

SDK. "aws/[VERSION]/aws.phar"

Usage

Create models using the SimpleDB trait

class MyModel extends Model {
	use SimpleDB;
}

Then use like any other KISSCMS module:

$data = new MyModel();

$data->set(...);
$data->create();

or

$data = new MyModel( id );

$data->set(...);
$data->update();

Methods

Currently supporting the basic CRUD methods: create, read, update, delete

Options

These are the options added in the site's configuration

Simple DB

  • simpleDB_host: The host of the SimpleDB table(s) (default: sdb.us-west-1.amazonaws.com)
  • simpleDB_timestamps: If enabled inserts created & updated flags for every item (default: true)
  • simpleDB_soft_delete: A boolean that if selected hides the items instead of deleting (default: false)

S3

  • s3_region: The region of the S3 bucket(s) (default: s3-us-west-1.amazonaws.com)

Credits

Created by Makis Tracend ( @tracend )

Distributed through Makesites.org

Released under the MIT license

统计信息

  • 总下载量: 17
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-06-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固