<font color="#ff6600" size="4"><b>HELLO P2PU!</b></font><div><br></div><div>Some things you should know:</div><div><ol><li><a href="http://Badges.p2pu.org">Badges.p2pu.org</a> is live, fully functional, and ready for your badging needs.</li>
<li>We demo'd the new site at the <a href="http://dml2013.dmlhub.net/">Digital Media and Learning Conference</a> yesterday to an extremely positive response. Seriously, the booth was crowded and Philipp and I never stopped talking for 2 hours.</li>
<li>Go ahead and <a href="http://badges.p2pu.org/en/badge/create/">create a badge</a>. You won't be disappointed. </li></ol><div>Congratulations to Dirk, Erika and Chris on a job very well done.</div><div><br></div><div>
Your very happy Learning Lead, Vanessa</div></div><div><br><div class="gmail_quote">On Fri, Mar 15, 2013 at 7:14 AM, Dirk Uys <span dir="ltr"><<a href="mailto:dirk@p2pu.org" target="_blank">dirk@p2pu.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey everyone<br><br>You may or may not know that we have been working on <a href="http://badges.p2pu.org" target="_blank">badges.p2pu.org</a> (<a href="http://github.com/p2pu/badges" target="_blank">github.com/p2pu/badges</a>) for the last 3/4 weeks. At this stage I would like to reflect on a few things.<br>

<br>What went well?<br>
- Using OAuth for user authentication worked really well<br>- Structuring the model as an API and hiding the ORM objects from the view <br>-- This helped a lot with testing<br>-- Also made dependencies between different parts of the application explicit when it needs to be<br>


- Using ansible for sysadmin tasks (see <a href="http://github.com/p2pu/marvin" target="_blank">github.com/p2pu/marvin</a>)<br>- More thorough testing for the model <br>- Using notifications API to send email notifications (<a href="http://badges.p2pu.org" target="_blank">badges.p2pu.org</a> knows only the username)<br>


<br><br>What could/can we improve upon?<br>- Use API for user info<br>- User roles like admin not implemented on badges (will need this to handle)<br>- User uploaded media - scaling images, async upload, storing files on S3<br>

- Testing of views<br>
<br><br>Other thoughts<br>- Modularity of the model vs modularity of the view (Django app metaphor doesn't feel like a good fit for everything)<br>- Notifications as part of the model. Notifications tends to be more view like and have more dependancies<br>

- Slightly concerned about performance with API, but only time will tell<br><br>Let me maybe say a few things about the modularity and notifications, I think they're actually related. The application model and the application view doesn't feel to me like it fits that well with Django's concept of applications. The views normally have more dependencies than the model and even though you can use a django app where the view has more dependencies on other apps, it starts making less sense.<br>

<br>This brings us to notifications, which have several similarities with views: they are exposed to the user, normally supply more context to the user that the event triggering the notification in the model, needs to be translated based on user preferences and probably also uses a template. I guess it's possible to create notification events in the model and then hook that up with the actual notification sending code? This obviously adds a bit of complexity.<br>

<br>So, just felt like sharing this for those who may be interested. Any feedback will be very welcome! <br><br>@Erika & Chris, feel free to add any thoughts that you have.<br><br>Enjoy the weekend!<br><br>Cheers<br>
d<span class="HOEnZb"><font color="#888888"><br>
<br><br>

<p></p>

-- <br>
-- <br>
You received this message because you are subscribed to the "P2PU Community" group. Please stick to the ground rules: <br>
<a href="http://groups.google.com/group/p2pu-community/web/ground-rules" target="_blank">http://groups.google.com/group/p2pu-community/web/ground-rules</a><br>
--- <br>
You received this message because you are subscribed to the Google Groups "P2PU Community" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:p2pu-community%2Bunsubscribe@googlegroups.com" target="_blank">p2pu-community+unsubscribe@googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/groups/opt_out</a>.<br>
 <br>
 <br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Vanessa Gennarelli<div>Learning Lead, Peer 2 Peer University<br><div><a href="mailto:vanessa@p2pu.org" target="_blank">vanessa@p2pu.org</a></div>
<div><a href="https://twitter.com/#!/mozzadrella" target="_blank">@mozzadrella</a></div></div>
</div>