Where does everyone place their API/third-party co...
# general
b
Where does everyone place their API/third-party code?
lib
,
app/services
,
app/models
,
app/adapters
? My app that has a lot of third party service code and also parses a lot of xml documents and csv's. I've done lots of different conventions and right now it's all living in
app/models
. I want to refactor them to a defined pattern and looking to hear community input.
j
I just put everything under app/models
b
Although that is how to represent/model data. Not how to fetch it.
j
I prefer simpler value objects that are constructed using factory methods than over that style of "decorator" for testing and performance reasons.
b
Yeah, I do too.