Welcome Guest, Not a member yet? Register   Sign In
How do I start using MVC. M first, then V then C ?
#1

[eluser]Unknown[/eluser]
when i developing an app using MVC approaches. how do i start? using M first, then V, then C, like sequence of letters in the acronym MVC. anyone can enlighten me about this?

thanks
#2

[eluser]Flyingbeyond[/eluser]
hey sada, you don't need to care about this more, as they are seperated parts representing Model,View and Controller. According to me, you should read the user guide for codeigniter work flow, then you will find the solution.
good luck.

Henry
#3

[eluser]sofwan[/eluser]
First we use Controller and View. Model later. For example, like in Ci Guide, an example making "Hello World" statement, write in a Controller and then View.
If we don't use database, we don't need to use Model. If we use database and SQL, a model can be used and not. We can put sql in controller if not use Model. But for that we don't get MVC full of advantages. Moreover if our application is big, it's easier to understand application flow if we use Model.




Theme © iAndrew 2016 - Forum software by © MyBB