[Zope] can I use my existing twisted rpc app in zope.

2009-05-02 Thread Krishnakant
hello all,
I am new to this mailing list and pritty new to zope as well.

I have been reading the zope wiki and trying to find many answers to all
the questions I have about this very powerful application server.

My first question is, should I use zope 2 or zope3 for a financial/
accounting software?  I am not intending to develop just a web site but
a complete web application which will be used in fields like Point of
Sales and micro finance.  I feel I must go for zope 3 because the wiki
says that zope3 is targeted at application developers for the web.

But at the same time I am unsure whether zope3 has products for tasks
such as open office integration and call to a database.

This brings me to the second and the main question for which I am
writing this email.
I have a team of python developers working on the core logic of the
system and they have already written  an RPC based server application
containing the entire core logic.

Right now we use a gtk based thin client to make calls to the rpc server
based API.
I would be interested to know if I can directly take this twisted based
rpc server application and put it inside zope.

What I mean is that I would like to directly integrate my already
developed rpc server application inside zope in such a way that it sits
in the server and I can let people write clients to make calls on the
server either through other zope products as clients or any other
language.

So is this possible and should zope3 be the right choice for this?

happy hacking.
Krishnakant.

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] can I use my existing twisted rpc app in zope.

2009-05-02 Thread Andreas Jung
On 02.05.09 10:45, Krishnakant wrote:
 hello all,
 I am new to this mailing list and pritty new to zope as well.

 I have been reading the zope wiki and trying to find many answers to all
 the questions I have about this very powerful application server.

 My first question is, should I use zope 2 or zope3 for a financial/
 accounting software?  I am not intending to develop just a web site but
 a complete web application which will be used in fields like Point of
 Sales and micro finance.  I feel I must go for zope 3 because the wiki
 says that zope3 is targeted at application developers for the web.

 But at the same time I am unsure whether zope3 has products for tasks
 such as open office integration and call to a database.

 This brings me to the second and the main question for which I am
 writing this email.
 I have a team of python developers working on the core logic of the
 system and they have already written  an RPC based server application
 containing the entire core logic.

Consider using GROK first.

-aj

begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd.  Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] can I use my existing twisted rpc app in zope.

2009-05-02 Thread Lennart Regebro
On Sat, May 2, 2009 at 10:45, Krishnakant krm...@gmail.com wrote:
 My first question is, should I use zope 2 or zope3 for a financial/
 accounting software?  I am not intending to develop just a web site but
 a complete web application which will be used in fields like Point of
 Sales and micro finance.  I feel I must go for zope 3 because the wiki
 says that zope3 is targeted at application developers for the web.

It's really up to you. Personally, I would recommend looking into
either Grok, which is based on Zope 3, or BFG, which is a minimalistic
framework using Zope 3 technologies.

http://grok.zope.org/
http://bfg.repoze.org/

 But at the same time I am unsure whether zope3 has products for tasks
 such as open office integration and call to a database.

You can use ny Python library both from Zope 2 and Zope 3. Often
easier from Zope 3 in fact.

 Right now we use a gtk based thin client to make calls to the rpc server
 based API.
 I would be interested to know if I can directly take this twisted based
 rpc server application and put it inside zope.

That depends on what you mean with inside.

 What I mean is that I would like to directly integrate my already
 developed rpc server application inside zope in such a way that it sits
 in the server

I don't understand what you mean with having a twisted server inside a
zope server. It doesn't make any sense to me. Zope talks either HTTP
or WSGI (which in turn talks HTTP). The RCP server doesn't. I don't
see how inside makes sense there. Can the two servers talk to each
other and share data? Sure, there are many solutions for that. Can you
have the same application talk both HTTP and RPC? Sure. But in either
case neither is inside the other.

 So is this possible and should zope3 be the right choice for this?

Zope 3, or rather Grok or BFG, is the right answer to everything. ;)

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] can I use my existing twisted rpc app in zope.

2009-05-02 Thread Krishnakant

 It's really up to you. Personally, I would recommend looking into
 either Grok, which is based on Zope 3, or BFG, which is a minimalistic
 framework using Zope 3 technologies.
 
 http://grok.zope.org/
 http://bfg.repoze.org/
 
I see, By the way will 5 help me solve this confusion?
  But at the same time I am unsure whether zope3 has products for tasks
  such as open office integration and call to a database.
 
 You can use ny Python library both from Zope 2 and Zope 3. Often
 easier from Zope 3 in fact.
 
