Are PHP MVC Controllers implemented by url rewrite? -


In a Java EE application, the controller can be presented by the servlet, which is currently using Java serverwork Can be implemented (JSF).

But there is no such sublink in PHP, so I think this URL should be rewritten?

So that every request should be directed to that controller? It can be done with mod_rewrite but most php has a front-controller mechanism that controls all. This way, through a file, all the controllers are specified in the URL.


Comments

Popular posts from this blog

asp.net - Change the driver in the connection string to a data source in VB.Net -

Getting started consuming web services in a Ruby on Rails 3 application -

objective c - iPhone and it's wireless area -