parse-community / Parse-SDK-dotNET

Parse SDK for .NET, Xamarin, Unity.
http://parseplatform.org
Apache License 2.0
324 stars 260 forks source link

Are you planning to implement LiveQuery in dotnet sdk? #199

Open Mahdi7s opened 8 years ago

Mahdi7s commented 8 years ago

we are developing a real-time game using unity3d . please let us know that if you are going to implement the LiveQuery feature in your sdk, so we start using it to develop our game.

richardjrossiii commented 8 years ago

Eventually, yes. We do have plans to support LiveQuery on all of our targets that we currently support, including .NET.

The situation is a bit more complicated than other platforms, as we have such a diversity in versions of .NET and APIs supported by our .NET platforms compared to everywhere else, and as such we do not currently have an ETA.

I'll keep this issue open until we have a formal release for it, or when we might have an ETA.

To others reading this issue: To help us gauge interest and priority amongst other issues, if you're interested in this, please comment on this issue.

IkeTheDestroyer commented 8 years ago

Definitely interested in this for Unity iOS/Android.

thewizster commented 8 years ago

:+1: :+1:

arturogutierrez commented 8 years ago

💯

hl4hck commented 8 years ago

+1

Apoll0 commented 8 years ago

+1 for Unity

hl4hck commented 8 years ago

I am developing a mobile game using Unity3D. Is it possible to use LiveQuery with REST API (HTTP.Request)?

richardjrossiii commented 8 years ago

@hl4hck Absolutely! The protocol specification for LiveQuery can be found here: https://github.com/ParsePlatform/parse-server/wiki/Parse-LiveQuery-Protocol-Specification.

You can also, of course, take a look at the open source JS and iOS clients and use those as a basis for any other clients you might make.

hl4hck commented 8 years ago

@richardjrossiii Thank you!

couchworx commented 8 years ago

+1

kenglou commented 8 years ago

+1

chris3000 commented 8 years ago

+1, although the API seems pretty simple. I'll try to implement in Unity using BestHTTP until it's stable in the Parse SDK.

abagshaw commented 8 years ago

+1

johnnydimas commented 8 years ago

yes please!

FlorianSchuler commented 8 years ago

+1

tofutim commented 8 years ago

Has anyone successfully gotten LiveQuery to work from .NET? @richardjrossiii is this still active?

farzadi commented 7 years ago

+1

miracle7 commented 7 years ago

@chris3000 Did you have any luck getting this working with Unity?

Looking into trying it myself but if there is anything interesting you have to share could save some tears haha

chris3000 commented 7 years ago

No, I haven't tried yet. We're using a polling strategy for now.

plyoung commented 7 years ago

+1 Unity.

vladrad commented 7 years ago

I would be so down to work on this! Im just not sure where to start.

Apoll0 commented 7 years ago

+1 for unity

ndastur commented 7 years ago

+1 Would love to see this for xamarin forms apps

eclipse1985 commented 7 years ago

+1

muhammad-naderi commented 7 years ago

+1

ra7bi commented 7 years ago

+1 any updates ?

montymxb commented 7 years ago

Just to let everyone know there is currently no built-in live query implementation available for the .net sdk. Only some clients have implementations for live query interfacing, this not being one of them.

That being said it's not unlikely that we will bring this support into the this sdk at a future date. It would be super to have this in! However this sdk needs to be brought up to spec first as there are quite a few outstanding issues that need to be dealt with before we can get to live queries.

ra7bi commented 7 years ago

i wish more contributors comes to improve Parse & Parse SDK , Really nice and great server , just it need someone who have good experience to improve it

montymxb commented 7 years ago

@ra7bi we're open to contributions! Most of the sdks are more actively maintained, this one just needs some tlc and it should be just fine 👍

ra7bi commented 7 years ago

happy to know that , im hosting Parse server for my mobile app and i really like it , i think if Real-Time feature comes to Parse server for all SDK , it would be the best .

Thanks for all Parse contributions so exciting for any Parse updates

stephenhauck commented 6 years ago

I need examples of how to use live query in a Xamarin Forms app....

ndastur commented 6 years ago

As above. Not implemented

stephenhauck commented 6 years ago

OK, thanks for confirming... I will select another backend for my needs that supports Xamarin Forms.

flovilmart commented 6 years ago

@stephenhauck, you can still use parse-server without live query, we have 3 reference implementations in JS, Android and Swift porting to Xamarin/dotNet should be trivial.

ndastur commented 6 years ago

@flovilmart interesting comment, as if it was trivial I would assume it wouldn't be an outstanding ticket for 2 years ;) I think the honest answer is the .NET parse SDK is a bit neglected.