Well my requirement is to have open office spreadsheet integration so
that I can create ledger reports etc as a spreadsheet.
I had recently herd about a zope product which does that but can't
remember that name which was similar to zetac or some thing.

 

 
  What I mean is that I would like to directly integrate my already
  developed rpc server application inside zope in such a way that it sits
  in the server
 
 I don't understand what you mean with having a twisted server inside a
 zope server. It doesn't make any sense to me. Zope talks either HTTP
 or WSGI (which in turn talks HTTP). The RCP server doesn't. I don't
 see how inside makes sense there. Can the two servers talk to each
 other and share data? Sure, there are many solutions for that. 

I will try and make my problem clear.
Right now my application is a twisted based rpc server application which
gives the set of api like setCustomer() getCustomer() etc.

Right now we have created a gtk based thin client which is nothing but
an rpc client which calls the rpc published objects in the server
application.

Now if I want to take the entire rpc server based application and put it
into zope in such a way that my rpc application is not disturbed but the
features like PAS get integrated, will this be possible?

More presisely, I want to use zope for this same application server and
have it do the same work on xml rpc.

But if I have to re-write the entire rpc application server, then it
will be a tedious task.  What I am thinking is to take this twisted
based application server and make it a zope product.  This way my
classes and the published objects for rpc requests remain intact and I
continue adding feature enhancements like security and other advantages
which zope would give as an application server.  So my simple twisted
based rpc application becomes a zope product which sits in zope and
takes the advantage of all that zope has to offer.

I hope I am clear this time.

Thanks and 
happy hacking.
Krishnakant.
 continue adding 

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] can I use my existing twisted rpc app in zope.

2009-05-02 Thread Chris McDonough
On 5/2/09 7:04 AM, Krishnakant wrote:
 It's really up to you. Personally, I would recommend looking into
 either Grok, which is based on Zope 3, or BFG, which is a minimalistic
 framework using Zope 3 technologies.

 http://grok.zope.org/
 http://bfg.repoze.org/

 I see, By the way will 5 help me solve this confusion?

No, it will just confuse you more. ;-)

 I will try and make my problem clear.
 Right now my application is a twisted based rpc server application which
 gives the set of api like setCustomer() getCustomer() etc.

 Right now we have created a gtk based thin client which is nothing but
 an rpc client which calls the rpc published objects in the server
 application.

 Now if I want to take the entire rpc server based application and put it
 into zope in such a way that my rpc application is not disturbed but the
 features like PAS get integrated, will this be possible?

No, at least without doing some work (where some work is more than just 
dropping your code into a directory and expecting Zope to pick it up and serve 
it out).  It will essentially be a rewrite, although maybe with some careful 
coding you'd be able to reuse most of the existing code.

- C

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Checkins] SVN: Zope/branches/2.11/ 2.11.3

2009-05-02 Thread Andreas Jung
Log message for revision 99666:
  2.11.3

Changed:
  U   Zope/branches/2.11/doc/CHANGES.txt
  U   Zope/branches/2.11/inst/WinBuilders/mk/zope.mk
  U   Zope/branches/2.11/inst/versions.py

-=-
Modified: Zope/branches/2.11/doc/CHANGES.txt
===
--- Zope/branches/2.11/doc/CHANGES.txt  2009-05-02 04:37:11 UTC (rev 99665)
+++ Zope/branches/2.11/doc/CHANGES.txt  2009-05-02 07:39:48 UTC (rev 99666)
@@ -4,7 +4,7 @@
   Change information for previous versions of Zope can be found in the
   file HISTORY.txt.
 
-  Zope 2.11.3 (unreleased)
+  Zope 2.11.3 (2009/05/04)
 
 Features added
 

Modified: Zope/branches/2.11/inst/WinBuilders/mk/zope.mk
===
--- Zope/branches/2.11/inst/WinBuilders/mk/zope.mk  2009-05-02 04:37:11 UTC 
(rev 99665)
+++ Zope/branches/2.11/inst/WinBuilders/mk/zope.mk  2009-05-02 07:39:48 UTC 
(rev 99666)
@@ -1,4 +1,4 @@
-ZOPEVERSION = 2.11.2-final
+ZOPEVERSION = 2.11.3-final
 ZOPEDIRNAME := Zope-$(ZOPEVERSION)
 
 ZOPE_REQUIRED_FILES=tmp/$(ZOPEDIRNAME).tgz

Modified: Zope/branches/2.11/inst/versions.py
===
--- Zope/branches/2.11/inst/versions.py 2009-05-02 04:37:11 UTC (rev 99665)
+++ Zope/branches/2.11/inst/versions.py 2009-05-02 07:39:48 UTC (rev 99666)
@@ -1,5 +1,5 @@
 ZOPE_MAJOR_VERSION  = '2.11'
