Open or poll a xhr polling session:
curl -v http://localhost:8081/echo/123/123/xhr
Send to a xhr polling session:
curl -i --header "Content-Type: application/javascript" -X POST -d '["data"]' http://localhost:8081/echo/123/123/xhr_send
Open or poll a xhr polling session:
curl -v http://localhost:8081/echo/123/123/xhr
Send to a xhr polling session:
curl -i --header "Content-Type: application/javascript" -X POST -d '["data"]' http://localhost:8081/echo/123/123/xhr_send
PredictionIO Setup Guide
--
This is a pretty much self-noted guide to setting up PredictionIO in a cluster of 3 servers (for this guide in particular).
You can also setup more servers and distribute the services mentioned here differently, but for the scope of this guide I won't explain how to do that, although you might use the references here to guide yourself into doing that.
<?php | |
/** | |
* Twitter Bootstrap Kohana helper | |
* | |
* example of use: | |
* <?=Bootstrap::grid($grid, Bootstrap::FLUID);?> | |
* <?=$grid->span($view, 4);?> | |
* <?=Bootstrap::icon('download', TRUE);?> | |
* <?=Bootstrap::button('Button'); ?> |