Re: [Twisted-Python] Best place to put application code

2009-01-03 Thread John Aherne
Thanks for the reply. Very interesting thought. I had used the service for some work, but hadn't thought I should use it to put business logic in. So thanks for the information. John Aherne On Fri, Jan 2, 2009 at 10:21 PM, Jarrod Roberson wrote: > > > On Fri, Jan 2, 2009 at 5:14 AM, John Ahern

Re: [Twisted-Python] Best place to put application code

2009-01-03 Thread John Aherne
Thanks for the reply. Very helpful. despite the question being like 'How long is a piece of string'. It's good to just hear what someone else reckons is the way to structure the code. I like the code sample.It makes clearer what some of my options are. So I'll have a look and see how I can make u

Re: [Twisted-Python] Best place to put application code

2009-01-02 Thread Jarrod Roberson
On Fri, Jan 2, 2009 at 5:14 AM, John Aherne wrote: > One thing that has been puzzling me is where is the best place to put > application code. business logic should go in the "Service" class. ___ Twisted-Python mailing list Twisted-Python@twistedmatri

Re: [Twisted-Python] Best place to put application code

2009-01-02 Thread Jean-Paul Calderone
On Fri, 2 Jan 2009 10:14:40 +, John Aherne wrote: One thing that has been puzzling me is where is the best place to put application code. It depends. :) The case I am using is straightforward TCP server with client connections making simple requests and waiting for responses retrieved f

[Twisted-Python] Best place to put application code

2009-01-02 Thread John Aherne
One thing that has been puzzling me is where is the best place to put application code. The case I am using is straightforward TCP server with client connections making simple requests and waiting for responses retrieved from database tables to be sent back. Reading the docs and looking at variou