How should Cotonti 0.9.x connect compatibility layer for 0.6.x plugins?

33.3% 5
66.7% 10
0% 0

15 Datum 16. August 2010, 17:27

Foren / Cotonti / Core Labs / Archive / Umfrage: Old plugins compatibility layer in Siena

Implementation details

urlkiller
#25745 23. August 2010, 19:01
is there any type of roadmap of changes that be made?
would be very cool to know WHAT EXACTLY changes in the API.

i can only think of changing function names, changing var names and some other additions that not really affects the current plugins. Maybe some changes in the DB Tables too...
So if there are only functions, vars, etc. that need some sort of campatibility isn't it possbile to just let the plugin devs some files where all "old" functions & vars in it that they could include if they wish....

require('compatibility_layer_functions');
require('compatibility_layer_vars');

the conversion of plugins will maybe fast but also a little pain in the ass because you have to search/replace everything (again).

If we take a look in the current plugins we'll see that most plugs consists of only a few lines of code. most plugins work with under 1000 lines of code so there isn't so much to do.
URL shortener: <a href="http://bbm.li/!7AD5C7">http://bbm.li/!7AD5C7</a>