1

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.

1
  • 1
    Firstly, your question is quite broad and moreover you should first try yourself and ask if you're stuck with some aspect. Commented Jun 1, 2016 at 11:15

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.