4

OK, not so much of a rant, but here it goes. As a JS developer having only used JavaScript and the jquery library I am having a hard time figuring out Angular, and some practical use cases.

All the guides I have Bern looking at have had Angular control the routes and load content (as a one page application) but can it be used in another way, eg having Laravel control the routes and load PHP pages using different Angular controllers depending on page loades, or would that eliminate the benefits of Angular altogether?

Comments
  • 2
    That would eliminate angular advantages as a SPA (single page application)! Read John's Papa style guide on github, it gives lots of insights on how to build an Angular app.
  • 0
    use angular2 go directly to The brand new
  • 0
    Angular 2 will never be big, too much hassle #unpopularOpinion
  • 0
    Yes, you can use laravel and angular together for a multipage app. You can use routes to eliminate reloading a page, you can add stuff dynamically in the frontend (like a to do app or a meeting in a calendar without reloading the page)
    http://angular-tips.com/blog/2014/...

    And an page I made for a client in laravel/angular (don't judge the design he wanted it exactly like that): https://sunnuhuis.smthdiff.com
Add Comment