In Sinatra you don't even need the methods. For example:
get '/say/*/to/*' do
# put code here
end
post '/somewhere_else' do
# put code here
end
If the original developer hasn't seen Sinatra it'd be worth checking out for some ideas - Sinatra is becoming quite popular in Rubyland lately so the ideas are reasonably sticky and probably worth porting to PHP.
In Sinatra you don't even need the methods. For example:
If the original developer hasn't seen Sinatra it'd be worth checking out for some ideas - Sinatra is becoming quite popular in Rubyland lately so the ideas are reasonably sticky and probably worth porting to PHP.