| 
| Subject: | This code isn't object oriented. | 
|---|
 | Summary: | Package rating comment | 
|---|
 | Messages: | 4 | 
|---|
 | Author: | Maykonn Welington Candido | 
|---|
 | Date: | 2013-11-06 13:16:02 | 
|---|
 | Update: | 2013-11-06 18:40:00 | 
|---|
 |  |  |  | 
Maykonn Welington Candido rated this package as follows:
| Utility: | Sufficient | 
|---|
| Consistency: | Not sure | 
|---|
| Examples: | Sufficient | 
|---|
|  | 
  Maykonn Welington Candido - 2013-11-06 13:16:02This code isn't object oriented. Can not be easily reused for OO applications.
  Nuno Tiago - 2013-11-06 18:15:01 - In reply to message 1 from Maykonn Welington CandidoSorry, I am little confused about your comment, this class was made ​​for the purpose of simplify quiz also as your extensibility.
 I use the "real" Objects to call mysql, but you quickly change the main functions, "display_questions" and "check_question" to Object Oriented.
 
 But explain please, why is difficult to reused for OO applications.
 
 Best regards,
 
 Nuno
  Maykonn Welington Candido - 2013-11-06 18:34:34 - In reply to message 2 from Nuno TiagoSorry, Nuno, 
 quizz_user_class.php and
 sql_class.php
 
 Are ok to reuse.
 
 I got confused between the Roles of the sample files. It was my mistake.
 
 But is a tip to improve your package: separate the sample files in a folder /examples and quiz /src for example.
 
 This will improve the understanding of the package.
  Maykonn Welington Candido - 2013-11-06 18:40:00 - In reply to message 2 from Nuno TiagoI updated my ratings on this package. |