A Meteor way to structure AngularJS code wih Laravel 5.1
I have recently started working with MeteorJS , which I find it an interesting tool for creating Web Apps. In two words about meteor — it has an installer, which includes MongoDB, a webserver and JS interpreter which is some kind of modified NodeJS (though I am not sure), and Meteor backend+frontend framework. All of that is inside a single installer and sets up with two clicks (and later it can be hosted on a subdomain with their origin like {yourappname}.meteor.com with a single comand — like “meteor publish {yourappname}), so I think it is definately worth trying, because it has such a big difference in approach compared to Laravel, ROR, Django and most frameworks, which mostly rely on HTTP requests (Meteor uses a protocol based on websockets which communicates with frontend framework to keep the code updated). On of the practices of structuring code with Meteor is setting them into folders “client”, “server”, and “common”. The client code is only interpreted by the cl...