Query strings

29 views
Skip to first unread message

Fed X

unread,
Oct 15, 2017, 6:25:09 PM10/15/17
to Fat-Free Framework
Hi,
I am pretty new to F3. One of the issue I am facing is converting a site with a bunch of query strings, for example index.php?param1=x&param2=y...
Is there a proper/elegant way to attack this and convert to routes?
Thanks!

bcosca

unread,
Oct 15, 2017, 7:24:01 PM10/15/17
to Fat-Free Framework
Can't help you much here because it requires creativity and thoughtful design on your part. For starters, read the Apigee ebook on ReST which gives ample background on how to design URLs.

ved

unread,
Oct 15, 2017, 7:38:37 PM10/15/17
to Fat-Free Framework
That's really more of a rewriting issue.
You may be able to use your webserver to rewrite the old url's into a path based url and then use F3 regularly (although I personally haven't tried this).
You can see an example for Apache here and for Nginx here
Reply all
Reply to author
Forward
0 new messages