Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.
I'm still taking all your suggestions in and am currently trying to make it all fit in.
The MVC paradigm doest make the code more manageable. All I did was rename database tables move code from the monolithic index.php to places and files where they relate to in order for the whole thing to conform to MVC.
Now I'm more comfortable with the work I'm doing, still they should have given me access to mod_rewrite...
What I don't get is with all the books out there on PHP, they hardly mention structuring. If you follow the examples they put forth in their books you'll end up with what I had at the start of this thread... A mish-mash of 2 or more different types of code...
rabatitat wrote:What I don't get is with all the books out there on PHP, they hardly mention structuring. If you follow the examples they put forth in their books you'll end up with what I had at the start of this thread... A mish-mash of 2 or more different types of code...
The books on structuring, called design patterns usually aren't language specific
rabatitat wrote:What I don't get is with all the books out there on PHP, they hardly mention structuring. If you follow the examples they put forth in their books you'll end up with what I had at the start of this thread... A mish-mash of 2 or more different types of code...
The books on structuring, called design patterns usually aren't language specific
I haven't found one yet which would apply to the web application development context.
Just about every book in the Addison Wesley Signature Series, be sure to check out "Patterns of enterprise application architecture", "design patterns: elements in reusable object oriented software" , also "test driven development" by Kent Beck
jshpro2 wrote:Just about every book in the Addison Wesley Signature Series, be sure to check out "Patterns of enterprise application architecture", "design patterns: elements in reusable object oriented software" , also "test driven development" by Kent Beck
Thanks a lot. You've been a great help... I check those titles out.
Also what I found helpful while I was waiting on amazon to deliver my books, was goto wikipedia and search design patterns, look under structural patterns and look at some of the ways they can be used ( the examples )