On Oct 4, 2012, at 11:42 AM, Sayed Arian Kooshesh <koosh...@gmail.com> wrote:
> what's the advantage of using a direct connection here vs an rpc call to a 
> generic handler or other form.

Bureaucracy. ;-)

> I would like to hear an argument for exposing your database to the world in 
> any app. 

Not all companies behave as you might think they should...and if Product A 
needs data held in the DB, they can either contract with Group G to get a 
front-end to the DB running (which may or may not be possible due to 
politics/etc.), or Product A just bypasses Group G entirely and (somehow?) 
opens the firewall to the DB.

Yes, in any sane world, the DB would be locked behind more firewalls than you 
can shake a stick at and you'd use SOAP/REST/WCF/JSON/SMTP/whatever to access 
it -- with decent data validation at all tiers! -- but the world is very rarely 
"sane."

Also, who want's to write all that "plumbing" code for your WCF/DB layer when 
you can just make the DB world-accessible? ;-)

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to