CodeIgniter Forums
URL Routing without page refresh - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: URL Routing without page refresh (/showthread.php?tid=32907)



URL Routing without page refresh - El Forum - 08-09-2010

[eluser]Unknown[/eluser]
I am extremely new to codeigniter and am curious how I would go about taking advantage of url routing WITHOUT refreshing the page? Could this be solved by using one controller file and one view?


URL Routing without page refresh - El Forum - 08-09-2010

[eluser]danmontgomery[/eluser]
http://ellislab.com/codeigniter/user-guide/general/routing.html


URL Routing without page refresh - El Forum - 08-09-2010

[eluser]mddd[/eluser]
I'm not sure what you mean. CodeIgniters url routing is MEANT to work without refreshing.
For instance if you have a route that says $route['latest'] = 'blog/show/latest'; then calling www.example.com/latest will load the controller 'blog' and call the method 'show' with the argument 'latest'. Without refreshing anything.