becouse i try want to separate frontend and api functionality on web,
i needed three leg api key validation (with request sign) on my
projetc.

my frontend application just showing data, (only select on all tables,
just session and users table included insert and update), other all
stuff update,delete,insert must be in api (of course with select).
lather i planned write a desktop application using this api.  for now
frontend and api using same code base maybe after i'll separete this
stack and i'll try write other languages. (like java, python) i
planned build like that archirecture for my project


  (videos,images)
        storage                        worker (1) worker(n)
               |                                   |                       |
               |               _  job manager------------|
               |             /                 |
    api machine /                  |
            |______________ |
            |                                  |
desktop app            web frontend

and i want to use this api like that
projecthome/api/rest/?api_key=&method=&otherparameters=    with post
or get http request. maybe i'll add other api interfaces like soap,
xml-rpc, json-rpc
in feature api machine just validate all data and route to job manager
but for now realy i dont need this.

oh, and i figure out why my routing data is cached, all its all about
definations in factory.yml,  my mistake. factory.yml is contain two
enabled all: section


all:
  routing:
    class: sfNoRouting
    param:
      generate_shortest_url:            true
      extra_parameters_as_query_string: true
      lookup_cache_dedicated_keys:      false
      load_configuration:               true
      cache:
        class: sfNoCache
.... other definations .....

all:
   response:
    -------
# routing:
#  ... definations....
#
#



On Tue, Sep 1, 2009 at 7:21 PM, Eno<symb...@gmail.com> wrote:
>
> On Sep 1, 8:30 am, selam <selam...@gmail.com> wrote:
>
>> I try write a rest route class for using in my project,  i write that
>> becouse i needed route with get (as query_params) and post params and
>> checking all data must be valid before execute action.
>
> Im wondering why you need to write a RESTful route class when you can
> already do RESTful routing using symfony?
>
>
> --
>
> >
>



-- 
Saygılar && İyi Çalışmalar
Timu EREN ( a.k.a selam )

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to