A
A
abubekovdd2017-03-03 12:46:13
PHP
abubekovdd, 2017-03-03 12:46:13

Transferring a site to ajax technology?

Good afternoon!
For example, Bitrix components have such an option "Enable ajax". Then all links of the component template at the moment of execution turn into a special structure for working through ajax. And the component that, before enabling ajax, worked like a normal application with reloading pages when clicking on links, after enabling the ajax technology of the component, it turns into a fully working application without reloading pages.
That is, you code in php as usual, make up the template in HTML, then turn on this "feature" of the component and get the already working ajax code - without reloading the pages.
The question is, are there any classes, frameworks, etc. that allow you to work in this way?
I understand that you can write your own php and js handler, but I don’t want to reinvent the wheel, and I don’t know how to formulate a question to Google either :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2017-03-03
@Pendal

pjax support is built into yii2 - this is what you need

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question