本文共 1388 字,大约阅读时间需要 4 分钟。
原文出处:
原文作者:
授权许可:
翻译人员:FireHare
校对人员:
适用版本:FOSRestBundle 0.12.0
文章状态:草译阶段
Installation is a quick (I promise!) 1 step process:
安装只需一步(我发誓)
Before you start using the bundle it is advised you run a quick look over the 5 sections listed below.This bundle contains many features that are loosly coupled so you may or may not need to use all ofthem. This bundle is just a tool to help you in the job of creating a REST API with Symfony2.
在您开始使用功能包之前,建议您先快速浏览下列5部分内容。这个功能包有着许多松耦合的功能,您可能不需要使用所有的功能。它只是个帮助您在Symfony2中创建REST风格API的工具。
FOSRestBundle provides several tools to assist in building REST applications:
FOSRestBundle提供几个工具来帮助构建REST应用:
(for simple resources)
(for resources with child/subresources)
Check out the for a reference on the available configuration options.
查看配置参考以参考可用的配置选项。
The following bundles/applications use the FOSRestBundle and can be used as aguideline:
下列功能包/应用可以做为使用FOSRestBundle的示例:
The LiipHelloBundle provides several examples for the RestBundle:
LiipHelloBundle功能包提供了几种使用FOSRestBundle的示例:
There is also a fork of the Symfony2 Standard Edition that is configured toshow the LiipHelloBundle examples:
这里有一个Symfony2标准版的分支,来于展示LiipHelloBundle的配置示例:
The FOSCommentBundle uses FOSRestBundle for its api:
FOSCommentBundle功能包使用FOSRestBundle生成API:
转载地址:http://zeoml.baihongyu.com/