[symfony-users] Re: symfony and memcache doubt

2011-01-25 Thread Shihab KB
. 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

[symfony-users] symfony cache doubt

2011-01-20 Thread Shihab KB
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:

[symfony-users] Re: symfony cache doubt

2011-01-20 Thread Shihab KB
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

[symfony-users] Re: symfony cache doubt

2011-01-20 Thread Shihab KB
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  

[symfony-users] symfony and memcache doubt

2010-12-27 Thread Shihab KB
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

[symfony-users] Re: RESTFul etag

2010-11-09 Thread Shihab KB
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

[symfony-users] Re: RESTFul etag

2010-11-07 Thread Shihab KB
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

[symfony-users] RESTFul etag

2010-11-05 Thread Shihab KB
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

[symfony-users] generelize the parameter verification of routing file

2010-10-08 Thread Shihab KB
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:

[symfony-users] problem accessing parameters defined in routing file

2010-09-29 Thread Shihab KB
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:

[symfony-users] Re: functional tests and the user

2010-09-26 Thread Shihab KB
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')-  

[symfony-users] gettable find return value

2010-09-26 Thread Shihab KB
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

[symfony-users] Re: function testing restful api json format

2010-09-24 Thread Shihab KB
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

[symfony-users] function testing restful api json format

2010-09-22 Thread Shihab KB
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)-

[symfony-users] doctrine query help needed

2010-09-07 Thread Shihab KB
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

[symfony-users] Re: doctrine query help needed

2010-09-07 Thread Shihab KB
'); $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

[symfony-users] symfony application doubt

2010-09-06 Thread Shihab KB
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

[symfony-users] Re: doubt about segment_separators in symfony 1.4

2010-09-06 Thread Shihab KB
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

[symfony-users] Re: symfony application doubt

2010-09-06 Thread Shihab KB
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

[symfony-users] doubt about segment_separators in symfony 1.4

2010-09-05 Thread Shihab KB
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

[symfony-users] Re: symfony rest POST

2010-09-02 Thread Shihab KB
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

[symfony-users] Re: symfony rest POST

2010-09-01 Thread Shihab KB
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

[symfony-users] symfony rest POST

2010-08-31 Thread Shihab KB
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

[symfony-users] Re: symfony rest POST

2010-08-31 Thread Shihab KB
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

[symfony-users] synfony rest routing doubt

2010-08-26 Thread Shihab KB
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:

[symfony-users] Re: synfony rest routing doubt

2010-08-26 Thread Shihab KB
. 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

[symfony-users] symfony rest tutorial

2010-08-16 Thread Shihab KB
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