zurcxer Posted March 24, 2014 Share Posted March 24, 2014 Hi Pandajs experts!How can I make pandajs and angularjs work together? I would like to experiment on getting a resource object and use it in a game. Is that possible?Or is there any other js framework that can do the job?Thanks! Quote Link to comment Share on other sites More sharing options...
angelkom Posted March 24, 2014 Share Posted March 24, 2014 Getting from where? Quote Link to comment Share on other sites More sharing options...
zurcxer Posted March 24, 2014 Author Share Posted March 24, 2014 From a database like mongodb Quote Link to comment Share on other sites More sharing options...
zurcxer Posted March 24, 2014 Author Share Posted March 24, 2014 The idea is like combining mongodb, nodejs, expressjs, angularjs and pandajs in a single game. Is that possible? Quote Link to comment Share on other sites More sharing options...
grimor Posted March 25, 2014 Share Posted March 25, 2014 Really, you don't need Angular to get something from DB. You can use simple AJAX calls. Don't see usefulness of Angular.js in that case. Quote Link to comment Share on other sites More sharing options...
zurcxer Posted March 25, 2014 Author Share Posted March 25, 2014 I see.. Right now I'm looking at websocket. I found that panda.js has a plugin for websocket. I wanted to try to create a game that can interact with other players. Is there a sample code on how websocket and panda.js works? Thanks, Quote Link to comment Share on other sites More sharing options...
enpu Posted March 25, 2014 Share Posted March 25, 2014 https://github.com/ekelokorpi/panda.js-plugins/tree/master/websocket Here is little example on both client and server. Quote Link to comment Share on other sites More sharing options...
zurcxer Posted March 25, 2014 Author Share Posted March 25, 2014 Thanks for the update. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.