How To Make a Routing Table?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Start by listing out all of the possible routes your user could take when accessing your website. Include not only those for common pages, but also for any special services or features you may offer.
2. Identify which route should be considered the default (the one users will be directed to first).
3. For each route, determine what type of HTTP request it should respond to – GET, POST, or both.
4. Determine what parameters (if any) each route should accept, and how they should be passed.
5. Finally, create your routing table with all this information, assigning a URL pattern to each route.