官术网_书友最值得收藏!

Chapter 1. Express Introduction to Silverlight

Nowadays, starting a web development poses a considerable challenge, since clients have got used to having powerful desktop-based interfaces at their disposal, which can also be delivered in record time. If we focus on Line of Business (LOB) applications, we find the additional challenge which is the fact that our apps have to be ready for massive changes, taking into account tight deadlines without sacrificing stability. All of us have suffered that "little last-minute change". Everybody has heard things like, "We got to change the way in which discounts for purchases are managed. This could be ready in just five minutes, couldn't it?"

To overcome such situations, web developers can make use of a combination of ASP.NET (webforms or MVC), HTML, JavaScript, AJAX, and the more advanced HTML 5 and jQuery.

Nevertheless, when we implement LOB applications we often find that:

  • We have to struggle in order to make our pages consistent in different browsers; even in different versions of the same browser.
  • Our developers have to learn a language to develop client side, and another one to develop the server side.
  • JavaScript is a polemic language—love it or hate it. For some developers it is not object-oriented (although it has OO capabilities) and is an interpreted language. One only has to forget to add a semicolon, or introduce a syntax error when typing a command, and our application may produce an execution time error.
  • HTML 5 only works in updated browsers. Could you imagine yourself telling your client something like, "Well, what you have to do is install the latest version of Chrome or IE on your 1,000 PCs. This is also applicable to your associate companies."
  • We have to mix business and presentation logic. We try to avoid going to the server, for instance, to make validations which do not require reading a database. That is to say, we mix the reading of an input or an HTML ComboBox with the realization of validations. For example, if the user chooses more than four high-end products and is a premium client, we can enable a special 10 percent discount. This causes serious trouble when changes are required in the page layout, even if they are insignificant.
主站蜘蛛池模板: 临澧县| 察隅县| 安达市| 类乌齐县| 威远县| 北流市| 松溪县| 渭源县| 旺苍县| 新绛县| 长武县| 安吉县| 彝良县| 湘乡市| 土默特左旗| 太白县| 义马市| 商南县| 铁岭县| 黄石市| 彰化市| 涞源县| 新平| 杭州市| 胶南市| 德昌县| 银川市| 嘉义县| 长武县| 马公市| 黄大仙区| 平定县| 磐石市| 响水县| 盱眙县| 任丘市| 沙湾县| 石狮市| 丹阳市| 星座| 河北省|