58

前端工程师必备:前端的模块化

 5 years ago
source link: https://juejin.im/post/5cb004da5188251b130c773e
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
模块化的理解 什么是模块? 将一个复杂的程序依据一定的规则(规范)封装成几个块(文件), 并进行组合在一起; 块的内部数据/实现是私有的, 只是向外部暴露一些接口(方法)与外部其它模块通信; 一个模块的组成 数据--->内部的属性; 操作数据的

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK