well, after spending several more hours with this code, I find it even worse. There is no indication of the places I need to update if I want to add fields to the user class, you just have to read through every page and find them.
This book was marketed as a collection of things that could be modified easily, its not. The author states he doesnt like templating systems, and then forces you to use one. The code in this book is restrictive and hard to work with, buggy, and poorly implemented.
I see a lot of good things in the code, a lot of attention to detail, and to security, but as a whole, it is simply unusable.
I am frustrated and baffled. Why would a book based around giving the reader a set of reusable components be so rigid. A login system should take a handful of files, really, a user registration system can be created in 2 or three. In this book, no less than 13 files are needed. To add a field to the user class takes 4 different places to modify, not one or two. I am forced to use a restrictive system, that does not adapt to me and my purposes, but rather I have to fit my project into it. I don't want a template system, of any kind. Yet here I am fighting against this book to get my data back out of a rather trite template system.
UnCreateable, UnModifyable, Un(Re)usable.
As Im not sitting here with an alternative at hand, and a deadline approaching, I have to keep fighting this code into shape. I wont buy another book by this author, wish I hadn't bought this one, ands wonder whether this is the kind of thing I get from the publisher. This forum is littered with errors and complaints of non-working code.
It shouldve been a set of code that could be used as the reader needed it to, not a convoluted mess of file jumping. The book says its for people who are experienced at PHP, so ponder this for a second, if I was really good at PHP, I wouldnt be buying a book on it. You gave us a bum deal, and non useable code, attempting to force us into a system YOU like, not giving us tools to build the system we need.
I bid you, Good Evening.
|