I
I
Igor Artyushin2018-09-23 21:41:56
Web development
Igor Artyushin, 2018-09-23 21:41:56

Question about store, PHP MVC model and modal window (what is its URI)?

MVC Controller and modal window, how to bind controller methods if there is no correct link in the address bar, when calling the modal window and with its content.
The MVC controller is configured to parse URIs: for example ..../product/id and now it knows everything - what to take from model , and what to return, and which view to return with data from model. i.e. everything is very strict and clear., but if you need to display data from model, a modal window that does not have a distinct /product/id. How can you do it? That is, how to pass data in the MVC model to the modal window? Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2018-09-23
@Sanasol

ajax to arrive
To MVC it ​​does not concern in any way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question