<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
David Bear wrote:
<blockquote
 cite="mid:1d1a54bf0908121922k200b98e9v34785fb24441a13e@mail.gmail.com"
 type="cite">What do you gain by doing this?<br>
  <br>
  <div class="gmail_quote">On Wed, Aug 12, 2009 at 2:50 PM, Lumir
Jasiok <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:lumir.jasiok@vsb.cz">lumir.jasiok@vsb.cz</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
    <br>
I need to write an application which will be based on MVC design and<br>
will have both web interface and desktop GUI based on wxPython. It is<br>
possible to write such an application as standard Zope app and use<br>
zope.interfaces package for defining wxPython GUI as other view (I hope<br>
that it's called view, I am not sure - I am new in Zope programming)? Or<br>
am I totally wrong?<br>
    <br>
Best Regards<br>
    <br>
Lumir Jasiok<br>
    <br>
--<br>
Lumír Jasiok<br>
VSB-TU Ostrava - Computer centre<br>
Tel: +420 59 732 3189<br>
E-mail: <a moz-do-not-send="true" href="mailto:lumir.jasiok@vsb.cz">lumir.jasiok@vsb.cz</a><br>
    <a moz-do-not-send="true" href="http://www.vsb.cz" target="_blank">http://www.vsb.cz</a><br>
    <br>
    <br>
_______________________________________________<br>
Zope maillist  -  <a moz-do-not-send="true" href="mailto:Zope@zope.org">Zope@zope.org</a><br>
    <a moz-do-not-send="true"
 href="http://mail.zope.org/mailman/listinfo/zope" target="_blank">http://mail.zope.org/mailman/listinfo/zope</a><br>
**   No cross posts or HTML encoding!  **<br>
(Related lists -<br>
 <a moz-do-not-send="true"
 href="http://mail.zope.org/mailman/listinfo/zope-announce"
 target="_blank">http://mail.zope.org/mailman/listinfo/zope-announce</a><br>
 <a moz-do-not-send="true"
 href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">http://mail.zope.org/mailman/listinfo/zope-dev</a>
)<br>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
</blockquote>
I want to have an application with common code for both web and desktop
application, so data and business logic will be common and only thing
which will be different will be a view (web page or desktop application
GUI). So users will have choice what interface they want to use, data
will be same. <br>
<br>
As programmer I want to have common code for business logic, because of
simplicity. I don't want to have two trunks, two business logics etc.<br>
<br>
Lumir<br>
<pre class="moz-signature" cols="72">-- 
 Lumír Jasiok
 VSB-TU Ostrava - Computer centre
 Tel: +420 59 732 3189
 E-mail: <a class="moz-txt-link-abbreviated"
 href="mailto:lumir.jasiok@vsb.cz">lumir.jasiok@vsb.cz</a>
 <a class="moz-txt-link-freetext" href="http://www.vsb.cz">http://www.vsb.cz</a> 
</pre>
</body>
</html>