This tip offers some guidance for when to use subelements and when to use attributes.
对于何时使用子元素以及何时使用属性,本文提供了一些指导性建议。
If the information is most readily understood and digested by a machine, use attributes.
如果信息主要是方便机器理解和整理,则使用属性。
Use attributes of that object to decide if a portlet should be shown or hidden
使用该对象的属性来决定是显示还是隐藏Portlet
Use attributes of that object to decide if a portlet should be shown or hidden
使用该对象的属性来决定是显示还是隐藏Portlet
应用推荐