Alex Kazovic wrote:Regarding the 2 vs. 3 tiered model, if it was an enterprise solution where everything is behind the firewall would the security issues be lessened and therefore the 2 tier might work.
Although Don Box is my personable dude and savior, I'm going to have to with Jim Gray on this whole preference for sequential programming thing.I would also agree. A lot of current examples and work goes on with async, but anyone that has done an async server beyond something really simple knows the pain involved with async/states and getting it *right. I would like to hear/read more on how he virtualizes async in a sync wrapper or what ever his pattern(s) are. I also agree on his xml/rpc notion. However, the one way that using xml documents instead of RPC/interface contracts is better is that the document can change or be added to. And if your consumer can understand the new fields in the document it can use them or just use the ones it understands. So more flex there. With RPC contracts and no xml, you would have to do a new interface(s). I love his thoughts on tiers. I have thought this for some time and was thinking I was crazy for not being a big three tier fan. Cool to see someone like Jim has been thinking this also. That said, one could argue that it is still 3-tier. It just that the middle tier is now in the SQL server web service instead of on another box. But this is great to have it much easier to reason about and work on. SQL 2005 should be off-the-hook for developers. Get ready to hear the wines from DBAs for some time however I posted a sample sync server in the Sandbox after reasoning about some of Jims thoughs. Maybe Jim and/or some of his folks could post some written works on these thoughts before they get lost with time and people. Cheers.
I just picked up a great article from /.:A Call to Arms - Long anticipated, the arrival of radically restructured database architectures is now finally at hand.