Subject: Data-bound and remotely confused
Subject: Data-bound and remotely confused
- Subject: Subject: Data-bound and remotely confused
- From: Theodore Petrosky <email@hidden>
- Date: Wed, 9 Jun 2004 05:10:52 -0700 (PDT)
Matt,
I'll only answer your questions about remote databases
as this is what I am working on and I have the pieces
working well.
It is fairly simple to take any data object, encode it
to something like base64 and pass this to an external
db. I has postgresql on a machine and I do this with a
couple of NSArrays that I use to populate tables in my
app.
I use postgresql specifically because i can set up
triggers in the db so if you and I are looking at the
same table at the same time and you update it, my copy
can reflect your changes.
good luck, let me know if you want more details on
implementation.
Ted
>
--__--__--
>
>
Message: 1
>
Date: Wed, 09 Jun 2004 00:10:27 -0500
>
From: Matt Baker <email@hidden>
>
To: email@hidden
>
Subject: Data-bound and remotely confused
>
>
I'm still grasping for details that aren't available
>
in the three
>
tutorials covering bindings on the web. I have a
>
working project that
>
aloows me to type styled text in an NSTextView and
>
show a small part of
>
it as an unstyled text in a TableView.
>
>
I followed the tutorial on MacDevCenter, using
>
setText as the name for
>
my method to set the text into th object. It's
>
actually being saved, and
>
I didn't have to bind anything like I did with the
>
accessor methods. Is
>
this voodoo or jus how controllers look for saving
>
methods?
>
>
Also, I'm hoping to use this with a database or a
>
socket connection, so
>
these records will be saved remotely instead of to a
>
file, like most
>
tutorials show. How difficult is it to have bound
>
objects save to a
>
remote location upon endEditing? Is there a way for
>
me to validate that
>
the data was saved?
>
>
Thank you.
>
>
--__--__--
>
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.