Closed pdonorio closed 8 years ago
@mdantonio we may discuss this tomorrow, in chat/video
My theory:
#
symbolI can write a small test in my branch, independent from the actual app where we already have some code.
Ok, so HTML 5 mode went well
:happy:
Reaching url and parameters to python and javascript a the same time. Is it possible?
The problem
We will route pages with flask views, e.g.
This snippet provide
mypage.html
template with interpreted python to the URL http://mywebsite.com/myview or when adding the id like http://mywebsite.com/myview/42Once we access
/myview/42
by URL we want to use the element 42 in our Table. At this point who is going to select the data on the API side? Angular? How to recover '42' with angularjs when the routing is done by Flask?