Camping 2.1: Easier to extend
judofyr at gmail.com
Mon Apr 12 10:49:39 EDT 2010
It's currently very hard to extend Camping, so I've been thinking of
ways to make it easier without taking too many bytes.
Here's a very simple approach: https://gist.github.com/75ecb81a3ae98b097f8a
When you write `Camping.plugin :Foo` it stores the code in the file,
and when you later call `App.needs :Foo` it fetches the file again and
replaces Camping with App. Not perfect, but at least it's something.
I'll have to try to get RESTstop using this technique to see how it
Any other ideas? Comments?
// Magnus Holm
More information about the Camping-list