Time, Date and Version |
[eluser]Shaileen[/eluser]
How can I write a basic web application, following the Model-View-Controller/Modular design pattern. The following URLs should be functional: • http://www.server.com/index.php?page=showTime - Displays the current system time. • http://www.server.com/index.php?page=showDate - Displays the current system date. • http://www.server.com/index.php?page=showVersion - Displays the current PHP / Java version. Each page should be represented by an individual class.
[eluser]TigerWolf[/eluser]
Codeigniter doesnt allow you to use GET so those urls will not work. The correct way to use Codeigniter would be to http://www.server.com/index.php/app/showTime http://www.server.com/index.php/app/showDate http://www.server.com/index.php/app/showVersion or just http://www.server.com/index.php/showTime There are lots of great tutorials out there that will help you create a model/view/controller design pattern. http://codeigniter.com/wiki/Category:Help::Tutorials I like this one: http://net.tutsplus.com/videos/screencas...tch-day-1/ Also please dont double post. |
Welcome Guest, Not a member yet? Register Sign In |