Welcome Guest, Not a member yet? Register   Sign In
Developing a Large-Scale Application in CI
#5

[eluser]rogierb[/eluser]
Code:
1. Are there any shortcomings in using this approach from a software design viewpoint?
2. How hard is it to use CI’s model system in order to retrieve data from outside of CI?
3. Is it possible to put a layer inbetween the controller and the model?
4. How hard would it to be to introduce a request-type layer. For example, if I send a json/ajax request from the view via a javascript layer, would it be difficult to have the application controller check the request then modify the output depending on the request?
2: that is the basic idea behind models: getting data. No.
4: You are talking about basic ajax caal, which will in 90% of the time go to a controller anyway, so, yes it is possible. We even go from controller to library, back to controller to another library, back to conroller and then parse the data back through the calling view.


Messages In This Thread
Developing a Large-Scale Application in CI - by El Forum - 04-21-2009, 10:47 PM
Developing a Large-Scale Application in CI - by El Forum - 04-22-2009, 02:58 AM
Developing a Large-Scale Application in CI - by El Forum - 04-22-2009, 03:27 AM
Developing a Large-Scale Application in CI - by El Forum - 04-22-2009, 03:30 AM
Developing a Large-Scale Application in CI - by El Forum - 04-22-2009, 03:31 AM
Developing a Large-Scale Application in CI - by El Forum - 04-22-2009, 03:33 AM
Developing a Large-Scale Application in CI - by El Forum - 04-22-2009, 03:37 AM
Developing a Large-Scale Application in CI - by El Forum - 04-22-2009, 03:54 AM
Developing a Large-Scale Application in CI - by El Forum - 04-22-2009, 04:09 AM
Developing a Large-Scale Application in CI - by El Forum - 04-22-2009, 04:24 AM
Developing a Large-Scale Application in CI - by El Forum - 04-22-2009, 07:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB