Forum: Ruby on Rails design question for a web service client

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Nicholas W. (Guest)
on 2006-04-25 03:16
(Received via mailing list)
I have a module that queries a web service and returns an xml
document (sometimes more than one).
I've put the module under lib, and created a model to use the
resulting xml documents.
Obviously the document needs to be parsed with rexml, and return a
ruby data structure to the controller that can be used in various
ways in my views.
Would you implement all the specialized parsing stuff inside the
model or inside the lib/ module ?

Nicholas W.

Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
This topic is locked and can not be replied to.