M
M
mutaev_murad2018-06-13 17:23:32
gulp.js
mutaev_murad, 2018-06-13 17:23:32

How to connect gulp project to php server?

Hello guys!
In general, there is a project on glup here, and we all know how a project with a gallp works, so let's say I need to send, receive data from the server from the database, all sorts of selects with country selections and reloading the page, etc. Well, in general, work with a server with a database, and so on. I don’t understand the moment with the virtual server, I had one project then I didn’t use gulp, I did it on an open server by installing WordPress, everything is clear here, there is a base there is a server. I started using gulp and now I need to interact with the base and now I don’t know what to do. Gulp came and I have a mess in my head, I don’t understand how to start working with the server

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Egor Zhivagin, 2018-06-13
@Krasnodar_etc

gulp is a assembler, it can raise a local server just to open the frontend conveniently. Everything.
You need a server and a backend - make a server and a backend, set up a base, ...

A
Alexander Aksentiev, 2018-06-13
@Sanasol

gulp has nothing to do with it at all.
It's a "server" to collect and/or serve you html/js and that's all at the time of html/js development.
The server that will give you data is a completely different entity and is launched, respectively, in some kind of back-end language with a separate address / port, and via ajax communication takes place with it.
Or you assemble and move your front/layout inside the backend piece of the project and it works from there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question