[SERVER-5989] XMLHttpRequest: Need mongo to XMLHttpRequest Created: 01/Jun/12 Updated: 31/May/17 Resolved: 22/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript, Networking, Usability |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Nas Kavian | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
All |
||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
Leveraging JavaScript is awesome, but I'm needing a way to make an HTML post. Having XMLHttpRequest would be great so I can push data from the DB instead of always pulling data from the client. I've seen sample code of how someone has put XMLHttpRequest into V8. 2 possible fixes:
|
| Comments |
| Comment by Andrew Morrow (Inactive) [ 22/Mar/17 ] |
|
nask - I am planning to close this old server ticket. We do not plan to implement support for allowing the running server to issue XMLHttpRequest requests from within Javascript evaluation contexts. The database server is not a general purpose application container, and allowing user controlled RPCs out to external systems into the database processing pipeline would risk destabilizing the database. It would also introduce considerable complexity. Finally, we are generally discouraging the use of db.eval, as it is deprecated, and we are recommending that most users of MapReduce move to the aggregation features. Given that, the number of contexts where such a feature would be useable is declining. Please feel free to re-open this ticket or leave further comments if you have further thoughts on this request, or on our reasons for declining to pursue it. |