jamesmontemagno / Mvx.Plugins.Settings

Settings plug-in for MvvmCross.
Other
30 stars 13 forks source link

is this still maintained? #3

Closed andreinitescu closed 10 years ago

andreinitescu commented 10 years ago

Hello,

Thanks for your great plugin. Is this plugin still being maintained?

Any plans to put it on NuGet?

Thanks.

softlion commented 10 years ago

you can check this updated version: https://github.com/Cheesebaron/Cheesebaron.MvxPlugins/tree/master/Settings but it is not on nuget.

jamesmontemagno commented 10 years ago

So Cheesebaron has one like softlion said, but I have now taken this over completely. I am no longer an employee of Ceton and now work at Xamarin, so I will be updating it and will try to make it a nuget as well.

My plans are to move namespaces and any other feedback that has been given. Is there specific functionality that you want added? I tried to make it really simple with very little amount of effort for implementing.

andreinitescu commented 10 years ago

Hi James,

Imho, the plugin should be able to save and load any kind of object not just built-in types like it is currently doing. Having it on NuGet is also a must in my opinion, you already plan this.

Since my comment, I made a settings service in my app with a similar interface which is saving and loading from JSON.

softlion commented 10 years ago

Hi James, i want to work for Xamarin too ! :)

I agree with nitescua, and i've done the same. I use BSON serialization from Json.NET PCL + my own ZIP lib (PCL compatible) to serialize/deserialize any object. Bson is binary json, it's size is much smaller.

I've created a nuget package for this project (see my pull request in the cheesebaron repo). I use it internally with my own nuget "server" folder.

What would also be nice to have is the grouping of settings, by a string key. With the ability to remove all settings from a group. But you should better stay simple as we don't want a package to include too much things.

Finally, stuart is searching for a common repo for all mvvmcross plugins. So we don't have to search the web to eventually find a plugin.

jamesmontemagno commented 10 years ago

I actually started with JSON and to be honest it just wasn't as nice to work with(mostly on android because you can use preference activities). Perhaps I can drop the requirement for specific types, and if the type is not specified then it serializes the object out to Json. adding in additional pre-reqs was something I didn't want to do though.

I know Cheesebaron added a lot of things for removing settings or removing all. I could move that over also. I think he doesn't have Win8 in his though which is odd.

I have never created a NuGet so I need to figure that out I guess.

jamesmontemagno commented 10 years ago

NuGet is now live: https://www.nuget.org/packages/Mvx.Plugins.Settings/ I also had a lot of other fixes recently as well as adding date/time

softlion commented 10 years ago

Cheese have you tried it ;p :)

jamesmontemagno commented 10 years ago

Going to mark this as closed for now. Please open new issues. I am using it in my meetup manager app and it works great on android/ios: https://github.com/jamesmontemagno/MeetupManager