E
E
Evgeny Koryakin2019-04-22 22:59:40
React
Evgeny Koryakin, 2019-04-22 22:59:40

Is it possible to pull ReactJS as a theme on PHP engine?

Hello.
We got into the problem of writing a mobile application. We write on ReactJS + WebView .
How the engine stands DataLife Engine . There is no technical possibility to migrate anywhere, and writing an API is expensive and we are not included in the budget.
The theme structure itself is something like this:
Publication file shortstory.tpl :

<div class="order">
  <div class="orderAddres">{title}</div>
</div>

Where {title} is the title of the post
. Is it possible to somehow pull ReactJS as a theme on the PHP engine? We use the VK UI
component library as a basis .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavlo Ponomarenko, 2019-04-23
@zettend

You will get a Frankenstein that you will curse day after day.
Or do full server rendering with PHP (or some templating engine)
Or do API and client rendering.
If you don't have time for this - alas, it's better not to even try - with your hybrid approach, you will spend much more effort and energy with much less exhaust

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question