windowsphonehacker / SparklrWP

WIP WP client for sparklr.me
MIT License
5 stars 1 forks source link

Move networking related code to SparklrLib #21

Closed ChrisK91 closed 11 years ago

ChrisK91 commented 11 years ago

I just skimmed through the code and noticed, that there is a lot of network related code inside the models. I think, that nothing inside the SparlrWP assembly should interact with the website; we would only end up with network requests all over the place.

I'd like to do some refactoring tomorrow and move network related code from SparklrWP to SparklrLib. This would also improve reusability since we would have all code in one assembly.

the-eater commented 11 years ago

Well that was exactly why there was SparklrEOC.cs because I was creating/moving all this code to there :)

Marocco2 commented 11 years ago

I agree to chrisk. It is useful for porting (WP8, W8, iOS, Android ...)

the-eater commented 11 years ago

This one is done!