Meteor, Laravel RESTful API + AngularJS or Laravel for my next web app

I have a PHP background and I have several web applications with Laravel (3 and 4). I also have experience using RESTful APIs in my projects.

My current client has an ERP which is a bunch of PHP files. These files contain about 60K lines of spaghetti code. The client does not want to invest more money to develop this system, so we decided to rewrite the entire application. I know all the risks of rewriting and I also read Joel's article ( http://www.joelonsoftware.com/articles/fog0000000069.html ) so there is no need to discuss refactoring or rewriting.

For a new application, I was thinking about building a RESTful API with Laravel (4 or 5) and an interface with AngularJS. This was before I tested Meteor 1.0. It is very promising and it would be very nice to use it for this project. But is it suitable for such a product?

My client product looks something like this:

  • No public registration for this app (admin creates all users)
  • Complex user permissions (group-level permissions and user-level permissions, 6 groups)
  • File processing (images, PDF, etc.). Files are used as message attachments.
  • Large table tables
  • External API call

The app contains sections such as: users, orders, offers, time tracking, sales, reports, calendars, customers.

How to use Meteor intelligently for this kind of project or do you prefer RESTful API + AngularJS combo? I doubt it because I'm afraid that in large projects using Meteor the code will become useless.

+3


source to share


2 answers


I am working on a feasibility study for using a meteor on a similar project at google and I think Meteor would be great for your project.



  • Create Admin User - Check Houston

  • REST API - [you don't need one for your own tools] (need to think in Meteor terms). Meteor has a much simpler mechanism - Meteor.call and Meteor.methods .

  • Custom permissions - see roles package

  • File handling - see CollectionFS or search Atmosphere for upload .

  • External API Calls - HTTP.get makes it trivial. See also Atmosphere for specific packages.

  • Large table tables - see this answer about table widgets

+6


source


Don't know much about Meteor, but for the Angular variant, you can look at this POC app using AngularJS client and REST server:



https://groups.google.com/forum/#!topic/angular/Q3GrhAH39AU
http://www.civilian-framework.org/doc-samples.html#crm

0


source







All Articles