PHP Programer  - 讨论区

标题:主打API开发的微型PHP框架:Wave Framework

2014年03月24日 星期一 15:44

Wave Framework号称是:Open Source API-centric PHP Micro-framework。

虽然是Micro-framework,但特性非常丰富:

Features

  • Modern API-centric framework for PHP versions 5.3 and above
  • Secure API requests with hash validation, token and key-based authentication
  • Dynamically loaded Hierarchical MVC objects through Factory pattern
  • API returns XML, CSV, JSON, HTML, native PHP and other data formats
  • Compressed data output with Deflate and Gzip
  • Input and output data is fully UTF-8
  • PDO-specific database controller for general-use database connections
  • Index gateway and Handlers for all types of HTTP requests
  • Caching system with tagging support for all types of dynamic and static requests
  • View and URL Controllers that support multiple languages and clean URL's
  • Users and permissions control
  • jQuery JavaScript framework supported
  • On-demand dynamic image resizer and editor
  • On-demand resource compression, unifying and minifying
  • Automatic sitemap.xml and robots.txt generation
  • Automatically generated API documentation
  • API wrapper classes that make browser and server to server communication easy
  • 256bit Rijndael encrypted data transmission
  • API Observers for creating event-specific listeners
  • API versioning and version updates
  • Installation-specific MVC class and resource overrides
  • Custom on-demand session handling
  • Security layer against MitM, XSS, CSRF and DoS attacks
  • Request logger that can be used for detailed performance grading of HTTP requests
  • Debugging, backup, update and filesystem maintenance tools
  • Compatibility script that tests support for server setup
  • Supports Apache and Nginx servers in Linux and Windows environments
  • Test Suite for API testing
  • Filesystem caching, database cache, APC and Memcache supported
  • 100+ pages of detailed documentation and tutorials
  • Licensed under GNU Lesser General Public License Version 3

 

经过我一段时间的试用,我认为其主要亮点是:

1,简单易用。反观某些Framework,需要买本书认真学习几周才能掌握。

2,支持多种数据返回格式,包括xml、json、atom等等。

3,可以根据注释自动生成API文档,避免文档和代码不同步的现象。

4,文档丰富,边看边写,一个下午就可以上手。

5,内置很多支持工具,比如数据库管理、日志查看器、自动化测试、API 客户端等等。

6,简单够用的数据库封装,恰到好处。

推荐大家有机会实践一下。

官方网站:

http://www.waveframework.com/

 

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2024

    京ICP备05028076号