Giter Club home page Giter Club logo

Comments (6)

jobrienski avatar jobrienski commented on June 2, 2024

Actually might not need the if statement

from parse.com-php-library.

andrewscofield avatar andrewscofield commented on June 2, 2024

How would this be used on the developer end?

from parse.com-php-library.

jobrienski avatar jobrienski commented on June 2, 2024

Well, for example, if you set data, you can retrieve it like you would after you retrieved an object from the parse library:

$test = new parseObject('test');
$test->name  = "jim";
echo "Name is: " . $test->name . "\n";

from parse.com-php-library.

jobrienski avatar jobrienski commented on June 2, 2024

It would be nice also if after you saved an object, the objectId would be populated in the object:

$test->save();
echo "Saved with object id: " . $test->objectId . "\n";

from parse.com-php-library.

andrewscofield avatar andrewscofield commented on June 2, 2024

Oh ok, I get it now. Yea I'll implement this is a good idea.

I have been trying to think up a good way to make things flow a little better like for example having the objectId readily available after a save. For now you can capture $test->save() into a variable to get the return from parse. Or for example after performing a parseObject->save() you can then do parseObject->get() without having to initiate it in another variable.

I'm just now sure how to do it all yet :). Maybe version 2.1 will have this stuff :)

from parse.com-php-library.

jobrienski avatar jobrienski commented on June 2, 2024

Cool, sounds good. I definitely like it alot better.
-jim

On Tue, Sep 4, 2012 at 10:25 PM, apotropaic [email protected]:

Oh ok, I get it now. Yea I'll implement this is a good idea.

I have been trying to think up a good way to make things flow a little
better like for example having the objectId readily available after a save.
For now you can capture $test->save() into a variable to get the return
from parse. Or for example after performing a parseObject->save() you can
then do parseObject->get() without having to initiate it in another
variable.

I'm just now sure how to do it all yet :). Maybe version 2.1 will have
this stuff :)


Reply to this email directly or view it on GitHubhttps://github.com//issues/40#issuecomment-8288059.

from parse.com-php-library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.