Moment For Technology

Dynamically modify the menu bar at the bottom of the application based on the interface

Push the hotfix directly, pushing the packaged patch up, but this is expensive, and the product manager is not necessarily willing to do this. The background provides the interface, when entering the page to obtain the picture List, local cache, provided by the interface flag to control whether to display this special menu bar. This is the second method. A vertical LinearLayout inside...

If you're still using charCodeAt, you're out

When working with Chinese and other Unicode characters in JavaScript, we use unicode-specific apis. In the early days, provided by the JavaScript String. Prototype. CharCodeAt and String fromCharCode is able to convert a String to Uni...

ES6 Common knowledge points overview

ES6, is not a new thing, ES7, ES8 have caught up. However, the thing is not new, but in the summary. Every preschooler must have Ben Nguyen's Introduction to ES6 standards or his translation of Deep Understanding of ECMAScript6. This article mainly summarizes some common knowledge points of ES6. If you like my article, welcome to comment, welcome to Sta...

The architecture of small and medium-sized apps

I am interested in architecture. I would browse blogs and read books when I have something to do. Then the team leader asked me to share my knowledge about architecture. Let's start by writing a blog to get your thoughts straight. MVC pattern, in my opinion, is the most powerful architectural pattern! Can give a lot of architectural inspiration (including MVP,MVVM later). For small and medium sized apps, simple MVC or MVPC mode is more suitable...

Koa service traffic limiting practice

Recently we received a request for a server that simply calls one of the provided interfaces upon receiving the request and returns the result. Because of the performance of this interface, and because no more than a certain number of requests can be made, limiting traffic in the service is required. The requirement of flow limiting is to limit the number of simultaneous executions and cache in a queue beyond this number. The original idea was in KOA middleware...

Search
About
mo4tech.com (Moment For Technology) is a global community with thousands techies from across the global hang out!Passionate technologists, be it gadget freaks, tech enthusiasts, coders, technopreneurs, or CIOs, you would find them all here.