My friend's wallop got down again (this hen is very diligent), four eggs, first come first, first served, leaving the registration name and registration mailbox (Foreign mailbox)
In addition to help a friend do publicity, hope that the blog Park
1. I was very excited when I first found a regular expression on the Internet!
Regular Expression
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Public String makeplural (string name){RegEx
ISP (interface separate principle)
Customers only need to pay attention to the interfaces they need.
It is better to use multiple dedicated interfaces than to use a single total interface.The dependence of a class on another class should be
Note: during the course, I personally thought it was clear, but I felt that Mr. Dong was not very satisfied.So, write it again here. Originally, I personally think it is too meticulous and disrespectful to human IQ. For example:I started talking
What you're re seeing is the difference in how Firefox and chrome treat
Border-collapse
. While both browsers render the desired result correctly, their methodology for calculating it differs slightly.
Firefox reads it thusly:
The Itself
A repository (warehouse and resource library) architecture.
Martin Fowler ):
Repository: coordinates between the domain and data ing layers by accessing an interface similar to a collection of domain objects.
Systems with complex domain
Because we have not setXtype,The toolbar uses buttonsXtypeAnd serves as an instance of the Ext. Button class.
The text attribute of the button will be the tag of the button.
You can use Itemid to obtain an instance of the button object. You can
Factory mode and constructor
// Factory Model Function Createobject (name, age ){ VaR Box = New Object (); box. Name = Name; box. Age = Age; box. Run = Function (){ Return This . Name + This . Age + ' Running .. ' ;} Return Box ;} //
Differences and relationships between classes and structures:
Comparison content
Class
Structure
Data Type
Reference Type
Value Type
Inheritance
Can be inherited
Cannot be inherited
Class = " Labelbox " > Class = " Showvalue_big " > "" Class = " Showvalue " Maxlength = " 11 " > Class = " Toggle " > This is a line of text. If you have selected a line of text, just like this $ (Document). Ready (function (){ VaR $
It is very convenient for struts to read attribute files. What's more handsome is that attribute files contain parameters.
1. Preparation: first convert Chinese to unicode encoding1. http://www.chinaue.com/tool/uni.htm online conversion unicode
Extension Method?
There are many method extension classes. If the source code of the class is available, inheritance is a good way to add functions to the object. But what if there is no source code? In this case, you can use the extension method,
Field-driven design and pattern practice
Author: [Sweden] Jimmy NilssonTranslator: Zhao Lima YanxinPress: People's post and telecommunications PressPublishing year: 2009-10Page: 380Pricing: 69.00 RMBISBN: 9787115212771
Douban:
Field-driven design and pattern practices (I)
For the question "What should we pay attention to in modern software development", we have introduced concepts such as domain-driven design, domain model, test-driven development, and model. These
I----- Treeview first revision -------
1. Target: By triggering the expansion event of level 0 nodes, only all level 1 subnodes under this node are loaded, And the subnodes of level 0 nodes that are not triggered do not need to be loaded.
2.
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