Questions tagged [zend-rest-route]
20 questions
9
votes
3 answers
How to set up Hierarchical Zend Rest Routes?
With the Zend Framework, I am trying to build routes for a REST api on resources organized in the following…

Kenji Baheux
- 596
- 4
- 14
6
votes
2 answers
Zend Framework 1.9.2+ Zend_Rest_Route Examples
With the introduction of Zend_Rest_Route in Zend Framework 1.9 (and its update in 1.9.2) we now have a standardized RESTful solution for routing requests. As of August 2009 there are no examples of its usage, only the basic documentation found in…

Apex
- 1,018
- 1
- 11
- 13
4
votes
1 answer
zend rest controller routing to specific controller
I am fairly new to zend framework. I have been trying to write RESTful controller using Zend_Rest_Controller. I built one from a good tutorial
http://www.techchorus.net/create-restful-applications-using-zend-framework
It works perfectly. So I went…

biker46s
- 43
- 5
3
votes
2 answers
Zend framework Restful webserive logic usage
I am building an application using zend framework.
The question is, how to use the same controller logic of the Zend_Rest_Controller within a non-REST app.
For instance, let's assume twitter was written with Zend Framework. They would probably use…

Venu
- 7,243
- 4
- 39
- 54
3
votes
0 answers
How to configure routes for a Rest API in a ZF1 app with custom and optional actions?
We are setting a Rest API in a ZF1 web app and we're having trouble configuring the routes.
The idea is to have a global configuration in the application.ini that includes the 'classical' Rest routes and optional actions.
That means that we want to…

DamienM
- 31
- 1
2
votes
1 answer
Practical example for Zend RESTful API
I have referred many articles in the web on this subject but got only basic examples. I got some practical issues.
1). In Zend_Rest_Controller there are abstract methods for get, post, put and delete. how do I create my own function rather thean…

Shaolin
- 2,541
- 4
- 30
- 41
1
vote
1 answer
Zend Framework route for Sub Folders with Rest
For my current Application Setup i am trying to create a routing for Standard Controllers and Rest Controllers.
This is my Structure.
/application
/modules
/module
/controllers
/Admin
/Api
To call a Controller within the…

Martin Shwalbe
- 56
- 4
1
vote
1 answer
Zend_Rest_Route for a specific controller
I'm trying to make a Zend_Rest_Route for a specific controller. I want the rest of my site to behave normally, except when a particular Controller (UploadAPI) is requested. I think the sytnax should be as follow, but having a hard time verifying.…

hogsolo
- 13,565
- 6
- 24
- 25
1
vote
3 answers
Zend framework question about rest and modules
Guys I have the following structure in my project.
application/
Bootstrap.php
configs/
application.ini
modules/
default/
controllers/
models/
views/
Bootstrap.php
main/
…

nixgadget
- 6,983
- 16
- 70
- 103
1
vote
1 answer
zend framework1.12 rest services for web and mobile app
im new to zend framework and would like to create a web portal which offers a services .
The services would be used by webapplication and mobile application both.
I'm using Chris Danielson's article…

mark rammmy
- 1,478
- 5
- 27
- 61
1
vote
3 answers
set route with Zend_Rest_Route in routes.ini
I am trying to build an API with Zend_Rest_Route.
In my tasks module I have 3 controllers :
tasksController
typesController
statusController
I can access my tasks controller by setting this in my routes.init
routes.qtasks.type =…

Olivier
- 3,121
- 2
- 20
- 28
1
vote
1 answer
Zend Rest Route - how to create hierarchical URLs?
I'm developing an API using Zend Framework 1.12.3. I'm using Zend_Rest_Route, but I would like to have hierarchical…

Daniel
- 667
- 6
- 19
0
votes
1 answer
zend rest route messing up routing for default controller
I have implemented a RESTful service by extending the Zend_Rest_Controller. The service works great. I have only one controller that actually has RESTful behavior. So I added the rest route for just that controller in the bootstrap.
protected…

biker46s
- 43
- 5
0
votes
1 answer
Zend Rest Route with hierarchy
Currently I have a REST route working for an Event controller (/event). I would like to handle Event SignUps in an EventSignUp controller, and map this controller to a /event/signups route.
The Zend Framework documentation states that the URL…

Jan-Henk
- 4,864
- 1
- 24
- 38
0
votes
1 answer
Making restful requests in zend framework 3
So I am trying to make restful web request but, I may have configured it wrong which I cannot seem to fix.
I have mind that.
/companies GET -> index method
/companies POST -> add post method
/companies/1 GET -> show…

Ali Rasheed
- 2,765
- 2
- 18
- 31