2007/10/17, Tim Perrett <[EMAIL PROTECTED]>:
>
> Hey all
>
> I have played around with consuming a SOAP services with simple
> python scripts and the ZSI soap implementation, but I was then
> wondering where best to put this kind of code? It would start to
> clutter things up if I was to put it in views.py wouldnt it?
>
I like to make an adapter to consume ZSI code, so we independize the
generated code from the use we made.
We use a service.py in the application and a model like module. The
service links to ZSI code and model module, the view just uses service
module and the model module.

Hope it helps!
-- 
Antoni Aloy López
Binissalem - Mallorca
http://www.trespams.com
Soci de Bulma - http://www.bulma.cat

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to