Answer the question
In order to leave comments, you need to log in
Will it be convenient to organize a PHP client for RestFull API (SPA)?
I read about this case in particular about the issue of SPA application, authorization and what to render backend'y?
For myself, I generally identified several disadvantages with the pure js + rest full approach:
- we lose the ability to work with cookies and sessions
- it's not very convenient and not familiar to work with JS MVC
- SEO optimization.
- everywhere you need to drag the token back and forth
. Actually, there are thoughts in this direction:
- RESTFULL api server (separate project)
- and we can write a client to it on any php framework in the classic form. The difference is that all the logic is in the api, and the models are only a request-response to the rest api.
It turns out there are no problems.
If anyone has experience with this, please explain. Guides are not interesting, it is your practical experience that is interesting.
Answer the question
In order to leave comments, you need to log in
You can set it as the background of the entire section and position it in the corner, as an option
make a frame through the pseudo elements :before and :after
options how to make a mass :-) but you definitely need to do it through the use of pseudo elements
we lose the ability to work with cookies and sessions
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question