|
Comments for: fryzel20030306
| Message # 1016329: |
|
Date: 04/30/03 08:15
By: Jack Subject: This is a HORRIBLE design This breaks every rule of proper design. There should not be one file which handles including code throughout the application. Each file should include the code it requires. For example: If index.php uses ConnectionManager.php, it should include it. If ConnectionManager.php needs Authentication.php, it will include it. There is no need for a monster switch statement. Every file includes ONLY the code it needs directly. If the files included need other code, they should include it themselves. This is why there is the function include_once() people. It will handle this stuff for you. |
Previous Message | Next Message |
| Comments: | ||
| RE: This is a HORRIBLE design | Fryzel | 05/07/03 10:34 |
| RE: Another suggestion | anon_coward | 04/30/03 11:54 |
| This is a HORRIBLE design | Jack | 04/30/03 08:15 |
| Another suggestion | Rob | 04/20/03 15:51 |
| RE: Real MVC framework | Ed Williams | 04/16/03 12:00 |
| RE: Rubbish | Alejandro Vasquez | 04/13/03 12:52 |
| appreciation and suggestion | puzling | 03/29/03 22:27 |
| RE: Rubbish | Pests | 03/25/03 11:02 |
| The Truth | Priyank | 03/21/03 01:02 |
| RE: Rubbish | Michael Peres | 03/19/03 01:37 |
| Real MVC framework | Alexandru COSTIN | 03/14/03 18:45 |
| RE: Rubbish | In-Hwan, Kim | 03/13/03 01:31 |
| O_O!!! | Josep | 03/11/03 04:38 |
| Rubbish | anon | 03/10/03 07:53 |
| So basically... | Jester | 03/08/03 14:29 |
| Simplistic | Kriek | 03/07/03 18:45 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


