How to Integrate angular 2 with php and mysql db


http://stackoverflow.com/questions/37566872/how-to-integrate-angular-2-with-php-and-mysql-db


Angular has the Http class to perform AJAX calls to your backend. On the PHP side you need to handle those (typically REST) calls and implement your business logic. You can either use a full blown PHP framework such as Symfony or Laravel or a mini framework (basically a request router) such as Lumen or Slim.

posted @ 2016-09-08 14:54  张同光  阅读(77)  评论(0编辑  收藏  举报