In this short blog he does acknowledge the point that keeping logic on the client does help to avoid expensive network calls. In the discussion he points out that a better strategy (which smells like caching) is to use logic to determine if a call should go to the server. This avoids unnecessary calls while keeping business logic out of the front end. Finally Eric offers up this nugget.
You never built querys or logic with JavaScript code and saved it in a hidden text field for the server side code to read. All of that is done behind the scenes out of the view of the people. That same idea should apply to your Ajax applications.
Does Eric getting all of these questions regarding where to put the business logic mean that AJAX is suggesting that developers implementing business logic in browser and is all of this leading us back to the world of fat clients?
Threaded replies
· Does AJAX implement the Business Logic by Kirk Pepperdine on Wed Dec 21 07:05:09 EST 2005
· Does AJAX implement the Business Logic by Javier C?mara on Thu Dec 22 04:41:26 EST 2005
· AJAX: A serious solution, or a serious joke by Ahmed ALEM on Sun Jan 08 02:37:24 EST 2006
· Why
· I completely agree, more Fat Client by Tim LeMaster on Fri Jun 02 14:49:52 EDT 2006
没有评论:
发表评论