最常见的linux对硬件信息的收集和分析命令
2014-04-14 17:11
459 查看
javascript program specification
1. if script depend on one html code directly(eg: document.getElementById('xxx')), please directly write this function under this page or a new script file if too large code
2. treat every individuate service as an object especially complex function.
eg:
Ext.namespace('Vendor');
Ext.namespace('Vendor.PrintVendor');
Ext.namespace('Vendor.SaveVendor');
this is especially useful for a new cr. for that your new added feature may be only available in new feature object.
but why not treat printVendor/ saveVendor as method for vendor?
because that printVendor need many code to implement logic. if so, to separate it as a object, making code more clear.
1. if script depend on one html code directly(eg: document.getElementById('xxx')), please directly write this function under this page or a new script file if too large code
2. treat every individuate service as an object especially complex function.
eg:
Ext.namespace('Vendor');
Ext.namespace('Vendor.PrintVendor');
Ext.namespace('Vendor.SaveVendor');
this is especially useful for a new cr. for that your new added feature may be only available in new feature object.
but why not treat printVendor/ saveVendor as method for vendor?
because that printVendor need many code to implement logic. if so, to separate it as a object, making code more clear.
相关文章推荐
- 检查和收集 Linux 硬件信息的 7 个命令
- 10 个用于收集硬件信息的 Linux 命令
- Linux下收集系统和硬件信息的10个实用命令
- 检查和收集 Linux 硬件信息的 7 个命令
- 检查和收集 Linux 硬件信息的 7 个命令
- 检查和收集 Linux 硬件信息的 7 个命令
- 10 个用于收集硬件信息的 Linux 命令
- 检查和收集 Linux 硬件信息的 7 个命令
- linux查看硬件信息的命令(图文)
- 在LINUX下探测硬件信息命令大全
- 详细介绍查看Linux硬件信息命令的使用
- Linux系统下查看硬件信息命令大全
- Linux命令 dmesg:分析内核产生的信息
- linux常用查看硬件设备信息命令
- 自己常用Linux命令的记录--查看硬件相关信息,内核的编译,网络的配置
- Linux硬件信息查询命令
- Linux下一个命令通吃硬件信息
- Linux查看硬件信息以及驱动设备的命令
- Linux常用查看硬件设备信息命令大全(值得收藏)
- Linux查看硬件信息以及驱动设备的命令