flovilmart commented 6 years ago

@ndastur it’s neglected because unlike the other SDK’s no one has demonstrated an interest into contributing with it. Open source is not just about a handful contributors shipping features you need. We ported to Android in a few days, when our company needed it.

I’m not a dotNet developer, and my main focus is on server, JS, Swift, objective-c, and i believe we still move forward at a great pace. Like any open source project, we’ll be thrilled to review your pull request and fast track a release. Also, in Java and iOS, live Query is not part of the SDK but distributed as a separate package, Which also give you the freedom to build your own implementation without the burden of open sourcing it.

ndastur commented 6 years ago

Thanks for the feedback @flovilmart . A quick look reveals 6 outstanding pull requests. Would you mind taking a peek at those? It looks like some would be great enhancements. It would also indicate to the community that this is an open source project that responds and so worth putting the effort into a PR for. Thank you

flovilmart commented 6 years ago

@ndastur most of the PR's were awaiting additional changes, from @richardjrossiii. I'm not sure why, I'm not a .Net developer but you seem to be well versed into this technology. Can you review those for me please? If there's any smell / issue, feel free to ping me.

stephenhauck commented 6 years ago

I appreciate this is an open source effort but Back4app sent me here, they are charging for a Parse back end and I kind of expected that they were supporting the project / product.

I am looking to pay for Back4app as a service .. that does not put the onus on me to make the drivers that support THEIR product.... I will simply find a vendor that wants my money and supports my platform.

flovilmart commented 6 years ago

@stephenhauck I understand your frustration, and the open source community is not the place to project it. You are right, if a vendor doesn't fulfill exactly your needs, you can probably leave them. That's not my problem. Just so you know, parse-community is completely independently managed from the vendors, we follow our own roadmap and goals.

that does not put the onus on me to make the drivers that support THEIR product

You are 100% right, but don't blame the community for it.

Perhaps the style of parse-server, being an open source project, packaged by vendors as a paying service is not suiting your needs and development requirement.

@baywet is it something you could give us a hand on?

stephenhauck commented 6 years ago

@flovilmart Not projecting frustration .. simply stating the facts.

You guys are doing awesome work ... I appreciate your efforts even if I / my applications do not benefit from them at this time ...

flovilmart commented 6 years ago

Thanks for the kind words, we do our best indeed. For sure the .Net SDK needs some love, but unfortunately, we have trouble finding a solid contributor in order to put it up to speed.

stephenhauck commented 6 years ago

Is there a master list somewhere that indicates changes / features added and how they were implemented (web sockets, etc..) to other drivers that have yet to be implemented in the .NET assemblies ?

baywet commented 6 years ago

I might, I'm trying to get an understanding of what needs to be implemented and the amount of work we're talking about. We're basically looking at implementing support for that, but in dotnet right? http://docs.parseplatform.org/parse-server/guide/#client-setup And all the events and such are pushed by the server using a web socket?

flovilmart commented 6 years ago

Yep, we're looking at that spec (https://github.com/parse-community/parse-server/wiki/Parse-LiveQuery-Protocol-Specification)

Reference implementations in JS, Swift and Android/Java

Thanks man :)

baywet commented 6 years ago

I didn't say I'll do it yet but at least any senior .net Dev will have all the information here. And then how to test the code? Is there like an open server/service somewhere? Or just follow that and start sending data ? http://docs.parseplatform.org/parse-server/guide/

flovilmart commented 6 years ago

We don't have a conformance spec testing, but firing up the server and going for e2e tests should be good enough for now.

Just thank you for taking the time to respond, and layout a plan in here!

montymxb commented 6 years ago

I'm planning on going over PRs as soon as I can make enough time. It is about time that we bring this into the fold with the other sdks, especially since there is still a community interest in it.

@baywet if you are interested in working on this let me know, although I'm not quite familiar with .NET development I work on the server and some other sdks. Let me know if I can provide some insight as to how this is laid out and how it operates.

baywet commented 6 years ago

@montymxb my biggest problem right now is time, and I don't want to over commit. As far as I can see there's somewhere between 5 to 10 hours of effort on this one, and I have to ramp up on parse. I don't pretend to be a Rockstar developer but I've 7+ years of .net development experience. Why not creating a feature branch in this repo for that and send PR's to that feature branch, if we can get many people to pull the branch and test it out this is going to help a lot. As I said I don't want to over commit by saying I'll own the implementation, but I can at least commit to reviewing the code and challenging the .net part of things.

flovilmart commented 6 years ago

@baywet, no stress, @montymxb, i met @baywet at a Microsoft MVP event last week, in Montreal.

Perhaps we know a junior dev who’d like to grind his teeths on this one