Kryptos
prjRev.com
Hey guys,
So in the paste few days I've been learning more about the MVC pattern/architecture and I think I've really gotten the grasp of it.
So, the problem is I have no idea how to create a nice template engine that would be easily editable for someone with no PHP knowledge.
So, I'm at the moment picking which function the controller should call with a $_GET var(1 function per file/page), I think this is the best way to do it, instead of picking which class the controller should call(1 class per file/page) or any other alternative.
So, I don't know if you guys had any approach at this, since I wouldn't like for the users using the software to have to add a function and code in it for their page, I guess I could just limit them to use the already picked name files, but I really want to find another way.
Anyone?
So in the paste few days I've been learning more about the MVC pattern/architecture and I think I've really gotten the grasp of it.
So, the problem is I have no idea how to create a nice template engine that would be easily editable for someone with no PHP knowledge.
So, I'm at the moment picking which function the controller should call with a $_GET var(1 function per file/page), I think this is the best way to do it, instead of picking which class the controller should call(1 class per file/page) or any other alternative.
So, I don't know if you guys had any approach at this, since I wouldn't like for the users using the software to have to add a function and code in it for their page, I guess I could just limit them to use the already picked name files, but I really want to find another way.
Anyone?