How can we integrate Angular 2 using MySQL database and php for database connectivity ?? As angular 2 and XAMPP using the different ports.
so please help me to give approach to work with back end and angular 2(front end).I am new in angular 2.
How can we integrate Angular 2 using MySQL database and php for database connectivity ?? As angular 2 and XAMPP using the different ports.
so please help me to give approach to work with back end and angular 2(front end).I am new in angular 2.
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.