Extend core libraries to detect the request file type and load applicable view |
[eluser]louis w[/eluser]
I have been thinking of doing something like this. I think I am going to use the routes to change output format http://localhost/blogs/view/1234 or http://localhost/_html/blogs/view/1234 >> output normally/html http://localhost/_xml/blogs/view/1234 >> output as xml http://localhost/_pdf/blogs/view/1234 >> output as pdf http://localhost/_json/blogs/view/1234 >> output as json It's only an idea at this point, not fully realized. |
Welcome Guest, Not a member yet? Register Sign In |