blendsdk/blendengine

通用后台应用程序框架

v2.1.2 2017-09-16 19:02 UTC

README

请注意:此项目处于开发中,尚未准备好用于生产。

BlendEngine 是使用 Symfony 组件编写的 Web 应用程序框架。它定制在 Silex 和 Symfony 之间。它包含几个核心组件,用于创建 Web 应用程序和面向公众的网站。

当前内置功能

- Dependency Injection Container, and a Service Container.

- Routing: similar to Symfony and Silex.

- Modules: generic solution similar to Bundles in Symfony.

- Translation: for making the application multi-lingual.

- PostgreSQL: We only support PostgreSQL for obvious reasons.

- Data Models: Generic data mapper and builder for ORM, not Doctrine!

- Template: Support for Twig, and Raw PHP templates.

- JSON configuration: configuration files are in JSON, not .yml.

- PDF generation: Helps generating PDF files using wkhtml2pdf library.

- SwiftMailer: Provides functionality to send e-mails.

- Session Handling: Native (php native) session handling by default but
    customizable to use Redis or Memcache

- Text and JSON Response: Creates the correct HTTP response based on
    controller/action return values

- Security: Simplified security handling for Form based authentication.

- Roles: Simplified Role handling to tie a Route to a role

- Event Dispatching: Same as Silex and Symfony

- Form Processing: Easy Form processing, included built-in POST->Redirect-GET

- JSON API: Built-in functionality to create JSON (REST-ish) APIs

需求

BlendEngine 需要以下组件

 - PHP 5.6    : Is required and must be available from the command prompt.
 - composer   : Is required and must be available from the command prompt.
 - compass    : Required if you want to be able to compile the sass files to css
 - PostgreSQL : Required if your application needs to work with a database (We don't support MySQL)