Answer the question
In order to leave comments, you need to log in
How to parse CNC?
The topic is beaten, there are many implementations on the Internet, but they are not quite suitable for me. I would like to hear people's opinions and options. In general, the essence of the problem: there are links, for example:
country/russia - leads to a static page;
country/russia/hotels - leads to a dynamic page with products;
country/russia/hotels/about - leads to a static page.
How can this thing be parsed? Parsing through slashes is not an option, because. these are not modules / handlers, but simply an alias invented by the user. There is an option to move the url to a separate table, but each time you will have to additionally access this table. You can store urls in files, this is the best option in my opinion. What do you think? :)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question