Welcome Guest, Not a member yet? Register   Sign In
Best practice on creating and uploading views on a codeiginter CMS system.
#1

[eluser]Marcone Ramos[/eluser]
Im working on a simple CMS for a client. He wants to be able to create or upload templates and pages. Does codeigniter allow upload views to the views folder or should it just save the html code to the database? What's the best practice? thanks
#2

[eluser]Aken[/eluser]
It really depends on how much involvement you want the client to have, and how web-savvy they are. If the client needs things as simple as possible, give them a really simple interface and save the content to a database. If they have an understanding of FTP and HTML and whatnot, teach them how to add pages themselves directly. The best practice is to figure out what the client wants and needs, and give them the solution that works the best.

You can allow uploads directly to the views folder if you want - there's no restriction there.
#3

[eluser]Marcone Ramos[/eluser]
thank you very much. The client wants to upload html file using the CMS. I just wanted to make sure that upload file to the view is a good practice, because Im a codeigniter beginner.




Theme © iAndrew 2016 - Forum software by © MyBB