• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best way to lay out MVC for a search engine

#1
[eluser]Unknown[/eluser]
- retrieves JSON files from separate search engines
- user can select to view individually or combined in any combination (engine 1+2, engine 2+3, engine 1+3, engine 1+2+3)
- it would be nice but not essential if the search could be run directly from typing in a URL such as (search/engine/query/numberofresults/ so the user wouldn't even need to load the homepage

I'm a bit unsure about best to way to lay this out. Ideas include:

1. include everything in controller function index and use if/else statements to retrieve the correct JSONs
2. separate controller functions and call them individually there, not sure if this is even possible?
3. use models to retrieve JSONs

Newbie to CI and PHP, please help!


Messages In This Thread
Best way to lay out MVC for a search engine - by El Forum - 07-13-2012, 05:56 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.