New technologies, new ideas and the development of commercial applications -- Also on Ajax and nunit

Source: Internet
Author: User
Recently, I was very busy. At first, I upgraded a previously developed C/S system, which was quite painful and caused many problems. Fortunately, the system was successfully released along with the other two subsystems, after several days of adjustment, I can make full efforts to invest in B/S. I am ashamed to say that it is not enough. A small system application has been dragging on for so long (find objective reasons: it has been messy, I didn't have time to calm down and think about it). I thought it could be well done, but the manager made a hard requirement-I had to come up with a demo version next Thursday, at least to ensure smooth business, I think this requirement is not at all. I want to make it more user-friendly. After all, this is the company's first large-scale Web application, Prepare to introduce some popular technologies on the market today, Ajax and development methods TDD ;

First of all, about the popular Ajax, Jesse James Garret, a masterpiece about this technology, Ajax: A New Approach to Web applications (Ajax: A new way to build Web applications) leading a new technology, there have also been a lot of good text, such as: Ajax internal communication documents, AjaxProgramIntroduction to design, discussion of Ajax error handling mechanisms, and a number of websites that focus on this technology, such as ajaxmatters and ajaxpatterns, among which Ajax. net-a free library for the Microsoft. net Framework provides a free Ajax. net-a free library and examples of its use, of course, there are also a lot of voices against it. Typical examples of good ideas include: Seven Sins of Ajax;

In fact, like many comments, I don't think it is a new technology, in fact, several technologies are combined in a certain way to play their respective roles in the same collaboration (derived from Ajax programming ), the core component of the Ajax framework is the XMLHttpRequest JavaScript Object (which is introduced from the discussion of Ajax error handling mechanism). However, it brings a great shock to the user experience, many large foreign enterprises use this technology, such Google suggest, Gmail, Google Maps And even caught the eyes of Microsoft: Microsoft has created the Atlas software.

I have been incredible about the backbase user experience, and I have also studied their development kit: backbase community edition. Although I have been dizzy, I can't help but admire their refreshing technology, unfortunately, there are no applications that use this technology on a large scale. Why not add this technology to your own applications, after I have successfully used this technology in the project, I will talk about it here;

Let's talk about TDD. I think we can only talk about unit testing now. When talking about unit testing, we can't help but raise a strong nunit. We also won the 14th jolt Award for production efficiency: pragmatic starter kit by Dave Thomas and Andy hunt, in fact, the introduction by the author about how to use nunit is not important. There are also many usage experiences in the garden. Here we don't need to worry about it. The key is the content of the unit test above, the quality of the test and how to test the content in the project are the essence of this book. I will only give a rough picture here today. I will introduce it in detail later:
Test what content? Right-bicep
Right -- correctness
B -- Boundary Condition
I -- check reverse Association
C -- cross check
E -- force generation of error conditions
P -- Performance Characteristics

Of course, it is very difficult to simply follow these ideas. I think we should stick to it if it is good ......

If you have experience using Ajax, please suggest using it. It may be a link that you think is better ......

Related Article

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.