Following the technique used by the authors in this book to develop professional website will be a catastrophic mistake.
Few Reasons:
-this approach is hardcoded approch and solution will not scale. You have stored procedure to insert\update\delete\search for each module\category. In case you need to add some new field to your schema, you end up modifying the stored proc, data layer, business layer, recompile, retest and many other pains. Same applies when you want to delete some fields.
-It might work for personal website with ~1000 records having a childish schema as well as when you know beforehand that your scheme will never change. Otherwise you have to make changes in everywhere.
For professional site, you need to develop complex schema driven by metadata and program each functionality once. Why writing 5 different stored procedures for 5 modules while you doing same operation-insert?
Ideally you need to write a generic logic that will work for entire schema driven by what is on the form rather than table name.
I am surprized to see that few people just love writing books with limited skills and knowledge and misguide developers to a wrong direction.
Thanks
Mohammad Musa
|