Niuyun news publishing system-stage summary (2): niuyun News Publishing System

Source: Internet
Author: User

Niuyun news publishing system-stage summary (2): niuyun News Publishing System

With the completion of Data Center reconstruction, I also officially stepped into BS learning. Niuke news and publishing system is the first project of BS learning. Many problems have been encountered in this process. The more than 20 sets on the front are relatively easy to teach, mainly by using three layers to implement code functions, and restructuring the sqlhelper class, which has already been used in refactoring, there is not much difficulty in implementation.

However, the second half is the production and integration of web pages. Although it is the same as the UI during reconstruction, there are many unique aspects, and its interface design is quite different from the previous one, therefore, despite the teacher's explanation, there are still many difficulties.

The following is my summary of the second half:


In fact, it is not too difficult to create web pages. Basically, it is the control we used during refactoring, but their placement is somewhat different from the previous one. Here we need to place the control in HTML, at the same time, the basic attributes also need to be written by yourself. However, because it is followed by the operations of the teacher, you only need to pay attention to how to use it when using it, and do not need to understand how deep it is, because now is a general understanding of the process.

The integration part of the web page is the most difficult part of the system. During the process, it is always stuck due to a small problem and cannot go on, but when we find a solution, we suddenly find that it is not difficult, but we complicate the problem. Another point is that you do not really understand a process. After you understand the process, you can solve problems on your own. For example, when designing a web page in the 32nd lecture, the "Search" button always has a problem on the 360 browser, but there is no problem on other browsers ,:


The "Search" button should be behind the search box, but always go down. Since there is no problem in other browsers, I suddenly feel like I can't help it. Later, I was reminded that it may be because of the location in the browser, so I set the Border width of the text box to a few pixels, which solved the problem. Therefore, the problem is actually very simple, just in your way of thinking.

The generation of verification codes, interception of characters, acquisition of local IP addresses, and conversion of passwords into hidden codes are novel and common methods in the future. However, there are many problems in the process of getting the IP address and password to the hidden Code. The Code for getting the IP address is the same as that of the teacher, but it cannot be achieved in any way. You can only get ":: 1 ", not solved yet. The hidden code is partly because vs always prompts that it cannot be inherited, and the specific reason is still to be studied in the future.

Some problems have also been encountered during system release, mainly because the basic settings are not clear, and some problems may still occur according to the online steps. Later, the configuration was successfully published according to the document published by the personnel system IIS. However, some of the systems after the release are different from the original ones, such as the disappearance of the rounded corner.

During this learning process, I also made many low-level errors and code errors. Sometimes I always find myself entangled in a problem. When I find that the effect is different from that of my teacher, I pause, it takes a lot of time to figure out what you can't do. As we do not know, there will be related issues in the future, most of which are browser compatibility issues. Therefore, when you encounter problems, there is no error in professional research, but you must never study too much. When appropriate, you can learn to place the problems and there will always be a solution.

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.