Re: [Firebase] remove example

401 views
Skip to first unread message

Andrew Lee

unread,
May 16, 2013, 12:00:45 PM5/16/13
to fireba...@googlegroups.com
Awesome! Glad you got it working.

Do you have specific ideas for docs tweaks we should make?

-Andrew


On Thu, May 16, 2013 at 8:02 AM, Dirk Krause <dir...@googlemail.com> wrote:
Hi,

as a Firebase noob I had some trouble getting 'remove' (i.e. deleting data) to work.

The documentation was not as explicit as (at least I) needed it (there is 'writing data' and 'reading data' topic, but none on remove), so I took the chat example and created a little list manager as a trivial example.

It's here:

To show off the awesome real time console ('forge') I made a little flic about it. :-)

As far as I can tell, Firebase rocks!

Best,
 Dirk

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Andrew Lee
Founder, Firebase
http://twitter.com/startupandrew

Andrew Lee

unread,
May 16, 2013, 5:11:55 PM5/16/13
to fireba...@googlegroups.com
Thanks Dirk! We'll improve this part.

-Andrew


On Thu, May 16, 2013 at 9:29 AM, Dirk Krause <dir...@googlemail.com> wrote:
I would either add a paragraph in the 'writing data' section with a small example of remove:
 
        ref.child(id).once('value', function(snapshot) {
            snapshot.ref().remove();
          });

(if this is the proper way to do it).
Maybe it's even worth opening a new page 'deleting data' for it. Come to think of it, a minimal 'CRUDL' example would be cool.
Maybe I give it a whirl as a learning experience - although I guess it's a matter of minutes for one of you experienced guys :-).

- Dirk

PS Btw, I forgot to mention that one of the Gists is broken: https://gist.github.com/anantn/4325082 , the second last example on this page: https://www.firebase.com/docs/examples.html
Of course it had to be the one with the remove operation in it. :-)
Reply all
Reply to author
Forward
0 new messages