-ZOPE_MINOR_VERSION  = '2'
+ZOPE_MINOR_VERSION  = '3'
 ZOPE_BRANCH_NAME= '$Name$'[6:] or 'no-branch'
 
 # always start prerelease branches with '0' to avoid upgrade

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-Checkins] SVN: Zope/tags/2.11.3/ 'creating tag svn+ssh://andreasj...@svn.zope.org/repos/main/Zope/tags/2.11.3 from svn+ssh://andreasj...@svn.zope.org/repos/main/Zope/branches/2.11'

2009-05-02 Thread Andreas Jung
Log message for revision 99667:
  'creating tag svn+ssh://andreasj...@svn.zope.org/repos/main/Zope/tags/2.11.3 
from svn+ssh://andreasj...@svn.zope.org/repos/main/Zope/branches/2.11'

Changed:
  A   Zope/tags/2.11.3/

-=-
___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-Checkins] SVN: Zope/branches/2.10/ 2.10.8

2009-05-02 Thread Andreas Jung
Log message for revision 99668:
  2.10.8

Changed:
  U   Zope/branches/2.10/doc/CHANGES.txt
  U   Zope/branches/2.10/inst/WinBuilders/mk/zope.mk
  U   Zope/branches/2.10/inst/versions.py

-=-
Modified: Zope/branches/2.10/doc/CHANGES.txt
===
--- Zope/branches/2.10/doc/CHANGES.txt  2009-05-02 07:40:11 UTC (rev 99667)
+++ Zope/branches/2.10/doc/CHANGES.txt  2009-05-02 07:42:22 UTC (rev 99668)
@@ -4,7 +4,7 @@
   Change information for previous versions of Zope can be found in the
   file HISTORY.txt.
 
-  Zope 2.10.8 (unreleased)
+  Zope 2.10.8 (2009/05/04)
 
 Features added
 

Modified: Zope/branches/2.10/inst/WinBuilders/mk/zope.mk
===
--- Zope/branches/2.10/inst/WinBuilders/mk/zope.mk  2009-05-02 07:40:11 UTC 
(rev 99667)
+++ Zope/branches/2.10/inst/WinBuilders/mk/zope.mk  2009-05-02 07:42:22 UTC 
(rev 99668)
@@ -1,4 +1,4 @@
-ZOPEVERSION = 2.10.7-final
+ZOPEVERSION = 2.10.8-final
 ZOPEDIRNAME := Zope-$(ZOPEVERSION)
 
 ZOPE_REQUIRED_FILES=tmp/$(ZOPEDIRNAME).tgz

Modified: Zope/branches/2.10/inst/versions.py
===
--- Zope/branches/2.10/inst/versions.py 2009-05-02 07:40:11 UTC (rev 99667)
+++ Zope/branches/2.10/inst/versions.py 2009-05-02 07:42:22 UTC (rev 99668)
@@ -1,5 +1,5 @@
 ZOPE_MAJOR_VERSION  = '2.10'
-ZOPE_MINOR_VERSION  = '7'
+ZOPE_MINOR_VERSION  = '8'
 ZOPE_BRANCH_NAME= '$Name$'[6:] or 'no-branch'
 
 # always start prerelease branches with '0' to avoid upgrade

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-Checkins] SVN: Zope/tags/2.10.8/ 'creating tag svn+ssh://andreasj...@svn.zope.org/repos/main/Zope/tags/2.10.8 from svn+ssh://andreasj...@svn.zope.org/repos/main/Zope/branches/2.10'

2009-05-02 Thread Andreas Jung
Log message for revision 99671:
  'creating tag svn+ssh://andreasj...@svn.zope.org/repos/main/Zope/tags/2.10.8 
from svn+ssh://andreasj...@svn.zope.org/repos/main/Zope/branches/2.10'

Changed:
  A   Zope/tags/2.10.8/

-=-
___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-dev] svn.zope.org b0rked?

2009-05-02 Thread Andreas Jung
Hi,

I tried several times to update my SVN checkouts (on different
machines). After
updating some svn:exernals, svn fails with something like

svn: warning: Error handling externals definition for 'utilities/ZODBTools':
svn: warning: Network connection closed unexpectedly

Andreas

begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd.  Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] svn.zope.org b0rked?

2009-05-02 Thread Adam GROSZER
Hello Andreas,

Something like this happened some months ago too.
Jens did some magic that solved it.

Saturday, May 2, 2009, 9:27:18 AM, you wrote:

AJ Hi,

