Part of the EllisLab Network
   
 
‘MY_’ system libraries
Posted: 28 January 2007 12:16 PM   [ Ignore ]  
Research Assistant
RankRankRank
Total Posts:  970
Joined  04-13-2006

Greg’s recent “breakaway” declaration indirectly raises a point which I was already thinking about: most people’s CI system library extensions are not application-specific. We shouldn’t need to keep copying generic extensions across to every app in a CI-based system.
I suggest a modification to the Loader to enable something like this:

if not ( MY_APPLIBR )
  if not ( MY_SYSLIBR )
  load ( SYSLIBR )

That’s pretty mediocre pseudo-code, but I think it makes my point.
In other words, enable “MY_system_library extends system_library”, where MY_system_library lives in a sub-directory of system or system/libraries.
If you agree the principle, you might come up with better ways of implementing.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 819, on March 11, 2010 11:15 AM
Total Registered Members: 120187 Total Logged-in Users: 68
Total Topics: 126314 Total Anonymous Users: 6
Total Replies: 664302 Total Guests: 480
Total Posts: 790616    
Members ( View Memberlist )