Welcome Guest, Not a member yet? Register   Sign In
MVC Hierarchy question.
#7

[eluser]smalter[/eluser]
EDIT: if an admin read this topic, he could modify the subject to "MVC Architecture (French users welcome!)"?. Thx

Thank's for your help!

But I still searched on the forum but i could not resolve my problem. Sad

I try to load multiple controllers (even if it is not recommended), create my own library, but in my case, it returns to the same that to use a model. I am still forced to "load" functions of my library, if i want to add/delete a "modules" in one of my views, i owe to delete him from my controller and from my view.

I think what i want to make is very simple:

In Classic PHP:
--------------------------
For exemple:

module.php:

// Connection to database
// Output HTML

homepage.php:

// Include module.php
// Include module2.php
// Include module3.php

If i dont want to display module2.php in my homepage, i delete the line include('module2.php') from my homepage. Smile
--------------------------

I definitely understood that this question is often asked on this forum, but i'm lost. Sad

Very sorry for my english, but i love CI and i want to use all her capacities. Wink

Thank's!

PS: Si quelqu'un parle francais par ici, un peu aide en français serait la bienvenue. Merci d'avance!


Messages In This Thread
MVC Hierarchy question. - by El Forum - 12-25-2007, 05:52 PM
MVC Hierarchy question. - by El Forum - 12-25-2007, 10:38 PM
MVC Hierarchy question. - by El Forum - 12-26-2007, 02:13 AM
MVC Hierarchy question. - by El Forum - 12-26-2007, 04:12 AM
MVC Hierarchy question. - by El Forum - 12-26-2007, 04:25 AM
MVC Hierarchy question. - by El Forum - 12-26-2007, 05:26 AM
MVC Hierarchy question. - by El Forum - 12-26-2007, 09:03 PM
MVC Hierarchy question. - by El Forum - 12-26-2007, 11:59 PM
MVC Hierarchy question. - by El Forum - 12-30-2007, 05:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB