sorin Posted July 11, 2015 Share Posted July 11, 2015 Larry I was wondering why you didn't wrote this book using PHP OOP? I know, from my little experience, that, for security reasons, a php oop eCommerce website is better than php procedural. Also it can be easier to modify, add, update, delete any page. Link to comment Share on other sites More sharing options...
Jonathon Posted July 11, 2015 Share Posted July 11, 2015 Why would an OOP system be more secure than a procedural one? I also think that Larry does explain his reasons for using procedural approach in the book btw. Link to comment Share on other sites More sharing options...
Larry Posted July 13, 2015 Share Posted July 13, 2015 Yeah, there's a pretty big assumption there that OOP is better from a security and management perspective. OOP *may* be better than procedural, but it may be worse. It really depends upon how good the developer is at OOP or procedural. I do explain in the book my thoughts, but the short answer is that while a competent OOP developer can easily turn procedural code into OOP, if I wrote the book using OOP, I'd loose most of the procedural developers that aren't comfortable with OOP. Link to comment Share on other sites More sharing options...
sorin Posted July 13, 2015 Author Share Posted July 13, 2015 I understand your point Larry. A few years ago when I had no ideea about oop I hated all the books that were wrote in oop language . Link to comment Share on other sites More sharing options...
Recommended Posts