Thursday, November 15. 2007
Alan, I think you were smoking way too much PHP when you wrote
this post.. This in particular really surprised me to hear you say:
"...if there was an apache module that did mysql stored procedure calls based on the request URL, and returned JSON, I suspect PHP would be practically obsolite....."
While I do understand the concept your explaining, I simply can't see how the model is practical at all for two big reasons:
Reason 1: Businesses will never build applications designed to make money when the entire application is transmitted open-source to any client which requests it.
Reason 2: Without a server-side language such as PHP, there is not a viable security model. Javascript data validation is a half-measure at best, and do you honestly believe that it makes sense to use stored procedures written in SQL to scrub data?
While I think Alan really did go a bit off the deep end, he has touched on a pretty interesting point though. While I can't see the server-side ever going away I do think that in the near future the development model will change from what it is today to a completely event-based model based on a json-powered message bus between the client and server. IBM's
QEDWiki uses
Zend Framework to create such a bus and I have to say it's a very impressive architecture. The idea that PHP programming will for a lot of people resemble Visual Basic is really a lot closer then a lot of people might think.
In a new post to his blog today, John Coggeshall comments ...
Tracked: Nov 16, 10:58