Warning (2): file_put_contents() [function.file-put-contents]: Only 0 of 62 bytes written, possibly out of free disk space [CORE/cake/basics.php, line 1153]
file_put_contents - [internal], line ??
cache - CORE/cake/basics.php, line 1153
DboSource::listSources() - CORE/cake/libs/model/datasources/dbo_source.php, line 152
DboMysql::listSources() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 155
AppModel::__construct() - CORE/app/app_model.php, line 78
Product::__construct() - CORE/app/models/product.php, line 33
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 373
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 305
[main] - CORE/app/webroot/index.php, line 85
Query: DESCRIBE `magnik_products`
Warning (512): SQL Error: 1030: Got error 122 from storage engine [CORE/cake/libs/model/datasources/dbo_source.php, line 463]
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 463
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 289
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 331
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 183
DboMysql::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 173
Model::loadInfo() - CORE/cake/libs/model/model.php, line 784
Model::setSource() - CORE/cake/libs/model/model.php, line 719
Model::__construct() - CORE/cake/libs/model/model.php, line 350
AppModel::__construct() - CORE/app/app_model.php, line 96
Product::__construct() - CORE/app/models/product.php, line 33
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 373
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 305
[main] - CORE/app/webroot/index.php, line 85
Warning (2): Invalid argument supplied for foreach() [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 175]
DboMysql::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 175
Model::loadInfo() - CORE/cake/libs/model/model.php, line 784
Model::setSource() - CORE/cake/libs/model/model.php, line 719
Model::__construct() - CORE/cake/libs/model/model.php, line 350
AppModel::__construct() - CORE/app/app_model.php, line 96
Product::__construct() - CORE/app/models/product.php, line 33
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 373
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 305
[main] - CORE/app/webroot/index.php, line 85
Warning (2): file_put_contents() [function.file-put-contents]: Only 0 of 4 bytes written, possibly out of free disk space [CORE/cake/basics.php, line 1153]
file_put_contents - [internal], line ??
cache - CORE/cake/basics.php, line 1153
DataSource::__cacheDescription() - CORE/cake/libs/model/datasources/datasource.php, line 245
DboMysql::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 191
Model::loadInfo() - CORE/cake/libs/model/model.php, line 784
Model::setSource() - CORE/cake/libs/model/model.php, line 719
Model::__construct() - CORE/cake/libs/model/model.php, line 350
AppModel::__construct() - CORE/app/app_model.php, line 96
Product::__construct() - CORE/app/models/product.php, line 33
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 373
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 305
[main] - CORE/app/webroot/index.php, line 85
Query: DESCRIBE `magnik_categories`
Query: DESCRIBE `magnik_categories`
Query: DESCRIBE `magnik_categories`
Query: DESCRIBE `magnik_categories`
Query: SELECT `Category`.`, `Category`.`id` FROM `magnik_categories` AS `Category` WHERE parent_id=0
Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`.`id` FROM `magnik_categories` AS `Category` WHERE parent_id=0' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 463]
$sql = "SELECT `Category`.`, `Category`.`id` FROM `magnik_categories` AS `Category` WHERE parent_id=0 "
$error = "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`.`id` FROM `magnik_categories` AS `Category` WHERE parent_id=0' at line 1"
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 463
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 289
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 331
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 593
Model::findAll() - CORE/cake/libs/model/model.php, line 1379
AppController::beforeRender() - CORE/app/app_controller.php, line 110
ProductsController::beforeRender() - CORE/app/controllers/products_controller.php, line 150
Controller::render() - CORE/cake/libs/controller/controller.php, line 618
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 356
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 333
[main] - CORE/app/webroot/index.php, line 85
Query: SELECT `Category`.` FROM `magnik_categories` AS `Category` WHERE parent_id=0
Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '` AS `Category` WHERE parent_id=0' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 463]
$sql = "SELECT `Category`.` FROM `magnik_categories` AS `Category` WHERE parent_id=0 "
$error = "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '` AS `Category` WHERE parent_id=0' at line 1"
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 463
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 289
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 331
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 593
Model::findAll() - CORE/cake/libs/model/model.php, line 1379
Model::generateList() - CORE/cake/libs/model/model.php, line 1758
AppController::beforeRender() - CORE/app/app_controller.php, line 115
ProductsController::beforeRender() - CORE/app/controllers/products_controller.php, line 150
Controller::render() - CORE/cake/libs/controller/controller.php, line 618
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 356
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 333
[main] - CORE/app/webroot/index.php, line 85
Query: SELECT `Category`.`, `Category`.`id` FROM `magnik_categories` AS `Category` WHERE `Category`.`id` = 1 LIMIT 1
Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`.`id` FROM `magnik_categories` AS `Category` WHERE `Category`.`id` = 1 LIM' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 463]
$sql = "SELECT `Category`.`, `Category`.`id` FROM `magnik_categories` AS `Category` WHERE `Category`.`id` = 1 LIMIT 1"
$error = "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`.`id` FROM `magnik_categories` AS `Category` WHERE `Category`.`id` = 1 LIM' at line 1"
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 463
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 289
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 331
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 593
Model::findAll() - CORE/cake/libs/model/model.php, line 1379
Model::find() - CORE/cake/libs/model/model.php, line 1306
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 249
Model::call__() - CORE/cake/libs/model/model.php, line 455
Overloadable::__call() - CORE/cake/libs/overloadable_php5.php, line 59
Category::findByid() - [internal], line ??
Category::get_root_category() - CORE/app/models/category.php, line 32
AppController::beforeRender() - CORE/app/app_controller.php, line 119
ProductsController::beforeRender() - CORE/app/controllers/products_controller.php, line 150
Controller::render() - CORE/cake/libs/controller/controller.php, line 618
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 356
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 333
[main] - CORE/app/webroot/index.php, line 85
Query: SELECT `Category`.`, `Category`.`id` FROM `magnik_categories` AS `Category` WHERE `Category`.`id` = 1 LIMIT 1
Query: SELECT `Product`.`, `Product`.`category_id` FROM `magnik_products` AS `Product` WHERE `Product`.`category_id` IN (2)
Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`.`category_id` FROM `magnik_products` AS `Product` WHERE `Product`.`category_' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 463]
$sql = "SELECT `Product`.`, `Product`.`category_id` FROM `magnik_products` AS `Product` WHERE `Product`.`category_id` IN (2) "
$error = "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`.`category_id` FROM `magnik_products` AS `Product` WHERE `Product`.`category_' at line 1"
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 463
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 289
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 331
DboSource::queryAssociation() - CORE/cake/libs/model/datasources/dbo_source.php, line 755
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 623
Model::findAll() - CORE/cake/libs/model/model.php, line 1379
AppController::beforeRender() - CORE/app/app_controller.php, line 134
ProductsController::beforeRender() - CORE/app/controllers/products_controller.php, line 150
Controller::render() - CORE/cake/libs/controller/controller.php, line 618
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 356
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 333
[main] - CORE/app/webroot/index.php, line 85
Query: SELECT `Product`.`, `Product`.`category_id` FROM `magnik_products` AS `Product` WHERE `Product`.`category_id` IN (3)
Query: SELECT `Product`.`, `Product`.`category_id` FROM `magnik_products` AS `Product` WHERE `Product`.`category_id` IN (4)
Query: SELECT `Product`.`, `Product`.`category_id` FROM `magnik_products` AS `Product` WHERE `Product`.`category_id` IN (5)
Query: SELECT `Product`.`, `Product`.`category_id` FROM `magnik_products` AS `Product` WHERE `Product`.`category_id` IN (6)
Query: SELECT `Product`.`, `Product`.`category_id` FROM `magnik_products` AS `Product` WHERE `Product`.`category_id` IN (7)
Query: SELECT `Product`.`, `Product`.`category_id` FROM `magnik_products` AS `Product` WHERE `Product`.`category_id` IN (8)
Query: SELECT `Product`.`, `Product`.`category_id` FROM `magnik_products` AS `Product` WHERE `Product`.`category_id` IN (9)
Query: SELECT `Product`.`, `Product`.`category_id` FROM `magnik_products` AS `Product` WHERE `Product`.`category_id` IN (10)
Query: SELECT `Product`.`, `Product`.`category_id` FROM `magnik_products` AS `Product` WHERE `Product`.`category_id` IN (11)
Design Patterns: Elements of Reusable Object-Oriented Software (Addison-Wesley Professional Computing Series) from US Textbook Co.
I found the case study very helpfull. The patterns explained in a very clean way, so I recomand every developer that is interesting in design patterns, refactoring etc to read it.
2007-08-05
If you work with software development, you must read this book
This fascinating and extraordinarily clear text guides you in such a persuasive way through the world of software design patterns that once you start reading it you won't want to stop until it is over.
2007-08-05
an excelent book for my situation
I don't have much formal programming training... much of what I've learned has been through self study. As a consequence, many times I'm not sure if I know something or not. Usually, I try to convince myself I know something but a tiny bit of doubt remains in the back of my head. This is the case for me with respect to object oriented programming. I thought I understood what object oriented programming was about, but I would only use it for certain parts of my programs (using perl, where things are not necessarily object oriented). Also, I would have trouble understanding large OO'd software packages. Reading this book really caused things to click in my mind and I realized what exactly object oriented was all about, how to use object orientation, how not to use it, etc.
Some of those who gave this book low ratings might reasons from their situation, but for me this book helped a lot. I'll agree that the concepts are abstract and difficult, but the authors set up different paths thru the book depending on the readers goals. I think a beginning programmer would get blown away by this book, while experts might know it all from good teachers or painful experience. For me however, this book gave me a bunch of "aha!" moments as the authors explain situations that make programming tricky and explain the solutions.
Also, the book is nice and solid w/ two bookmark ribbons (at least for the hardcover version). Very high quality and not so expensive compared to college textbooks.
2007-07-19
Good choice
Excellent explaining about the design patters even for those who are new to it.
The only problem is that the samples are in C++ wich should be expected because the book was printed in 1995.
2007-06-11
A classic
10 years ago this book revolutionize the way programmers see object oriented programming. At that time, it was essential to read it. In fact, I remember that employers were testing candidate knowledge on design patterns at job interviews. Today, I consider this book as a classic that I would recommand to read for everyone that has just learned object oriented programming but it is less essential than it used to be as design patterns knowledge has spread in the litterature and you could even learn about them just by working on existing code. That being said, this book is still very valuable even for people that already know about patterns. I am on my second reading after many years of using the design patterns and I am picking up new insights that has escaped my attention at the first reading.
Notice: Undefined offset: 0 in /home/ustextbookco/public_html/store/cake/libs/debugger.php on line 182
Notice: Undefined offset: 0 in /home/ustextbookco/public_html/store/cake/libs/debugger.php on line 182
Warning: implode() [function.implode]: Bad arguments. in /home/ustextbookco/public_html/store/cake/libs/debugger.php on line 186
[main] - [internal], line ??
Warning (2): Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/home/ustextbookco/public_html/store/app/tmp/sessions) [Unknown, line ??]