Greetings everyone, opinions please on this app - can CodeIgniter do this? |
[eluser]Unknown[/eluser]
Greetings all… I have a quick question regarding using CodeIgniter in a specific non-conventional way. I was hoping to get some opinions or suggestions on whether this is doable. First let me say that I am NOT a developer – especially in the OOP/MVC sense. I have a few years of light PHP scripting experience and am looking to go down the road of MVC frameworks – and CodeIgniter looks awesome! Anyways – I wanted to build a simple app, where a user can upload an entire pre-written html page (from <html> to </html> into a form, stored in MySQL, and then be able view that page via a url such as: http://www.domain.com/username/ So basically, create an app using standard MVC CodeIgniter coding principles: Create a user: http://www.domain.com/register/ Which in turn, will create their homepage: http://www.domain.com/username/ Also, create their admin page (password resets, etc…) http://www.domain.com/username/admin/ http://www.domain.com/username/admin/reset_password http://www.domain.com/username/admin/change_address http://www.domain.com/username/admin/add_content When the user added the above mentioned html content to the “add_content” form – it would be called from the database as and be seen via the URL: http://www.domain.com/username/ Obviously, per additional instructions, we could have a form to upload pictures & css - or they could do it manually - to such and such directory (perhaps views/images) – and make sure their code reference /siteroot/views/images for graphics and .css. The caveat would be how to store and escape/sanitize the code in the database – and render it properly (certain tags to be interpreted, and others as straight text). For example – any php code in their uploaded page would be rendered as straight text. So, that’s about it... Opinions/suggestions please :-) Thanks in advance... - Scott |
Messages In This Thread |
Greetings everyone, opinions please on this app - can CodeIgniter do this? - by El Forum - 06-13-2008, 01:25 PM
Greetings everyone, opinions please on this app - can CodeIgniter do this? - by El Forum - 06-13-2008, 02:14 PM
Greetings everyone, opinions please on this app - can CodeIgniter do this? - by El Forum - 06-14-2008, 10:43 AM
|