博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
FOSRestBundle功能包:使用指南
阅读量:7082 次
发布时间:2019-06-28

本文共 1388 字,大约阅读时间需要 4 分钟。

  • 原文出处:

  • 原文作者:

  • 授权许可:

  • 翻译人员:FireHare

  • 校对人员:

  • 适用版本:FOSRestBundle 0.12.0

  • 文章状态:草译阶段

Getting Started With FOSRestBundle

Installation(安装)

Installation is a quick (I promise!) 1 step process:

安装只需一步(我发誓)

Bundle usage(功能包用法)

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)

Config reference(配置参考)

Check out the for a reference on the available configuration options.

查看配置参考以参考可用的配置选项。

Example application(s)(应用示例)

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/

你可能感兴趣的文章
Ansible基础
查看>>
3D打印材料的发展现状(1)
查看>>
API相关基础知识
查看>>
黑马程序员-面向对象-07天-1 (抽象类描述)
查看>>
1106JS循环
查看>>
FreeBSD从零开始---安装后配置(一)
查看>>
PHP Ajax 跨域问题最佳解决方案
查看>>
Linux之开源软件移植
查看>>
C#.NET SQLite自适应32位/64位系统
查看>>
stl本子
查看>>
浅谈大型网站动态应用系统架构(转)
查看>>
iOS 日期时间控件
查看>>
ABAP 四舍五入函数
查看>>
JDBC使用步骤分哪几步?
查看>>
线段树心得
查看>>
Linux 进程间通信 信号灯集
查看>>
Python Day 8: html 基本知识
查看>>
2012年4月19日
查看>>
UVA 11090 Going in Cycle!! 二分答案 + bellman-ford
查看>>
final,static,super,this
查看>>