Forums / Cotonti / Core Labs / Archive / Core functions pluggable

esclkm
#1720 2008-12-18 00:31
also I think today about pluggable functions/
and I think that rating, comments, parser, pagination must be pluggable
but I think that they must be not look like plugins or replaceble files - they must be something between them.
For example:
folder "functions" in default there are files:
parser.default.php
pagination.default.php
comments.default.php
ratings.default.php etc.

user download and insert in this folder new parser "parser.new.php". And then in admin area he choose parser.

So in this way:
1. this functions are not plugins
2. standart functions we don't need to replace they are only not in functions.php
3. easy to install. easy to choose
4. if user update CMS, custom functions will be not replaced by standart files

what do you think about this?
and i think that in new CMS pagination method must be replaced from sedplus plugin
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты