[p2pu-dev] Fwd: Django app for open badges (was Re: Rails engine for open badges)

Les Orchard lorchard at mozilla.com
Thu Sep 29 15:45:46 UTC 2011


On 9/29/11 10:23 AM, Jessica Ledbetter wrote:
> I think Brian is going to make us all backpack'd, but I would love to 
> see Les involved.

In the chats I've had before with Brian, it sounds like he's got the 
Backpack and OBI specs covered. So, I'm hoping Badger can help out on 
the issuing side of things.

> Badger looks spiffy and seems like it does basic badging -- fantastic 
> -- but we add a bit of complexity with assessments and awarding logic 
> (beyond perquisite badges). Kind of like how we couldn't use a bunch 
> of the OSQA code.

Well, my goal with django-badger is to cover off on a laundry list of 
basics for badge issuing and bundle it up as a reusable Django app. That 
way, any project can install it and layer logic & rules on top.

I've started doing that myself with an add-on app, 
django-badger-multiplayer, which sprinkles in bits to empower users to 
create and issue their own badges. And, I've been slowly campaigning to 
get django-badger used by other Mozilla web properties.

> I wonder if we can push the SoW/P2PU-specific part to badger and merge 
> forces that way? I'm sure other projects would like assessments and to 
> grow with us.

Best to include the django-badger app, and build around it. I'd say, 
start a new Django site - preferably using Playdoh [1] if it's aimed to 
get hosted it on Mozilla web servers. Alternatively, it should work with 
a standard Django site, though the templates out of the box assume 
you're using Jinja2 like Playdoh rather than plain Django templates. 
(Been meaning to fix that)

I have an example site [2] that I'm using to play with this approach, 
though it's using a slightly older version of Playdoh that I need to 
upgrade. (It's missing the transition to funfactory [3])

[1]: https://github.com/mozilla/playdoh
[2]: https://github.com/lmorchard/badger2
[3]: https://github.com/mozilla/funfactory

> I'd love to do some pull requests, but don't want to get off track of 
> making sure we make our deadlines. So, it might be a few weeks or a 
> month -- assuming Les is cool with badger going that route.

Pull requests are welcome! I'm cool with Badger going any route as long 
as it helps somebody :) I'm hoping it helps sprinkle badges into many 
sites where it makes sense

> P.S. I have the badgers song stuck in my head now. ;)

This is a feature, not a bug. MUSHROOM MUSHROOM

-- 
lorchard at mozilla.com
{web,mad,computer} scientist
http://lmorchard.com



More information about the p2pu-dev mailing list