Reflections on Learning (I)-department network development Note (2)

Source: Internet
Author: User

Today I saw two articles, which gave me a reflection after learning ASP. netfor three months.

One is Wu fan's old saying about learning "jianzong" and "qi zong"

Article address: http://www.cnblogs.com/cj723/archive/2008/08/20/1124849.html#1292056 40th floor reply.

Another article is guojing, a newbie discussion group in garden. net. "As an old cainiao, Let me know something ".

Article: http://space.cnblogs.com/group/topic/4213/

I remember that when I first started my project three months ago, I didn't even use vs. Although I studied computer science, the school didn't take the C # course, no Web programming courses, C #? Asp.net? IIS? SQL? Everything is zero for me (why am I selected to join the project team? Maybe it's luck .) I have a good professional score, so I should do it.

In this way, we started a painful journey to Asp.net in a month. My task is to develop a question system. In fact, it is just like the message board, but there is a message for the teacher, and the registration function is not required. So I started learning the C # syntax, followed by vs2005 and SQL2000, where I read books, watched videos, and watched instances. Every day, I had to wait.

When I learned C ++, I knew the object-oriented method, but I didn't use it in the project at all. I also learned the data structure, and it seems that I have never used it from the beginning to the end. I knew that the method can be reloaded and would not be used. Let alone three layers, Entity classes, design patterns, and reflections. (Here, I would like to express my special thanks to the longlang student. I may not have insisted on answering my questions .)

At last, the system was finally completed, with mixed code, chaotic logic, many bugs, no security efficiency, no security, and no exception handling (not now ), there is no extraction method, and no class is used for processing.

Every page is filled with codes that cannot be maintained. I remember changing the database later. I changed it in eight places.

Code
Sqlconnection conn = new sqlconnection (@ "Server = yinrong; database = MSG; trusted_connection = true ");
String SQL = "insert into tb_message (title, name, mail, msgcontent, isshow, reply, replyteacher) values ('" + txttitle. text + "','" + txtusername. text + "','" + txtmail. text + "','" + txtcontent. text + "', 0,'',' "+ dropdownlist1.text + "')";
Sqlcommand cmd = new sqlcommand (SQL, Conn );
Conn. open ();
Cmd. executenonquery ();
Conn. Close ();

Another thing I'm impressed with is data binding. The gridview, repeater, and datalist should be displayed as required, which is really not easy to operate. To understand delegated events, you must know how to index them, nesting is also used. I found a lot of information and it took two days to get it out. (The Elders don't laugh at me)

When the project is completed one month later, the summer vacation has been over 20 days. Go home and have a rest for 10 days. I started to take out the books I bought from the project team (playing fantasy 6 ). One is: Asp.net from entry to entry. Another is C.

In the first book, I learned about basic control operations and basic data binding. I am still reading the second book.

Later, I bought the full development course of this Asp.net project. For the first time, public classes were used for development to reduce the amount of code and maintenance.

Later in the summer vacation, the project team members were also our experts. His expertise was flash. When chatting via QQ, he wanted to use flash to build a wall-loving system. In order to cooperate with him, I bought another Asp.net + XML + CSS to learn how to interact with flash. I am very happy to watch the original things change from model to reality day by day, later, we made continuous improvements, and I also learned about XML. io operation (because you want to write XML and download RSS to display news in Flash ). Later, I stopped development because...

The summer vacation has passed... A new semester has ushered in new learning and challenges.

 

 

 

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.