Open Power Template 2.x family
PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!
Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!
Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
FS#137 - Coding style
Attached to Project:
Open Power Template
Opened by Przemek (cojack) - Friday, 13 November 2009, 12:20 GMT-8
Last edited by Zyx (Zyx) - Sunday, 31 October 2010, 13:28 GMT-8
Opened by Przemek (cojack) - Friday, 13 November 2009, 12:20 GMT-8
Last edited by Zyx (Zyx) - Sunday, 31 October 2010, 13:28 GMT-8
|
DetailsThe coding style is horrible, few classes in to on file, interferaces. None phpdoc for classes variables.
I know it's very low prority request, and I know there is a manual for the app, but... Regards. |
This task depends upon
Closed by Zyx (Zyx)
Sunday, 31 October 2010, 13:28 GMT-8
Reason for closing: Outdated
Additional comments about closing: In OPT 2.1 the coding style has been greatly improved, the bigger API clean-up is planned for OPT 3.0.
Sunday, 31 October 2010, 13:28 GMT-8
Reason for closing: Outdated
Additional comments about closing: In OPT 2.1 the coding style has been greatly improved, the bigger API clean-up is planned for OPT 3.0.
2. Few classes into a file -> it only happens for /Opx/Class.php and Opx/Exception.php and it is an indented step due to optimization purposes. /Opx/Class.php file contains the most critical classes and interfaces that usually HAVE TO be loaded, if you want to use the library and I don't see a point in slowing down the loading process just to make them separate. When it comes to exceptions, there are lots of them. Creating 70 files for each exception is a nonsense, if the exception class actually contains no implementation, but just an error message. Won't reimplement.
3. phpdoc -> it is being corrected in OPT 2.1-trunk.