Code Monkey home page Code Monkey logo

zfr-rest's Introduction

ZfrRest

Build Status Coverage Status Scrutinizer Quality Score Latest Stable Version Total Downloads Dependency Status

If you are an Ember Data user, I have created a specific renderer that output JSON compliant payload. I didn't released it yet as it's not really clean, but if you're interested, please contact me :).

Installation

Install the module by typing (or add it to your composer.json file):

php composer.phar require zfr/zfr-rest:0.3.*

Then, add the keys "ZfrRest" to your modules list in application.config.php file, and copy-paste the file zfr_rest.global.php.dist into your autoload folder (don't forget to remove the .dist extension at the end!).

ZfrRest vs Apigility

Apigility is a Zend Framework 2 API builder that also aims to simplify the creation of REST APIs.

ZfrRest and Apigility philosophies are completely different. ZfrRest is Doctrine only, and focuses only on a very small subset on your REST API: it provides routing, validation and hydration.

On the other hand, Apigility comes with a graphical user interface, versioning support, authorization, authentication HAL, content negotiation... ZfrRest will never provide all those functionalities, so if you need them, just go with Apigility.

ZfrRest's scope is much more limited (although I'd really like to add support for versioning and links), but I really think it's a nice product too. So give it a try to both products, and choose the one you prefer!

Documentation

The official documentation is available is the /docs folder.

zfr-rest's People

Contributors

bakura10 avatar danizord avatar jmleroux avatar macnibblet avatar ocramius avatar orkin avatar sasezaki avatar thinkscape avatar zluiten avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.