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

<<<12

Orkan
#16 2008-08-22 07:19
yah, I see...
but the question is what they really want? a custom parser or ability to add custom bbcodes?
I would like to hear some arguments here
Perl - the only language that looks the same before and after RSA encryption.
Trustmaster
#17 2008-08-22 09:59
They want custom third-party parsers like xBB.
May the Source be with you!
esclkm
#18 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 - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
Lombi
#19 2008-12-18 03:23
# esclkm : and i think that in new CMS pagination method must be replaced from sedplus plugin

Yeah, either that one or the one that Trustmaster did (vbulletin pagination), this one is horrible.
<a href="http://www.domenlo.com">Surreal Art</a>
Trustmaster
#20 2008-12-18 03:48
The problem about pluggable functions and extra files which you have described is that it slows everything down. That's why we try to avoid pluggable functions by providing good ones out of the box.

Hmm, is the pagination thing already in Trac? My vbulletin-style would do, but it needs figuring out and fixing some weird bug, or probably using some third-party code.
May the Source be with you!
esclkm
#21 2008-12-18 03:53
but why it will be slow? may be wright them in config.php if you mean that it need sql?
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
Brock
#22 2008-12-18 07:46
It's a lot more unneeded code and extra files to include, which certainly can't speed it up. If you're including 50 files rather than 30, don't you think the process would be slower?
Web Design Database - www.wddb.com

<<<12