上一页 1 2 3 4 5 6 7 ··· 28 下一页
摘要: As we tell, there're tons of posts talking about event loop, the basic of the basic knowledge of JavaScript running mechanism. Long long ago, event lo 阅读全文
posted @ 2021-10-26 19:02 ^_^肥仔John 阅读(49) 评论(0) 推荐(0) 编辑
摘要: As we know, localStorage and sessionStorage have came up for years. They're commonly used in front-end cache for both online and offline situations, l 阅读全文
posted @ 2021-09-28 23:13 ^_^肥仔John 阅读(60) 评论(0) 推荐(0) 编辑
摘要: The broadcast channel API allows basically communication between browsing contexts(that is, tabs, windows, frames or iframes) and workers on the same 阅读全文
posted @ 2021-09-26 23:43 ^_^肥仔John 阅读(108) 评论(0) 推荐(0) 编辑
摘要: It's really a long period I have been out of touch to front-end trending, until I try to add petite-vue into our team's codebase recently. Fortunately 阅读全文
posted @ 2021-08-29 14:29 ^_^肥仔John 阅读(73) 评论(0) 推荐(0) 编辑
摘要: What an Unreliable Lad You Are @TableField Mybatis-Plus introduces many powerful annotations for us to indicate the mapping between entity properties 阅读全文
posted @ 2021-08-13 22:49 ^_^肥仔John 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 前言 Java虽然五脏俱全但总有软肋,譬如获取CPU等硬件信息,当然我们可以通过JNI调用C/C来获取,但对于对C/C和Windows API不熟的码农是一系列复杂的学习和踩坑过程。那能不能通过简单一些、学习成本低一些的方式呢?答案是肯定的,在功能实现放在首位的情况下,借他山之石是最简洁有力的做法。 阅读全文
posted @ 2021-02-10 17:39 ^_^肥仔John 阅读(595) 评论(0) 推荐(0) 编辑
摘要: 前言 RFC3986定义URI的路径(Path)中可包含name-value片段,扩充了以往仅能通过查询字符串(Query String)设置可选参数的囧境。 假如现在需要设计一个用于“搜索某部门某些员工可选信息中的部分信息”的API,我们分别使用查询字符串和路径name-value方式来设计对比, 阅读全文
posted @ 2021-01-16 09:55 ^_^肥仔John 阅读(1389) 评论(0) 推荐(0) 编辑
摘要: 前言 JavaScript从使用开初就一直基于事件循环的单线程运行模型,即使是成功进军后端开发的Nodejs也没有改变这一模型。那么对于计算密集型的应用,我们必须创建新进程来执行运算,然后执行进程间通信实现传参和获取运算结果。否则会造成UI界面卡顿,甚至导致浏览器无响应。 从功能实现来看,我们可以通 阅读全文
posted @ 2020-12-16 13:00 ^_^肥仔John 阅读(2151) 评论(2) 推荐(0) 编辑
摘要: 前言 后端开发的同学想必每天都在重复经历着修改代码、执行代码编译,等待……重启Tomcat服务,等待……最后测试发现还是有bug,然后上述流程再来一遍(我听不见):( 能不能像前端开发的同学那样,修改代码保存文件后自动编译、重新加载应用呢?Spring Boot给了我们一个大大的Yes! 本文我们就 阅读全文
posted @ 2020-12-15 12:30 ^_^肥仔John 阅读(822) 评论(2) 推荐(1) 编辑
摘要: 前言 之前系统接入大数据PV统计平台,最近因PV统计平台侧服务器资源紧张,要求各接入方必须缓存API调用验证用的Token,从而减少无效请求和服务端缓存中间件的存储压力。 虽然系统部分业务模块都有缓存数据的需求,但由于没有提供统一的前端缓存模块,这导致各业务模块都自行实现一套刚好能用的缓存机制,甚至 阅读全文
posted @ 2020-12-11 16:05 ^_^肥仔John 阅读(482) 评论(1) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 28 下一页