<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Old thread I know, but for the interested Brandon Rhodes' 'Clean Architecture' talk can be found at <a href="http://youtu.be/DJtef410XaM">http://youtu.be/DJtef410XaM</a></div><div><br></div><div>Steve</div><div><br>On 15 Aug 2014, at 11:22, Harry Percival <<a href="mailto:harry.percival@gmail.com">harry.percival@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div><div><div>Thanks Peter!  I was speaking to Brandon at Pycon this year and he was telling me this was going to be his next talk to take on the road, and I was definitely looking forward to seeing it.  Matt O'Donnell was also there, and he's done a talk on this sort of thing recently too (<a href="https://www.youtube.com/watch?v=NGhL7IA6Dik">https://www.youtube.com/watch?v=NGhL7IA6Dik</a>). It's definitely in the air.<br>

<br></div>My own modest attempts to approach the subject are in my book -- in chapter 19, where I show how striving for test isolation can (theoretically) push you towards something like a lean architecture (<a href="http://chimera.labs.oreilly.com/books/1234000000754/ch19.html">http://chimera.labs.oreilly.com/books/1234000000754/ch19.html</a>) and in chapter 21, the wrap-up, where I waffle on about all these things (<a href="http://chimera.labs.oreilly.com/books/1234000000754/ch22.html">http://chimera.labs.oreilly.com/books/1234000000754/ch22.html</a>)<br>

<br></div>I don't think I managed to broach the subject nearly as cleanly as Brandon did.  I really admire his talks.  His data structures talk was one of the top 3 I saw at Pycon this year (<a href="http://pyvideo.org/video/2571/all-your-ducks-in-a-row-data-structures-in-the-s">http://pyvideo.org/video/2571/all-your-ducks-in-a-row-data-structures-in-the-s</a>).  Perfect pace, slides that complement rather than repeat the talk, fascinating and useful content...<br>

<br></div>Anyways, back to our onions - I guess the thing that's always bothered me a bit about the "clean architecture" is that my main project (pythonanywhere) is "all boundaries", to use Gary Bernhardt's terminology.  Or, to put it differently, I don't think we really have much in the way of "business logic".  We just turn Http requests into commands that go to processes.  There's really not much in the way of "logic" in the way.  No calculations or business rules to speak of.  So it's never seemed worth it, to us.<br>

<br>And sometimes I think -- aren't many web projects just thin CRUD wrappers around a database?  Is going to all the trouble of isolating your business logic from, eg, django, really worth it in most cases?<br><br><br>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 13 August 2014 13:09, Daniel Pope <span dir="ltr"><<a href="mailto:lord.mauve@gmail.com" target="_blank">lord.mauve@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Coincidentally, I blogged on the topic of Django project organisation at the weekend. </p>
<p dir="ltr"><a href="http://mauveweb.co.uk/posts/2014/08/organising-django-projects.html" target="_blank">http://mauveweb.co.uk/posts/2014/08/organising-django-projects.html</a> </p>
<p dir="ltr">May be of interest?</p>
<br>_______________________________________________<br>
python-uk mailing list<br>
<a href="mailto:python-uk@python.org">python-uk@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-uk" target="_blank">https://mail.python.org/mailman/listinfo/python-uk</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>------------------------------<br>Harry J.W. Percival<br>------------------------------<br>Twitter: @hjwp<br>Mobile:  +44 (0) 78877 02511<br>Skype:         harry.percival
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>python-uk mailing list</span><br><span><a href="mailto:python-uk@python.org">python-uk@python.org</a></span><br><span><a href="https://mail.python.org/mailman/listinfo/python-uk">https://mail.python.org/mailman/listinfo/python-uk</a></span><br></div></blockquote></body></html>