Hiya
Hiya
I was wondering can patterns be built into php when the code aint object orientated?
For example I dont use classes but instead opted for functions which I include in the necessary files. Now the idea of MVC pattern seems to be that the:
View = what the user sees (in my case the front end)
Controller = handles the user input (the php validation side)
Model = encalsulate the appropriate data ( the database)
Is it as simple as this?
are there any good places to understand php patterns more or can anyone else suggest some simple php patterns?
Cheers
Bob