Closed (fixed)
Project:
Node.js integration
Version:
7.x-1.0-beta1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2009 at 14:41 UTC
Updated:
27 Jun 2011 at 18:51 UTC
Jump to comment: Most recent
Comments
Comment #1
twix commentedIs it possible to ajax submit forms though nodejs server and get json response?
Comment #2
Anonymous (not verified) commentedanything is possible.
but why do you want to do this? this module keeps the smarts and persistence with drupal, so this is possibly not the right fit for you.
Comment #3
twix commentedperformance/efficiency, if there is a socket open may as well use it rather than questing from apache again?
Also, is there a way to send nodejs ajax_commands to specific clients by uid?, to alter anything on page?
what the best IPC methods for nodejs, i have tcl apps that create data that can be passed to web clients'
Comment #4
Anonymous (not verified) commentedok, now i see where you're missing something.
there is no open socket between apache and the client, only between node.js and the client.
the node.js server-side js doesn't do anything that you could post to.
for the ajax_commands stuff, see the nodejs_ajax module - its a submodule of the nodejs module.
Comment #5
tizzo commentedIf Drupal needs to process the form you still have to bootstrap Drupal. Our node.js integration is mainly focused at what we can do with adding websockets to Drupal.