srhyne / jquery-parse Goto Github PK
View Code? Open in Web Editor NEWAn AJAX wrapper for the Parse.com REST API
An AJAX wrapper for the Parse.com REST API
Lots of Parse requests need the session token in the request header, such as updating users: https://parse.com/docs/rest#users-updating
thanks for this super-simple time-saving wrapper
i have difficulties creating an object with a pointer field/column
either via Post or via Post-then-Put, all i'm getting is a Bad Request (400)
can you help? :) thanks in any case
I am trying to use this on my wordpress website. I am getting exception called ($.parse:error Not Found) when I try to load the page. It is saying that exception is Uncaught in 'jquery.js'.
I am very new in Web development, so please bear with me.
Thanks,
Amit
Hi there.
I'm testing this nice Parse wrapper you've made and it works really nice, except for the DELETE method.
When I call:
$.parse.delete("Package/"+oID, function(){
reload();
});
The callback is never called and after some debugging, I see that I land in this method:
function _error(jqXHR, textStatus, errorThrown){ }
With all the parameters empty.
The POST and GET methods are working very nice, so I can't seem to figure out what the problem is...
Any ideas?
ie - where:
{ createdAt:
{"$lt":somedate,
"$gte":somelaterdate
}
}
I really am enjoying using your plugin here, and am in the process of making an app with it and Backbone.js, so I'm also interested in the Backbone extension here. The issue that I'm raising is the fact that the app key and the rest key are both super visible with this, which presents obvious security concerns. Any thoughts on circumventing this issue? Potentially a server side solution to pass a token with those keys to kick the app off?
how can I use this in backbone app?
Switched to soft tabs and now github has really messed up the indentation. Will fix asap.
Hi,
I'm getting uncaught errors when I encounter a failed interaction with Parse (e.g. attempt to login with the wrong user / password combo).
Uncaught Error: $.parse :error Not Found
e.extend.errorjquery.min.js:2
_errorjquery.parse.js:38
f.Callbacks.njquery.min.js:2
f.Callbacks.o.fireWithjquery.min.js:2
wjquery.min.js:4
f.support.ajax.f.ajaxTransport.send.d
Any idea where this is coming from?
Thanks!
Is there a way to add a value to a array with the jquery parse class?
Is there a way to do a relational query with this library? I'd love to have this functionality :)
I tried doing
$.parse.get("Item", {
where : {'user' : user}},
and
$.parse.get("Item", {
where : {'user' : "{\"__type\" : \"Pointer\", \"className\" : \"_User\", \"objectId\" : \"" + user.objectId + "\"}"};},
The first one returned bad request because it serializes the json instead of setting up Parse's pointer info, the second one oddly returns 200 so maybe it is supported after all and I'm missing a detail in the forming of the request.
Is it possible have parse.get function as synchronous one ?
This is a dumb question because I am new to web development. How do I get the demo to run? It does not seem to do anything. THanks.
The example reads
$.parse.requstPasswordReset('[email protected]', optionalCallback, optionalErrorCallback);
where it should read $.parse.requestPasswordReset('[email protected]', optionalCallback, optionalErrorCallback);
I realize I may be the only idiot who copies directly from documentation, but maybe that will save someone else some time.
Is there a way to upload a image with this class to parse? and when it does, how can i do it?
Hi,
I init OK in javascript but when I call javascript $.parse.get("tasks");
I get the Microsoft JScript runtime error: $.parse :error No Transport.
The error occurs in jquery at the following function;-
error: function( msg ) {
throw new Error( msg );
},
javascript msg = "$.parse :error No Transport"
Any ideas please?
PS using jquery-1.7.2
Hello,
I really loved it, it's super easy thank you a lot...
I have a problem with joining two classes together, I mean can I do this:
$.parse.get("tasks,products",{where: something},function(r) {
//console.log(r);
});
OR
$.parse.get("tasks",{join: "something", on: "keys"},function(r) {
//console.log(r);
});
??
if not, what is the proper way to do it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.