-onload download) in the book. I personally used this method to implement dynamic modular loading of JS files.
Article 9: Reduce DNS lookup. If a website address is converted to a fixed IP address, it is cached by the browser and the operating system. By setting the DNS Cache survival time (time-to-live, TTL) and HTTP keep-alive, which can reduce DNS lookup and improve request response efficiency. At the same time, using keep-alive will calculate the Content-Length. For scenarios that are not ea
alignright.
3. Code abbreviation
CSS code abbreviations can speed up code writing and streamline the amount of your code. There are many attributes that can be abbreviated in CSS, including margin, padding, border, font, background, and color value. If you have learned the abbreviation of code, the original code is as follows:
li{ font-family:Arial, Helvetica, sans-serif; font-size: 1.2em; line-height: 1.4em; padding-top:5px; padding
FCKeditor
The 2.0 version finally came out. The reason why the word "finally" was used was that the FLASH insertion function was widely seen in this version. In all online editors, FCKeditor
It is currently the best editor on the Internet. It has powerful functions, supports multiple browsers, and has no platform restrictions. It can be integrated with multiple WEB languages, supports multiple languages, and is open-source ~~
FCKeditor can directly use a brand new website without any modificati
In the past, I used to use VMwareWorkstation to play virtual machines. Today I feel the charm of VirtualBox. I will not talk much about it. I will streamline the process as follows. The following describes how to set up a shared folder between Windows XP and Ubuntu in VirtualBox: 1. Install virtualbox2, select the system disk image. 3. After XP is installed, install enhanced device functions 4. Set a shared folder after restart
I used to use VMware W
Introduction: The JRE is the basic environment on which Java programs are implemented, and the JRE is now very large, even in order to execute a simple Hello World program. May still need to rely on the entire JRE, near the hundred-gigabit-size dependency.Is it enough to streamline the JRE that a particular Java program relies on? Of course it can. Dynamically streamline the JRE based on the needs of the cu
bottomThe http/1.1 specification suggests that the browser does not have more than two concurrent downloads for each hostname, and the problem is that the script blocks the parallel download of the page, even if the host name is different8. Avoid using CSS expressionsWhen the page is displayed and scaled, scrolling, and even moving the mouse, the calculation frequency of the CSS expression is our concern. You can consider a one-time expression or use an event handle instead of a CSS expression.
1. Add code readability-------annotations, semantic words tags2. Improve code reusability-------maintenance of public and private componentsDesign common components need to consider to keep the interface flexible, and highly modular, multiple reuse is not allowed to be easily modified, there is someone to maintain the necessary specification API documentation and demo demo, this is the test ability and experience of the work.3. Reduce redundancy and streamli
diagram
contours: Display cloud
Vectors: displaying vector images
pathlines: Display Streamline diagram
particle Tracks: Show particle tracking graph
This case mainly uses contours and Vectors to display cloud images and vectors.Temperature distribution of 16.2.1 wall surfaceView wall temperature cloud display. The mouse double-clicks the contours list item in the Graphics list box and makes the settings as shown in the popup dia
) Summary 1. Each connection consumes a certain amount of resources, such as CPU, MEM, so the real value is often difficult to reach the theoretical value; 2. Depending on the protocol, the maximum number of connections that can be reached is different, such as http/1.0 connection creation and shutdown are very fast, and the browser has a limit on the number of concurrent connections, so, It is difficult to reach the maximum theoretical value. http/1.1 supports
Writing arrays in this way is too troublesome. please advise me on the php I recently learned. don't laugh at me... How to write the following code using multi-dimensional arrays? Or a loop or something like this. if there are one hundred sets in this method, I will write it to one hundred. although it can be used, it is quite troublesome. who can help me streamline IT? thank you !. Lt ;? Writing arrays in this way is too troublesome. please advise
I
I have studied the lnmp one-click installation package of June, and want to streamline it and use it as my own installation and configuration script. I deleted a lot of interaction and judgment parts. some others haven't understood them yet, but I probably know the functions. After running it on a new virtual machine, after more than an hour of installation, you can access the test page, and phpinfo page. After the research is complete
I have studied
its classname to alignright.
3. Code Abbreviations
CSS code abbreviations can improve the speed at which you write your code and streamline your code. In CSS there are many attributes that can be abbreviated, including margin,padding,border,font,background and color values, if you learn the code abbreviation, the original code:
li{ font-family:arial, Helvetica, Sans-serif; Font-size:1.2em; Line-height:1.4em; padding-top:5px; paddi
and more, the function is more and more complex, we write the CSS selector will be nested multilayer, more and more complex.
It is recommended that the selector should not be nested more than three layers, such as:
. header. Logo. text{}
can be optimized into
. Haeder. logo-text{}
The simple selector not only reduces the size of the CSS file, improves the loading performance of the page, but also makes the browser more efficient when parsing, and also improves developer productivity and reduces
This article takes the PHP version as an example:File Download: http://ueditor.baidu.com/website/download.html
You can also define the content yourself and then download it to help us streamline a lot of things.
Take the local PHP environment as an example, now create an app directory under the WWW directory as the test directory, and then extract the downloaded Ueditor folder into the app folder.
Then, create a index.php file under the app folder.Th
Open a table in a database in sqlserver Enterprise Manager and modify the record. When the table is closed, the following message is displayed: "transactions cannot be started in streamline mode" and data cannot be modified.Principle: SQL server returns the result set to the default mode of the client. Rows are sent to the client in the order they are placed in the result set, and the ApplicationProgramThe Rows must be processed in this order. After a
, but do not find it easy to do, the first translation to find professionals to do, their own do not good, we have no one proficient in European languages, and then there are units conversion, some countries with the metric, some in English, this has to consider, including the date display format to consider, suddenly do not know how much work , these are almost after the German word is too long, our instrument screen display, out of range, so then adjust the font, do
discussion of logical operators and | | |.In almost all languages | | and Follow the principle of "short circuit", such as the first expression in is false to not handle the second expression, and | | Just the opposite.JS also follows the above principles. But what's interesting is the value they return.Code: var attr = True 4 "AAA";Then the result of the run attr is not simple true or this false, but "AAA"Take a look again | | :Code: var attr = attr | | This operation is often used to det
, although it is simple and convenient, but very detrimental to future maintenance. There are several advantages to writing code as a separate CSS file:(1) Content and style separation, easy to manage and maintain(2) Reduce page volume(3) CSS files can be cached, reused, and maintenance costs are reduced2, do not use @importThis means is already known, here simply mention, @import affect the loading speed of the CSS file3, avoid the use of complex selectors, the less hierarchy the betterSometime
simple and convenient, but very detrimental to future maintenance. There are several advantages to writing code as a separate CSS file:(1) Content and style separation, easy to manage and maintain(2) Reduce page volume(3) CSS files can be cached, reused, and maintenance costs are reduced2, do not use @importThis means is already known, here simply mention, @import affect the loading speed of the CSS file3, avoid the use of complex selectors, the less hierarchy the betterSometimes the module of
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.