[baseten-users] Portable Distributed Objects

Daniel Brajkovic daniel at brajkovic.com
Sat Jun 13 21:15:44 EEST 2009


Hello,

I really have been fun playing around with BaseTen. However, I am  
building a MacApp and WebApp concurrently. Now I know I can create a  
MacApp that consumes JSON and XML, but then I lose the automatic  
updating notifications, undo, etc. without a LOT of extra work.

To use BaseTen, I can expose my PostgreSQL DB to the internet, but  
I've read OVER and OVER that that is not good practice. Especially in  
my case where, multiple subscribers all use a single database, but  
only have access to their own records. And each subscriber can also  
have multiple users.

Alternatively, what if I vended a ServerObject via Portable  
Distributed Objects (PDO) and created a BXDatabaseContext  
(remoteDatabaseContext) instance on the server. Then connect my Array  
Controllers to that remoteDatabaseContext?

I am just starting to read about PDO, and this seems like it could  
work. Obviously, authentication would need to be created as well. I  
would love to hear the pros and cons of this idea.

Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2423 bytes
Desc: not available
URL: <http://lists.basetenframework.org/pipermail/baseten-users/attachments/20090613/256c1395/attachment.bin>


More information about the baseten-users mailing list