Have noticed Im have come full circle. Im not writting a web application any more in Ruby on Rails. I am builder a n-tier rich client application, the difference is the client is javascript+html in a web browser as a container. I now finding the MVC part moving to javascript with rails supplying the initial page template and then a few restful json data structures to handle change in state. Affraid cant see the point in the X part of ajax when talking from ruby to javascript its a classic cut out the middle man xml. The .xml there on the action but .to_json faster then .to_xml for moving the data.
I have been reading the ajax is evil etc talk, and this may be true to public wildly distributed view anywhere application. But I'm after the best user experience for a known set of clients for in-house usage. For my style of application JavaScript and Ajax is a boom as take away the web bar at the top with Mozilla prism and user just think its a richer client application like the host of .net application. In fact in user pilot beat a competitor thick client swing application as user rated the web page as having better windows integration (odd but true).
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment