Welcome Guest, Not a member yet? Register   Sign In
how can we make static html page?
#1

[eluser]suba[/eluser]
Hi all,

eventually I have completed two projects in CI.

But I have to do static web page. all are html pages.

Can I use the normal MVC pattern or is it have any option to do static web page which is same as CI user Guide?

Please advise
#2

[eluser]mi6crazyheart[/eluser]
Of course, MVC pattern can be used for static web pages also. I don't think it has any problem. Just by using Controller & VIEW u can connect all u'r static web pages. As MODEL we generally used for DB task purpose so, i don't think u need to use this a lot...
#3

[eluser]suba[/eluser]
hi,

Thanks for your reply.

Which is the good and efficient way to create static web pages either MVC pattern or any
normal pattern with CI? I want to use CI. I don't like to use html pages without CI
#4

[eluser]mi6crazyheart[/eluser]
HI suba, CI use MVC pattern. One can't use CI without MVC pattern. What do u think, can any one use any other pattern in CI rather than MVC... ? if yes, then how.. ?
#5

[eluser]Roy MJ[/eluser]
Hi,

For static pages i do by calling the view from a controller. There wont be any page in model nor do v have to call the model page from controller. Im not sure whether v cn use static pages without the MVC pattern.




Theme © iAndrew 2016 - Forum software by © MyBB