Quick Start

  • admin
  • admin's Avatar Topic Author
  • Away
  • Администратор
  • Администратор
More
6 months 3 weeks ago #6859 by admin
Quick Start was created by admin
In the following, we use an example to illustrate how...

Quick Start

Yii provides a whole set of tools to simplify the task of implementing RESTful Web Service APIs. In particular, Yii supports the following features about RESTful APIs:

  • Quick prototyping with support for common APIs for Active Record;
  • Response format negotiation (supporting JSON and XML by default);
  • Customizable object serialization with support for selectable output fields;
  • Proper formatting of collection data and validation errors;
  • Collection pagination, filtering and sorting;
  • Support for HATEOAS;
  • Efficient routing with proper HTTP verb check;
  • Built-in support for the OPTIONS and HEAD verbs;
  • Authentication and authorization;
  • Data caching and HTTP caching;
  • Rate limiting;
Read more...