.
Cheers,
Mathieu
On 27 déc, 13:11, Shihab KB shiha...@gmail.com wrote:
Hi,
We have created a restful web service usingsymfony(symfony1.4 and
doctrine ORM) for a content management system. Clients from various
location of the world access the data of the content management system
thru
Hi,
I would like to add caching feature to my restful webservices. I am
planning to use the default caching mechanism provided by the symfony.
For that I have changed the cache.yml as given below,
enabled: on
with_layout: true
lifetime: 900
client_lifetime: 0
And set cache:
that is not possible as we need to authenticate the user by using the
usertoken
any other methods?
On Jan 20, 4:24 pm, Gabriel Petchesi pghora...@gmail.com wrote:
Eliminate the user key from the
Thanks for your answer.. I read the link. But unfortunately I didn't
from it. Could please explain more?
On Jan 20, 7:48 pm, Gabriel Petchesi pghora...@gmail.com wrote:
Set up a custom cache key for the given page that does not include that
information.
Look for documentation about
Hi,
We have created a restful web service using symfony (symfony 1.4 and
doctrine ORM) for a content management system. Clients from various
location of the world access the data of the content management system
thru the restful apis. Each time of api call the data base query is
required. We are
On Nov 8, 7:28 am, Shihab KB shiha...@gmail.com wrote:
Thank you for your answer. I am trying to implement ETag in my restful
apis. I have a problem here. Please check this and could you please
give me a solution?
Hi,
I am trying to implement etag feature in my RESTFul web services. I
respond back with the
cached version if the resource of id 10 has not changed but reprocess the
request if it has changed.
On Fri, Nov 5, 2010 at 8:29 AM, Shihab KB shiha...@gmail.com wrote:
Dear friends,
Can you explain me the significance and benefits of enabling the ETag
feature
Dear friends,
Can you explain me the significance and benefits of enabling the ETag
feature ?
regards
Shihab
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups
Dear friends,
Please find one my routing entry.
# Get contents of qa page by page
api_qa_get_qa_by_id:
url: /:servicetype/:ver/:lang/:usertoken/:contentid/
qacontent.:sf_format
class: sfDoctrineRoute
param: { module: qa, action: qabycategory, sf_format: json }
options: { model:
Hi,
I have an issue. The parameters defined in the “param:” of routing.yml
is not getting in the model class (here CommentsTable). Can you
suggest a method to solve this issue?
The below are my routing entries.
# Get comments with default page settings
api_common_get_comments:
url:
Any reply for my question
http://groups.google.com/group/symfony-users/browse_thread/thread/ba8fae1fab778f4a#
On Sep 25, 3:27 pm, Nophiq nop...@gmail.com wrote:
Hi everyone,
I solve that problem in this way:
$browser = new sfTestFunctional(new sfBrowser());
$browser-
info('Login')-
Hi All,
I am writing a code to find records from a table by using the
following statement.
$rating = Doctrine::getTable($tableName)-find($request-
getParameter('contentid'));
echo $rating['name'];
I want to check the result of find is null or it returned any row. How
can I
22, 7:34 pm, Shihab KB shiha...@gmail.com wrote:
Hi,
I am writing a functional test for my restful api. My rest API returns
a json format output. I write a test for validating the return of the
api like below.
1)
$browser-
get('vod/1/en/dfdfd/vodcategories
Hi,
I am writing a functional test for my restful api. My rest API returns
a json format output. I write a test for validating the return of the
api like below.
1)
$browser-
get('vod/1/en/dfdfd/vodcategories')-
with('response')-begin()-
isStatusCode(200)-
dear friends,
I have the following tables.
News [id, title, …]
Education [id, title…..]
Health [id, title, ….]
ContentImage [id, contented (id of the News, Education, Health), type
(like News, Education, Health), path…]
The News, Education, Health may or may not have images in the
ContentImage
');
$newsImages = $q-execute();
or images for a particular news item:
$news-getImages();
On 7 Sep, 15:30, Shihab KB shiha...@gmail.com wrote:
dear friends,
I have the following tables.
News [id, title, …]
Education [id, title…..]
Health [id, title, ….]
ContentImage [id, contented
Hi Friends,
I am creating a content management system using symfony 1.4. Also some
rest apis to access the content management system data for some
outside applications. By default symfony generates an application
“frontend”. And I have created all my content management systems in
it. Now I want
suggestion would be anyway not to use . in the API version
number. This way 1.2 would become 1_2 or 12 or 1,2. Simply use
another separator (or no separator at all)...
On Sep 5, 8:04 am, Shihab KB shiha...@gmail.com wrote:
Hi,
I am writing a REST API using symfony version 1.4
the restful.php from your url
On Mon, Sep 6, 2010 at 1:38 PM, Shihab KB shiha...@gmail.com wrote:
Hi Friends,
I am creating a content management system using symfony 1.4. Also some
rest apis to access the content management system data for some
outside applications. By default symfony generates
Hi,
I am writing a REST API using symfony version 1.4. In the version
parameter the values may be 1.1, 1.0 etc. Since '.' character is a
default segment seperator character, I given segment_separators:
['/']. But when the value of version have a '.' character it is giving
me an error. Can you
on a combination of URI components and
request types.
On Wed, Sep 1, 2010 at 9:13 AM, Shihab KB shiha...@gmail.com wrote:
Can you check this routing is correct?
api_createuser:
url: /rest/userregistration.:sf_format
class: sfDoctrineRoute
param: { module: rest, action: user
processGetRequest($parameters)
{
//Whatever code here you need to do whatever you want with the get
parameters
}
On Tue, Aug 31, 2010 at 2:00 PM, Shihab KB shiha...@gmail.com wrote:
Dear friends,
I would like to do one REST API for creating a users by POST method. I
am new to REST, php symfony
Dear friends,
I would like to do one REST API for creating a users by POST method. I
am new to REST, php symfony. I just now created a rest api to get
uses from the database.
Can somebody help me by providing a samples for creating a rest api
with POST method... I request you to give me the
parameters
}
public function processGetRequest($parameters)
{
//Whatever code here you need to do whatever you want with the get
parameters
}
On Tue, Aug 31, 2010 at 2:00 PM, Shihab KB shiha...@gmail.com wrote:
Dear friends,
I would like to do one REST API for creating a users
Hello friends,
I am preparing REST apis for my content management system. I am using
symphony 1.4. Finally I could create a REST api for getting contents
from the server. The content of my routing file is given below.
Code: Select all
api_womenbytitle:
url:
. But I would like to ask that, whether
these information are documented somewhere? I have checked the
Symfony_Reference document. But I couldn't find there.
On Aug 26, 6:08 pm, Shihab KB shiha...@gmail.com wrote:
Hello friends,
I am preparing REST apis for my content management system. I am using
Dear All,
I am trying to create REST APIs for my content management system. I am
using symfony. Can somebody suggest me a tutorial for creating REST
APIs using symfony framework?
regards
Shihab
--
If you want to report a vulnerability issue on symfony, please send it to
security at
27 matches
Mail list logo