From WebForm to backbone in web development

Source: Internet
Author: User

How 1.WebForm and WinForm are unified at the design and conceptual level

It turned out to be a WinForm development, or Windows application development, almost all of the way is to add a different control on a window, or to jump to a different window, of course, this window is a bunch of controls, and these controls are more "real", Because you're the one that's dragged out of the toolbox, placed on the window, and, of course, dynamically created.

And then touch the web development, but also encountered a lot of controls, but these controls are not so "real", because they are browser code "drawn" out, more "virtual", from the development of the feeling is that these controls are generated on the server (because the server generated the full HTML content), Just transfer to the client (browser) to display it.

From this point of view to understand the WebForm and WinForm program, in fact, the two are exactly the same, all generated a variety of visual controls (UI) for user interaction, the only difference is that the WinForm control is displayed on the "specific window (the main window of the application)", and the WebForm control in the " Unified window (browser) shows, Ms used this way to simplify the front-end display of WebForm, trying to design and implement Web pages like WinForm development, in my opinion, in fact, is very unsuccessful, because there are too many issues to consider in the back of WebForm, Most of this is due to the additional burden that this approach brings. So PHP fire, with its "glue" characteristics, to a certain extent, so that the programmer more control of the page, the developers like, of course, the Java spring and some other MVC framework, is also doing the same experiment, Its purpose is to make the development of Web applications in the server and desktop applications better unified, and more simple, is to toss out a virtual UI in the service, that is, HTML itself, and then to the client, so that the browser is displayed by the rules, which appears to be a bit of a ridiculous appearance, Because this requires programmers to build an invisible interface on the server, it is too demanding, so is there a better way to actually develop a Web application like a desktop app?

2.Web applications and desktop applications how to unify at the implementation level please forget spring, especially spring MVC, and of course there are other similar things, all forget it, give you a broad world, play the imagination!


This page is not particularly simple, so simple to even a visual control is not, hehe, actually there is a, that is body oh, temporarily cut it into a large window bar, OK, we have their own "specific window", and it in the client Oh, Then the other display problem is not to trouble the service side, do it yourself, see here, is not and desktop application development a bit like it, if you do not need to access data, in fact, there is no need and service side to play any dealings, like we do a desktop application does not need to access the database.
The next thing to do is to use the powerful JS add any of the controls we want to add, it is recommended that you can use Backbone.js Oh!!!

From WebForm to backbone in web development

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.