php - Where to place application logic in a Thruway app? -


i build app thruway , autobahn.js first time use these tech, , little lost thruway code. read in stackoverflow thread :

“all application specific code should reside in wamp application components, not in router itself.”

but put these specific code where, how ?

for example, if client subscribe chatroom, , app need log thing, write in db, manage sessions, (usual things)... in facts, each of type of message hello, error, subscribe, publish, etc...

if of have code, great. me , others dev, found no example in ex. directory of thruway.

thanks

i have no idea thruway specifically, generally: can run wamp components like. application written in language wamp client library exists can wamp component , connect wamp router (like thruway, crossbar.io etc.). there no special mechanism running them.


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -