Best Code Structure Technique PHP -


i've been thinking long , hard best way structure code project i'm working on, allow easy development , management.

upon carrying out search on internet relating subject, has been mentioned more once, idea separate presentation code logic (e.g. html php)

i keen obtain better understanding on how guys code simple page displays information database , requires sort of user input, whilst allowing error messages displayed, if user incorrectly completes asked of them.

also, i'm looking best way link different pages within application. i've checked out forum software (phpbb, mybb , smf) inspiration , tend link different pages of website via main index.php file, containing switch statement. best way, or there other techniques used? - advantages/disadvantages of approach?

of course, choosing best structure use @ beginning of project highly important, need adopted throughout application.

if provide examples of code or point me in right direction, appreciated.

try use framework. example, kohana (i much) - can view source on github


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -