<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 8, 2015 at 10:28 PM, Chen, Wei D <span dir="ltr"><<a href="mailto:wei.d.chen@intel.com" target="_blank">wei.d.chen@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p class="MsoNormal"><a name="14bfc5dfc9240395__MailEndCompose"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1f497d">+1,<u></u><u></u></span></a></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1f497d">I am fan of checking the constraints in the controller level instead of relying on FK constraints itself, thanks.</span></p></blockquote></div><br>The Keystone controllers shouldn't do any business logic. This should be in the managers. The controllers should do nothing more that take web stuff and convert it for use by the managers. <br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">David<br>blog: <a href="http://www.traceback.org" target="_blank">http://www.traceback.org</a><br>twitter: <a href="http://twitter.com/dstanek" target="_blank">http://twitter.com/dstanek</a><div>www: <a href="http://dstanek.com" target="_blank">http://dstanek.com</a></div></div>
</div></div>