Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to be a good ASP.NET programmer

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article focuses on "how to be a good ASP.NET programmer". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor learn "how to be a good ASP.NET programmer".

"write programs for people."

Junior ASP.NET programmers or inexperienced programmers often only realize that their programs are written for computers, but do not care that the programs are actually written for people, or do not care enough and not comprehensive.

Programs written to the machine often seek to run correctly and execute efficiently to meet the requirements. But is the programmer's task simply to convert business logic into a computer language that machines can compile?

In fact, the program is first (note, first) written for people. * the program is written for people who read the code. Second, the program is written for the person who uses the program. To understand this, we can understand why there should be code specifications for writing programs, why there should be various documents, why to name subroutines, why to layer, why to learn design patterns, why to write test cases, why to scrutinize the placement of buttons, why to write Web interfaces according to XHTML standards, why to use AJAX … ... Understand this point, in order to do a better job of the above things.

Everyone is saying that "details determine success or failure", and everyone knows to pay attention to details. Why everyone is talking about the details, some people can beat the opponent through the details, and some people don't even know which side the details are. This is where the level lies. We should be prepared: the details will not appear in front of you with a shout. Perceiving details is a process that requires constant learning and practice, and even guidance. This process is long and short, depending on the individual's learning ability and comprehension ability. But at the very least, we must have a direction first. To find the details of the program, the direction is to "write programs for people". Keep this in mind when you design, write code, and fiddle with the interface. after a few projects, you can naturally see a lot of details.

"both internal and external repair"

The master in martial arts movies often becomes a master through strange methods and a sharp increase in internal force. However, if we do the program, we must become experts, and only by "both internal and external repair" can we get twice the result with half the effort. Internal refers to the grasp of requirements, design ideas, design patterns and so on. Outside, it refers to the specification when writing the code, the rigor when doing the interface, and so on.

For those of us who have seen too much in martial arts, the characteristic of being partial to the inside and neglecting the outside is very obvious. This is evidenced by the comparison of the number and sales of books on design patterns and code specifications in the bookstore. But even if you write one set of design patterns and one set of design patterns, you will still be stuck in a quagmire after a year or two if you can't see the idea for a long time.

For another example, some people call themselves ASP.NET programmers, and the background code he writes is also hierarchical and well-organized, but the interface is mixed with structure and performance, and a lot of junk code automatically generated by IDE is filled with it. The text boxes that should be used are used, buttons are placed in places that no one can think of, and user operations are required for those who should not operate, and operations that can be completed in one step can not be completed. Obviously, it is impossible for him to make a successful product. Maybe he also knows that the interface should be reasonable, but it is because he does not practice external skills and thinks that I am engaged in the advanced technology of .NET. Isn't it self-deprecating to study HTML, JavaScript and CSS? In fact, people who have carefully studied such technologies as HTML and JavaScript will realize that using these technologies is more challenging than popular. NET and Java, and after you gain the ability to directly manipulate user interface elements, the previous situation of doing interface effects and interface functions will be gone forever.

How to learn ASP.NET

To be a good ASP.NET programmer, you should not only master the .NET Framework and understand the principles of ASP.NET, but also be familiar with DHTML and even understand the differences between various browsers, so it is a challenging job to be an ASP.NET programmer. So how do you learn ASP.NET and eventually become a good ASP.NET programmer?

I think it can be divided into two steps: first, be familiar with the use of various standard controls of ASP.NET and understand how ASP.NET works. Then, expand your knowledge and skills in both "inside" and "outside" directions.

With the help of an excellent IDE like Visual Studio .NET, it should be easier for us to grasp the basic working principles of ASP.NET by using various ASP.NET controls. If you can practice the more complex data-bound controls such as DataGrid and DataList with a few simple projects, it should not be a big problem to master ASP.NET.

After that, we can move forward in two advanced directions. "inside", it is necessary to have a deep understanding of object-oriented programming ideas, and then there is the understanding of various patterns of the Bhand S framework (such as MVC). * is the concept and technology of software engineering such as design patterns. "external" places more emphasis on practice. First of all, when doing the project, we should pay attention to realize some logic that can be realized on the client side with DHTML, so as to master the method of combining server side and client side technology, deepen the understanding of HTML DOM object, and be proficient in common JavaScript skills. Then practice the separate planning, design and implementation of the structure, data and performance of the Web interface.

At this point, I believe you have a deeper understanding of "how to be a good ASP.NET programmer". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 248

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report