Comments (6)
Actually might not need the if statement
from parse.com-php-library.
How would this be used on the developer end?
from parse.com-php-library.
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.
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.
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.
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)
- Reason for inclusion of all files? HOT 2
- Undefined property: stdClass::$code at line 267 in parse.php when "parse.com error: unauthorized" HOT 1
- Fatal error: Uncaught ParseLibraryException: [103]: parse.com error: class name must be a string thrown HOT 1
- Join two classes data HOT 2
- Many-to-Many relationship
- subscription always shows as 0 when send notification to android using reset api
- HELP URGENT on update row on User class using rest api
- saving or updating only works on string fields HOT 1
- cant save date to date field in parse HOT 2
- Failed to connect to api.parse.com port 443: Timed out HOT 1
- Issue with file upload HOT 1
- File Upload HOT 1
- I am trying to send a push notification using query where objectId equals to HOT 1
- how to write like oparator?
- How do I just get an array of everything in a table? HOT 4
- Cant save simple data
- how search file parseConfig.php? HOT 1
- how filter this error ?
- matches query in parse php
- Modified For Drupal HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parse.com-php-library.