by jream » Sun 16 Dec 2012 01:27
Hey Colin,
Ive been using the Orbiter framework extensively, and I must say this system is powerful. It's quite a masterpiece. I would really love to see Union Platform grow in popularity because it offers so much. I reference the Flash API since ECMA is the same as JS, it has seriously amazing documentation. Incredible work has gone into this masterpiece. Also, the naming convention is beautiful and easy to follow.
When I started this system out I don't think I totally understood how it worked. I wanted to save everything in a MySQL database and I didn't realize I could set so many Room and Client Attributes to do most of the dirty work I needed. So at first I was creating a wrapped in PHP to easily format UPC codes over to the Union server, alas I had to do AJAX calls but I didn't mind.
For example, I could do a single initialization AJAX call to PHP, and in the PHP wrapper sends many UPC codes to create/login users, generate rooms based off MySQL if desired, set all their attributes, and I would have very little going on in the JavaScript besides a few listeners to handle the UnionServer socket and update the page. This would be more secure than allowing JS to make API calls, as a user could possible go into the console and figure it out.
Perhaps I dont totally know what Im talkin about, I am still learning :)