I installed IONIC, but I have no idea how to make PHP work

Asked

Viewed 102 times

0

I recently installed IONIC to develop for Mobile, I built an application in HTML and it worked ok, now I want to use PHP. What I need to do ?

  • 1

    Neither do I. I’ll wait to see if anyone responds. Thank you for asking. You’re welcome.

  • I didn’t get it right. Do you want to learn PHP first? If it is, you have to study. Now, your question is not formatted properly so we can answer it

  • Be more clear @Andersonmurakami. What do you really want to do with PHP? What functionality? Once this is done, it’s better for people to help you. : D

  • 1

    I WANT TO KNOW THIS: I CAN USE THE LARAVEL WITH THE IONIC ?

  • 2

    @Taopaipai, yes, Ionic runs on the client, qdo Lavarel runs on - PHP - server. =]

1 answer

1

PHP vc will make a backend to respond to IONIC. Your Ionic app will consume this backend (typically REST API) through asynchronous calls - AJAX.

What you have to do is study how to create a REST API with PHP.

I’m not a PHP programmer, but here’s an interesting document: REST API Tutorial

  • 1

    Who gave downvote, can justify?

  • 1

    For me the answer is good and explains well, Ionic is in mobile and php is a web-oriented language that gives HTTP responses, so Ionic can work with any HTTP response and to finish any language in the back end can work with Ionic, since they are in totally different layers and the interaction is totally via http +1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.