Xiangxian content:
Introduction
Tip 1: cache common data on a Web server
Tip 2: cache common data in application or session objects
Tip 3: cache data and HTML on the Web server disk
Tip 4: Avoid caching non-flexible components in the application or Session Object
Tip 5: Do not cache database connections in application or session objects
Tip 6: Use session objects
Tip 7: encapsulate in a COM
format, then you use the following function to import the returned results to your xml node: 1 Protected Void Getxmlbysql (xmlnode, String SQL, sqlconnection conn) 2 { 3 Sqlcommand = New Sqlcommand (SQL, Conn ); 4 Xmltextreader = (Xmltextreader) sqlcommand. executexmlreader (); 5 Xmltextreader. Normalization = True ; 6 Try 7 { 8 While ( ! Xmltextreader. EOF) 9
disk partition is used to save the Restore Point. If you do not need this function, you can disable it.
Right-click the "my computer" icon and select Properties to open the System Properties dialog box. Open the "System Restore" tab, select the "Disable System Restore on All Drives" check box, and click OK.
2. transfer a paging file: The paging file is the virtual memory we used to access in Windows 98. By default, paging files are stored in the
pale pink, mixed mode to "soft light", the edge of some of the light yellow, the effect of the figure 17.
11, pull out the wings of the selection, with a white brush on the edge of some high light, the effect of the following figure. To this step, the right wing is basically finished.
12, the good wings to copy a, horizontal flip and then butt
not in Clause executes an internal sorting and merging. IN either case, not in is the most inefficient (because it executes a full table traversal for the table IN the subquery ). To avoid the use of not in, we can rewrite it into an Outer join (Outer Joins) or not exists.
For example:
SELECT...
FROM EMP
WHERE DEPT_NO not in (SELECT DEPT_NO
FROM DEPT
WHERE DEPT_CAT = 'A ');
To improve efficiency. Rewrite:
(Method 1: efficient)
SELECT ....
From emp a,
rewrite it into an Outer join (Outer Joins) or not exists.
For example:
SELECT...
FROM EMP
WHERE DEPT_NO not in (SELECT DEPT_NO
FROM DEPT
WHERE DEPT_CAT = 'A ');
To improve efficiency. Rewrite:
(Method 1: efficient)
SELECT ....
From emp a, DEPT B
Where a. DEPT_NO = B. DEPT (+)
And B. DEPT_NO IS NULL
And B. DEPT_CAT (+) = 'A'
(Method 2: most efficient)
SELECT ....
FROM EMP E
Where not exists (SELECT 'x'
FRO
attention to it. This is because the MSMQ technology you use in WCF is fundamentally different from the traditional C/S program. However, one goal of WCF is to maintain consistency when sending and receiving messages, regardless of which transmission protocol is used at the underlying layer of WCF, therefore, message queue-based WCF is similar to other transmission protocols. However, the message queue used by WCF is different from the Message Queue Technology you used in the past. In the last
1,: eq () and nth-child ()See the following code:2,: odd and: even: Odd number of rows: Even number of rowsNew users often say that it seems to be the opposite of what we do?In fact, like the eq () selector, the subscript starts from 0,That is, the first row number of the table is 0 (even );The number of the second row is 1 (ODD), and so on...3, $ ("tr: odd"). ad
use alert () in the init () constructor () method to obtain the type and information of the selector parameter. The Code is as follows: Copy code 1 (function () {2 var window = this; 3 jQuery = window. jQuery = window. $ = function (selector, context) {4 return new jQuery. fn. init (selector, context); 5}; 6 jQuery. fn = jQuery. prototype = {7 init: function (selector, context) {8 alert (selector); 9} 10};
Simplexml_load_string after the text is processed, the length of the line break in the text becomes 1, and how does it revert to 2?
When there is a newline character in the text, the length of the line break will change to 1 after the above function is processed, how to keep 2?
Reply to discussion (solution)
$STR
Ec (2); in php, multi-inheritance is not supported. If we use multiple classes to implement code reuse, is there any way? That is the combination. Set another class as an attribute in a class. The following example simulates multiple inheritance. Viewsourceprint? 01 lt ;? Nbsp; 02 classuser { nbsp; 03 nbsp; private $ name quot; tom qu script ec (2 ); script
In php, multi-inheritance is not supported.
If you don't refresh it, you forget to take this opportunity.
Diff
Diff is an essential tool for generating source code patches. The command format is:
Diff [command line option] new file of the original file
Common command line options are as follows:
-R recursive processing Directory-unified format of U output (uniied format)
-N patch contains new files-a patch can contain binary files
Its output is on stdout, so you may need to redirect it to a file. Diff outputs can be class
1. First, create a group, of course you can also delete or modify the index of the group, I created a new admin group2. Under the Controller group, create a new file, unlike ThinkPHP3, ThinkPHP5, simplified the name, do not need to write AdminController.class.php, just write admin.php. Note: Capitalize the first letter!3. Write the controller first, and notice the namespace!4. Create the corresponding Controller folder in the view:5. Introduction of H
the attribute of the object instance! Instead of the function (constructor) attribute. Prototype is a function (constructor) attribute, not an instance attribute!
Copy codeThe Code is as follows:
// In the following code example, MyObj is a function (constructor) and obj is an instance.
Function MyObj (id ){
This. id = id;
}
Var obj = new MyObj (1 );
Alert (MyObj. constructor) // local code
Alert (obj. constructor) // MyObj. toString ()
Alert (MyObj
1. Pork + edges have a stomachache;
2 pig + lotus seeds (burned with white eggplant branches) will die of poisoning;
3. vomiting caused by beef + chestnuts
4. Beef + brown sugar bloomed into the dead;
5. Beef + pickles may be poisoned;
6 beef + catfish will be poisoned
7. Beef and snails will be poisoned
8. mutton and watermelon hurt the vitality;
9. bloating of mutton + snail bait;
10 d
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.