Closed (fixed)
Project:
HTTP Parallel Request & Threading Library
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Apr 2012 at 23:57 UTC
Updated:
19 May 2012 at 04:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
mikeytown2 commentedCreated a question for this http://drupal.stackexchange.com/questions/29815/using-call-user-func-arr...
Comment #2
mikeytown2 commentedComment #3
mikeytown2 commentedAllows for syntax this this
Comment #4
mikeytown2 commentedFollowing patch has been committed. Now I need to add it into the readme.
Comment #5
mikeytown2 commentedFixed a minor error in the documentation
6.x - http://drupalcode.org/project/httprl.git/commitdiff/22f37769bad69cd6eba4...
7.x - http://drupalcode.org/project/httprl.git/commitdiff/cd845f3a2b72b0ba31b9...
Comment #6
hass commentedWould be helpful to understand why we need this with some concrete examples... I'm currently asking me about the use case...
Comment #7
mikeytown2 commentedThe callback endpoint can now be done at database level bootstrap (full bootstrap currently). Copy httprl_caller.php to root dir... still need to workout some of the details.
Options this gives us:
- Running simple code no longer requires a full bootstrap (big speed improvement).
- Simple multi-step operations no long need a function wrapper.
- Include a file and run a function from it. Callbacks no longer need to be done in .module files.
- We can choose to bootstrap to a higher level and run code.
Comment #8
mikeytown2 commentedThinking about this more and I think having the RPC callback be configurable so it can load from a file or hook boot is the best option. Having it backwards compatible is possible so I don't need a 2.x version now that I think about it.
#1558456: Create hook_boot endpoint
Comment #9
mikeytown2 commenteddecided to scrap httprl_caller.php and go with hook_boot for faster execution times. Patch for readme has been committed.
Comment #10
mikeytown2 commented