- 授权协议: MIT
- 开发语言: PHP
- 操作系统: 跨平台
- 软件首页: https://github.com/farwish/alcon
- 软件文档: https://github.com/farwish/alcon/blob/master/README.md
软件介绍
Alcon
【简介】 Alcon 是一个PHP项目开发库 (尤其适合Phalcon框架)。
【用途】 一个应用开发中可以使用的公用结构,目的是拆分出来便于随时组装。
【演示】
composer require farwish/alcon:dev-master
提供状态码:
$status = \Alcon\Supports\Codes::ACTION_SUC;
$msg = \Alcon\Supports\Codes::get($status);
提供函数:
\Alcon\Supports\Helper::format_date('1234567')
提供Trait:
use \Alcon\Traits\ControllerTrait;
use \Alcon\Traits\ModelTrait;
提供服务层 :
// 只要继承自 \Alcon\Services\ServiceBase;
提供设计模式 :
$ev = new \Alcon\Design\EventBase();
$ob = new MyObserver;
$ev->attach($ob);
$ev->notify();
提供任务脚本 :
php vendor/farwish/alcon/src/Scripts/produce_all_models.php
【目录结构】
```
Design
|_ DecoratorBase.php
|_ EventBase.php
Scripts
|_ model_header.php
|_ produce_all_models.php
Services(Yar)
|_ ServiceBase.php
Supports
|_ Codes.php
|_ Helper.php
|_ STBase.php
Traits
|_ ControllerTrait.php
|_ ModelTrait.php
|_ ModelAdvanceTrait.php
```
【应用案例】
alconSeek
【维护与使用】
Join Qq Group: 377154148
If you do use this package, please let me know.
【A&Q】
How to install phalcon? you can reference:
1. https://docs.phalconphp.com/en/latest/reference/install.html
2. https://github.com/farwish/delicateShell/tree/master/lnmp
Ajax模式与最佳实践
Christian Gross / 李锟、张祖良、蔡毅、赵泽欣 / 电子工业出版社 / 2007-3 / 49.80元
Ajax 正在将我们带入到下一代的网络应用中。 本书深入探讨了动态的网络应用,将Ajax和REST集成在一起作为单独的解决方案。一个很大的优势是,与Ajax相似,REST可以和现今存在的技术一起使用。现在上百万的客户端计算机都是基于Ajax的,上百万的服务器是基于REST的。 无论你是否已经开发过Ajax应用程序,这都是一本理想的书。因为这本书描述了各种各样的模式和最好的实践经验。通过此......一起来看看 《Ajax模式与最佳实践》 这本书的介绍吧!
