Anonymous | Login | Signup for a new account | 2024-03-29 04:07 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
View Revisions: Issue #1007 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0001007: Minimize number of Extended Units in Sections folder | ||
Revision | 2011-02-21 15:09:47 by Dmitry | ||
Description | We have recently came across the issue when in some projects we have too many PHP files in a single Units/Sections folder of Custom module. As you might know this folder contains Extended classes which are used to override default functionality of In-Portal. As a result it's getting very hard to quickly locate necessary files once you reach 20+ files in there, plus they all start with e_OriginalFileName.php At this point, we should throughly discussion all options of making this simpler to work with. I ask everyone (including Intechnic employees) to participate in this critical decision making process. Solution: No CORE changes required here! Under Units/Sections we create a sub-folders for each corresponding Unit name (that are extending) and put replacement files inside. Example: - it was - /modules/custom/units/sections/e_order_eh.php - it will be - /modules/custom/units/sections/orders/e_order_eh.php Do all Extended Units for Custom module like this. |
||
Revision | 2011-02-21 15:09:29 by Dmitry | ||
Description | We have recently came across the issue when in some projects we have too many PHP files in a single Units/Sections folder of Custom module. As you might know this folder contains Extended classes which are used to override default functionality of In-Portal. As a result it's getting very hard to quickly locate necessary files once you reach 20+ files in there, plus they all start with e_OriginalFileName.php At this point, we should throughly discussion all options of making this simpler to work with. I ask everyone (including Intechnic employees) to participate in this critical decision making process. [B]Solution:[B] No CORE changes required here! Under Units/Sections we create a sub-folders for each corresponding Unit name (that are extending) and put replacement files inside. Example: - it was - /modules/custom/units/sections/e_order_eh.php - it will be - /modules/custom/units/sections/orders/e_order_eh.php Do all Extended Units for Custom module like this. |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |