Programming

Software Testing of the Road and skill



Software quality is the software functionality and performance to meet user needs and expectations of the level.With the IT industry in various extensive and thorough application of software quality become important factors in general.How to effectively improve software quality, and enhance the competitiveness of software products, the software business management and technical staff common problems.

A vb.net user login page code



Private Sub Button2_Click (ByVal sender As System.Object,
ByVal e As System.EventArgs)

JavaScript and CSS for Web-based framework for cross comparison chart



jQuery, MooTools, Prototype JavaScript framework for such a great variety of powerful features, including drawing Web graphics, and the corresponding plug-in using these frameworks, we can very easily implement graphs, pie charts, bar charts and other Web graph drawing,without 象以往那样 through complex Flash technology.This article describes the nine best JavaScript and CSS-based Web graph framework.

Beginners must-see: array elements are presented on the PHP



PHP after a long period of development, many users are very understanding of PHP, and here I express my personal understanding, and discussion discussions on PHP array elements.If you've ever written a script to use a large number of variables (sometimes nearly 100), you will know track the content and purpose of each variable how uncomfortable.Really, I have had such experiences.If we can save another variable inside the variable, the variable length of the list reduced from 100 to 10 or less.This is how come the array.

JavaScript example to achieve page typewriter effect



Was often used in Web pages to do typing swish effect, in fact, can make that avascript effect, do the following in the HTML file, the code can be added avascript.You want to use the text can be amended.

Standard CGI programs written with VB (I)



Using Common Gateway Interface (CGI), Web server can execute some external program, and these external program output generated by Web server management and static text, images and sounds together to pass the appropriate Web browser.When the client's browser to the Web server requests a HTML file, the server after receiving a request to find the file and find the file transfer to the client.When the client request is a CGI program, Web server, the client requested the activation of the CGI program and the program execution results to the client.

Summary of open-source Java testing tools [1]



JUnit

JUnit by Erich Gamma and Kent Beck prepared a regression testing framework (regression testing framework).Junit test is the programmer tests, the so-called white-box testing, because the programmers know how the software being tested (How) completion and the completion of what (What) function.Junit is a framework that succession TestCase class, you can use the automatic Junit test.

Unit testing tips [2]



TDD in a good test requires you to modify the code to enable it to work the way you want, which is to be better than forcing you to reflect the real situation now, or a non-logical requirements of the desired results.For example, when 1 + 1 return 0 means the test failed.This simple example, and this situation is similar, in practice, if the current demand is at work, the test should reflect the results you expect, then you can adjust the current situation in the code to pass this test.

Windows systems from malicious code immune harassment



That the malicious code, refers to a web page using a loophole to modify the system using WSH section of code (but since it does not have the infectious and self-replication of these two basic characteristics of the virus, it is not called a virus).WSH is the "Windows Scripting Host" the acronym is a script provided by Microsoft to explain mechanism, which makes the script file (extension. Js,. Vbs, etc.) directly in the Windows desktop or command prompt.In other words, we can uninstall the WSH, preventing malicious code from running, real-time protection of any of the aspects can be to protect the windows system is not the purpose of malicious code tampering.First, uninstall the original intention of WSH WSH provided by Microsoft is to allow administrators to more easily through the script management system, batch or automation.But the good wishes of malicious code and makes use of WSH as a very weak link in the system.In fact, the vast majority of ordinary users do not need WSH, so we can uninstall it.Here's how: In Windows 2000, XP way is to delete the WSH, double-click "My Computer" icon, and then do "Tools / Folder Options" command, select the "File Types" tab, find the "VBS VBScript ScriptFile "option and click the" Delete "button, and finally click" OK "button.Second, the ban script WSH to run If you do not remove the component, may be considered as means to prohibit the script run: 1, open Explorer, click on "Tools -> Folder Options -> File Types" in the fileType suffix will be "VBS, VBE, JS, JSE, WSH, WSF" delete all items, so that these documents will not be executed (double-click in front of your search to the *. js, *. vbs file to try.)2, open IE, click on "Tools -> Internet Options -> Security -> Custom Level" in the "Security Settings" dialog box, which all ActiveX controls and plug-ins and components associated with the Javatotal ban can be.However, after doing an inconvenience that is, if a Web page using js or vbs script, the network will not display properly III, real-time protection of IE may you feel the above two methods are too absolute, and can not meet their flexibleneeds, then you can consider installing Internet Assistant (in the address bar enter "Internet Assistant" or "zs.3721.com" into the site, the installation prompts in the pop-up dialog box, click "Yes".)After installation, Internet assistant in the system tray at the bottom right corner of the screen a blue icon, click it, you can see the "Protection of IE" item is selected, that features real-time protection is in force IE.Of course, in addition to the above methods other than IE in time to the system and apply the latest patches, anti-virus software to update the virus database in time, not easy to browse some sites of unknown origin, etc., are all good habits, to the maximumshut out the malicious code.