AJ I tried several times to update my SVN checkouts (on different
AJ machines). After
AJ updating some svn:exernals, svn fails with something like

AJ svn: warning: Error handling externals definition for 'utilities/ZODBTools':
AJ svn: warning: Network connection closed unexpectedly

AJ Andreas



-- 
Best regards,
 Adam GROSZERmailto:agros...@gmail.com
--
Quote of the day:
Timidity is laughable

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] svn.zope.org b0rked?

2009-05-02 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On May 2, 2009, at 09:27 , Andreas Jung wrote:

 Hi,

 I tried several times to update my SVN checkouts (on different
 machines). After
 updating some svn:exernals, svn fails with something like

 svn: warning: Error handling externals definition for 'utilities/ 
 ZODBTools':
 svn: warning: Network connection closed unexpectedly


Please try again. There's an unsolved issue with svnserve processes  
sticking around, I just killed them all.

jens


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkn8BoEACgkQRAx5nvEhZLJCaACfccHoQ44s6WSJHgqu9FV/io7b
iEIAoIhVt7eyqCRm1MprElBElojQ78Is
=MakL
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Zope Tests: 8 OK

2009-05-02 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Fri May  1 12:00:00 2009 UTC to Sat May  2 12:00:00 2009 UTC.
There were 8 messages: 8 from Zope Tests.


Tests passed OK
---

Subject: OK : Zope-2.10 Python-2.4.6 : Linux
From: Zope Tests
Date: Fri May  1 20:45:36 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-May/011603.html

Subject: OK : Zope-2.11 Python-2.4.6 : Linux
From: Zope Tests
Date: Fri May  1 20:47:38 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-May/011604.html

Subject: OK : Zope-trunk Python-2.4.6 : Linux
From: Zope Tests
Date: Fri May  1 20:49:38 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-May/011605.html

Subject: OK : Zope-trunk Python-2.5.4 : Linux
From: Zope Tests
Date: Fri May  1 20:51:38 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-May/011606.html

Subject: OK : Zope-trunk Python-2.6.1 : Linux
From: Zope Tests
Date: Fri May  1 20:53:39 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-May/011607.html

Subject: OK : Zope-trunk-alltests Python-2.4.6 : Linux
From: Zope Tests
Date: Fri May  1 20:55:39 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-May/011608.html

Subject: OK : Zope-trunk-alltests Python-2.5.4 : Linux
From: Zope Tests
Date: Fri May  1 20:57:39 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-May/011609.html

Subject: OK : Zope-trunk-alltests Python-2.6.1 : Linux
From: Zope Tests
Date: Fri May  1 20:59:40 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-May/011610.html

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.testing broken!

2009-05-02 Thread Benji York
2009/5/2 Adam GROSZER agros...@gmail.com:
 Buildout was plagued also by this, solution is easy
 see svn://svn.zope.org/repos/main/zc.buildout/trunk
 r98303

I've made an annalogous change to the trunk of zope.testing, but I don't
have a Windows box to test this on.  It would be great if someone can
confirm the fix.
-- 
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] svn.zope.org b0rked?

2009-05-02 Thread Jim Fulton

On May 2, 2009, at 4:38 AM, Jens Vagelpohl wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 On May 2, 2009, at 09:27 , Andreas Jung wrote:

 Hi,

 I tried several times to update my SVN checkouts (on different
 machines). After
 updating some svn:exernals, svn fails with something like

 svn: warning: Error handling externals definition for 'utilities/
 ZODBTools':
 svn: warning: Network connection closed unexpectedly


 Please try again. There's an unsolved issue with svnserve processes
 sticking around, I just killed them all.


Thanks Jens.

Jim

--
Jim Fulton
Zope Corporation


___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.testing broken!

2009-05-02 Thread Adam GROSZER
Hello Benji,

seems like that solved it, but still some errors:
http://pastebin.com/f51ec5c43
(mostly crlf problems)

Saturday, May 2, 2009, 5:58:36 PM, you wrote:

BY 2009/5/2 Adam GROSZER agros...@gmail.com:
 Buildout was plagued also by this, solution is easy
 see svn://svn.zope.org/repos/main/zc.buildout/trunk
 r98303

BY I've made an annalogous change to the trunk of zope.testing, but I don't
BY have a Windows box to test this on.  It would be great if someone can
BY confirm the fix.


-- 
Best regards,
 Adam GROSZERmailto:agros...@gmail.com
--
Quote of the day:
Socrates, being asked what countryman he was, answered, I am a citizen of the 
whole world. But ask a Christian what countryman he is, and he will answer, A 
citizen of heaven. 
- William Secker 

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )