× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

[Request] Simple PHP website development assistance

Geoff Douglas
Aug 14, 2014
<p><strong>Q: What was the request about? </strong><br>How to create htaccess rules that will allow for pretty urls and allow PHP to control 404 errors and url path validation.<br><br><strong>Q: How did you help with the request?</strong><br>We reviewed the needs of the website, and found that a request controller would be beneficial. The controller that we created allows for some url validation and some error page handling.<br><br><strong>Q: Any best practices &amp; key learnings you can share?</strong><br><span style="color:rgb(95, 99, 102); font-family:lato,sans-serif">The main question&nbsp;that we need to answer for an application or website&nbsp;is where do we put the logic to control the flow of an application. Creating a controller that can route and validate requests is a great idea.&nbsp;</span></p><p>&nbsp;</p>