Shell Programming: Linux System Programming of the Road Environment



Other high-level language has a function of gratitude, of course, also the concept of shell programming, write a relatively large shell program, if not function, the code will be repeated everywhere.Of course, you can call other scripts, but the speed will be slower.So the function is essential and very important thing.

6 QQ space of non-skin solid color code yellow diamond



The first code: (white) javascript: window.top.space_addItem (1,4703,0,80,0,0,94);

HTML5 to the JavaScript framework for where to go



HTML5 is the core language of the World Wide Web the first major version 5, as early as 2004 by a network of rich text Application Technology Working Group (WHATWG) launched.Although the standard still being developed, but the browser has to support some part of the HTML 5 features, such as the Safari 4 beta.

Automated testing avoid weird test script



What is "strange," the test script it? Is this script running in many cases, the test results are not always consistent, for example, run 10 times, 9 times is through, there is a failure 1, thenWhat this test be adopted, or is it failure? The answer is: It depends.

Download the beta version of Microsoft's Windows 7 leaked online





Windows 7 Beta 1 (Build 7000)

SAN FRANCISCO, Dec. 28 morning, according to foreign media reports, although Microsoft's Windows 7 Beta 1 (Build 7000) beta version of the operating system in January to the middle of next year, and we can officially meet, but now the Internet has been ahead of the BitTorrentDownload the leaked version.

The basic elements of test management software



[Tools]


Efficient software test management is essential to the success of a project the human factor.Test is based on technology-oriented professional work, but because the software development process in a special position, so the work process requires effective communication and coordination as a guarantee.We usually refer to these communications, coordination and unified planning work as software test management.This article will test management software to do the basic elements in each introduction.

Get expert guidance method of the week PHP



PHP learned a long time, here and share with you a small experience.PHP is used to create dynamic WEB pages server-side scripting language.Like ASP and ColdFusion, you can mix PHP and HTML WEB pages written, when the visitors navigate to the page, the page server will first be processed in the PHP commands and then treated with the HTML content with the results sent to theaccess to the client's browser.

Talking: automated testing framework, the key control interface



Integration of automated testing framework to do so, the most important thing is to solve it? Believe that knowledge of windows programming staff can find the problem.In the form, write the code, the control input of each control is very simple.However, once the show a modal form, the original code will no longer flow downward, but remain in the new form, waiting for the message accordingly.This is our code control interface, the key issue.

Software Reliability Testing [2]



3. Reliability of the test coverage

Reliability testing must ensure that the input cover and environmental coverage, which is the basis for accurate estimation of software reliability.

5.0 QQ space free on the left three promotions skin code



Q is for the majority of the Friends of the latest 5.0 QQ space free on the left three complimentary skin code, I hope you will like!

Java Platform Development Vision (4)



Integrated Development Environment (IDE) for the better

Number of dying IDE really lit the fire of 2006, proved once again that competition is a good thing.The dilemma caused by the Eclipse, Sun will inject some energy and resources to NetBeans which eventually began a seemingly fierce competition.By some measures, the end of 2006, NetBeans even beyond the Eclipse.It is excellent for the original design of GUI appearance and a much more remarkable biochemical tools.It does not have the Eclipse community.Than NetBeans, more plug-ins and third-party products is based on Eclipse - at least from the quantity of more - and this trend is only accelerating the trend.

A link to the JavaBean instance of Oracle database



public class OracleConnectionManager {

private DBConnectionManager connMgr;
private final String poolName = "Oracle";

Firefox 2 is very dangerous and defective advised to turn off JavaScript


Since there have been using their malicious code, Firefox browser, two security flaws in the risk level is assessed in order to "extremely critical."

Discuz! 6.0 Reggie attack the strongest Forum (BBS) program cool debut



Now, in the same forum software, who can dominate the field? Believe the answer is a lot of friends Discuz!.Let us joy, 28 August 2007, Comsenz (Comsenz) in Beijing issued a new generation community forum software Discuz! 6.0 full version, users worldwide can be found in Discuz! Official download page and majorwebsite free download and install.

Microsoft had no intention of open source in China



Recently, the EU and the three-year antitrust dispute between Microsoft is finally over.Microsoft has reached a related agreement with the EU to take measures to comply with the European Commission made in 2004 antitrust ruling, the EU ruling in 2005 with the open-source software, Microsoft must share code, case manufacturers, has decided not to appeal against the EU's punishmentand even agreed to open part of the original operating system software code of confidentiality.

Novice School: mail command in the Linux system test



1. The simplest example:

mail-s test yangfang@fudan.edu.cn

The results of this command is to send a letter titled test to the back of an empty mailbox, if you have the back of the mailbox and mta will not stop this potentially baffling letter, will be able to receive this letter was.If you do not want to be such a mess of things interfere with the back of the mailbox, use a local account.