Add a folder to Cotonti's core package for 3rd party code libraries
GHengeveld |
|
---|---|
While developing the new PFS system I was faced with the implementation of an external (3rd party) code library. This package should remain as it is, so it's best placed in its own folder. My idea is to differ from the coding guide and add a new folder for external libraries. This would be most logically named 'lib' or 'libraries'. This folder should then be used for 3rd party code packages such as API libraries (s.a. Flickr, Facebook etc), a Flash upload system (SWFupload) and dynamic thumbnail generation with SLIR. It's actually much like the current 'js' folder, which also contains external code (jQuery), but only javascript files.
My personal preference goes to /lib as it would then reside next to the /js folder and because 3rd party code isn't necessarily used for the 'system' itself (could be used only for plugins or modules). |
|
Dieser Beitrag wurde von Koradhil (am 23. Juli 2009, 16:42, vor 15 Jahre) bearbeitet |