[baseten-users] Portable Distributed Objects
Daniel Brajkovic
daniel at brajkovic.com
Sun Jun 14 22:33:00 EEST 2009
Well I dug into the source code a bit. What about if the vended object
was an instance PGTSConnection or PGTSConnector?
I'm not an programming expert, but from I can make out it's one of
those two classes that make the ACTIAL connection to the database. I
have yet to find where either of them are intansiated.
Daniel Brajkovic
Sent from iPhone.
On Jun 13, 2009, at 10:24 PM, Tuukka Norri <tuukka.norri at karppinen.fi>
wrote:
> Hi!
>
> Daniel Brajkovic kirjoitti 13.6.2009 kello 19.32:
>> Speed is not an issue because the best alternative now, is
>> consuming a web service, and opening, authenticating, closing
>> connections has GOT to be slower than maintaining a open connection.
>>
>> But you raise an interesting point that I did not consider; I
>> didn't consider that the BXDatabase objects would live on the
>> Server then, not on the client. It would be an interesting
>> experiment as to how many clients such a setup could handle.
> I'm a bit concerned about calls to -[BXDatabaseObject
> primitiveValueForKey:]. I'm not at all certain but I think
> NSArrayController (and other NSController subclasses) could call -
> valueForKey: multiple times for the same object even if the value
> hasn't changed. If the value is returned by reference and the
> corresponding object exist on the server, reading it over and over
> could be slow. Don't take my word for it without testing, though.
>
>> Since I wrote the original email, I did some looking and found this
>> in PostgreSQL docs (looks like its new for PostgreSQL 8.4rc1):
>> ...
>> This would solve my problems because I could just email clients a
>> valid cert. Would it be difficult to implement this into BaseTen?
> We originally had plans to make certificate authentication available
> in BaseTen, until we found out that it may only be used in addition
> to another authentication mechanism. We'll definitely look into
> this. The certificate would probably be stored in the user's
> keychain and converted to PostgreSQL's desired format using
> Security.framework, so I don't think that implementing it would be
> difficult.
>
> I'd ask PostgreSQL developers about making the server accessible
> from the Internet, though, even if clients are required to use SSL
> and have a certificate.
>
>> And have you tried BaseTen with 8.4 beta?
> Unfortunately not yet. Now that WWDC has ended, I'll have some
> vacation but we'll test it as soon as I return to work.
> --
> Best regards,
> Tuukka Norri
> MK&C
>
>
> _______________________________________________
> baseten-users mailing list
> baseten-users at lists.basetenframework.org
> http://lists.basetenframework.org/mailman/listinfo/baseten-users
More information about the baseten-users
mailing list