xwiki/xwiki-commons — comment on commit 74ce5376bde9519e39c009ffa9e462a24ff22024
File:  line 0
By vmassol:

I'm not sure what "extension" you are referring to Denis. whether you're using Velocity in wiki pages or as a templating language outside of XWiki the best practices stays the same IMO and you should probably provide a higher level Java API to be used in your Velocity code.

BTW I'm not asking to remove that collectiontool Velocity Tool. I'm just saying we're opening the door to something that can and will be abused and I'm asking that we don't use it ourselves. Said differently I'd like to see the use cases where we'll want to use it since I'm pretty sure they can be replaced by a better implementation in the majority if not all cases.