The framework of webwork----

Source: Internet
Author: User

Recently a noun jumped to the front webwork, although for a tread it less than 3 months of rookie, it is difficult to describe clearly. But I'm going to have a try. Sometimes it is a child who finds that the emperor is dressed!

Stand in the macro angle to understand webwork: from B/S began to say: the main content on the server side. (Just like we do the project, the online shopping mall), he has the View Section (This is the last thing to show in the browser interface), such as only the information is not interactive HTML (game official website homepage is this), there is interactive JSP file (login registration), There are also hints for password errors that are also JSP or HTML files. behavior Section (called Action on Baidu) This can be understood as, through the page submission request, request carrying parameters, what we need these parameters to do, is defined in this part, is written in Java. There is also the configuration file . Do you remember what Mr. Liu said about the Web project in Java? It is necessary to configure an XML file. The configuration file can control the order of calls and so on. This San du is a work of development.

But the development has finished these three is finished? No, there are a lot of logical parts. Just like a bunch of views part of the file, the action (behavior) part of the file, and the configuration file. How they are called, how a logical judgment relationship, these are very complex. Can be developed slowly in the Java language to write. So the framework was born. And webwork this big frame, she can manage the configuration file and invoke the action file. To get a clear result of invoking the view file. In return to the request. So we saw the return page.

The following is the Baidu framework of the vernacular.

  

WebWork, in summary, is a framework for processing power (logic processing, error interception capability). Available for developers to use. (That means you have to learn his principles and use.) But slow down, learn Java first.

I have time to look at the micro and source code aspects of WebWork. His composition, and the principle of work. That's a professional explanation. ----Waiting for me to learn Java in the same time.

The development of----learning is like a tour, watching the scenery in the distance, pedaling on the ground. Not afraid I accompany you to go together.

The framework of webwork----

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.