I now have the abillity to remove the tv prefix from Ditto and doing so would greatly increase performance as I could drop about 15% of the current codebase that was specific to getting TVs. But, it would break backwards compatibility. So, what are you thoughts?
-
MODX Staff
- 12,272 Posts
Drop it and advise them to upgrade with a new name like "DittoNew" and then modify the calls as needed.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
and as I can see the major revision in the code, so I guess its going to be 1.1 ?
Sadly, it looks like this will not be happening for a while. The current MODx API is missing several critical functions to make this work, most of it dealing with how tvs are stored (in their raw, not processed form). This keeps me from using SQL to sort and filter tvs. As it has been said before, SQL sorting and filtering is far faster than PHP on large arrays... So, until then...