Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(156)

Issue 105099: Refactor MakeRequestHandler and MakeRequestServlet into a utility class

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 6 months ago by Arne Roomann-Kurrik
Modified:
16 years, 5 months ago
Reviewers:
chabotc
Base URL:
http://svn.apache.org/repos/asf/incubator/shindig/trunk/php/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Updated ProxyBase to reflect new calling semantics of the MakeRequest->buildRequest method #

Patch Set 3 : Includes the security token for proxied requests (needed if authz is set) #

Total comments: 4

Patch Set 4 : Refactored to use MakeRequestOptions class instead of a parameter array. #

Patch Set 5 : Slight change to where the require_once call was in MakeRequest.php #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1377 lines, -295 lines) Patch
M src/gadgets/GadgetContext.php View 2 chunks +12 lines, -1 line 0 comments Download
A src/gadgets/MakeRequest.php View 1 2 3 4 1 chunk +340 lines, -0 lines 0 comments Download
M src/gadgets/MakeRequestHandler.php View 1 2 3 2 chunks +25 lines, -237 lines 0 comments Download
A src/gadgets/MakeRequestOptions.php View 1 chunk +694 lines, -0 lines 0 comments Download
M src/gadgets/ProxyBase.php View 1 2 3 4 chunks +18 lines, -42 lines 0 comments Download
M src/gadgets/servlet/MakeRequestServlet.php View 1 2 3 1 chunk +8 lines, -15 lines 0 comments Download
A test/gadgets/MakeRequestTest.php View 1 2 3 1 chunk +246 lines, -0 lines 0 comments Download
A test/misc/sampleAtomFeed.xml View 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 5
chabotc
Code looks really great, that's a really a very nice cleanup! http://codereview.appspot.com/105099/diff/9/1022 File src/gadgets/MakeRequest.php (right): ...
16 years, 6 months ago (2009-08-13 19:25:11 UTC) #1
Arne Roomann-Kurrik
I realized that configuring the makeRequest class using an array was really more JavaScript than ...
16 years, 6 months ago (2009-08-15 01:36:39 UTC) #2
Arne Roomann-Kurrik
Ping on this review. ~Arne On 2009/08/15 01:36:39, Arne Roomann-Kurrik wrote: > I realized that ...
16 years, 5 months ago (2009-08-24 17:24:28 UTC) #3
chabotc
Patch LGTM, the only small hesitation i had is if the MakeRequestOptions class should be ...
16 years, 5 months ago (2009-09-05 14:21:38 UTC) #4
Arne Roomann-Kurrik
16 years, 5 months ago (2009-09-08 17:44:48 UTC) #5
Thanks!  I'll try and put the MakeRequestOptions class into MakeRequest.php in a
future patch.

Now for osapi.http support :)

~Arne

On 2009/09/05 14:21:38, chabotc wrote:
> Patch LGTM, the only small hesitation i had is if the MakeRequestOptions class
> should be included in the MakeRequest file (to many files tends to slow PHP
down
> by quite a bit), but it didn't seem a big enough deal to change that right
now.
> 
> Sorry it took a while for it to be committed! Please include
mailto:chabotc@google.com
> in the reviewers list in the future since i hardly -ever- check my gmail mail
> and it risks me missing such important things ;/
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b