×
Jinxia Li
I/O multiplexing and JavaScript Event Loop

While some said #JavaScript is easy to learn, some said It’s easy to learn partially, but much harder to learn completely or even sufficiently. I agree with the latter point of […]

Read More
JavaScript Event Loop

Both web browser & Node have an event loop. Node’s event loop is built on libuv. Web browser’s event loop is built on a different library. 1) Below […]

Read More
Concurrency & the Event Loop

What you should understand before you can understand things like: JavaScript has a concurrency model based on an event loop, which is responsible for executing the code, collecting and […]

Read More
JavaScript Modal

1. preventDefault() Event Method The preventDefault() method cancels the event if it is cancelable, meaning that the default action that belongs to the event will not occur. For example, […]

Read More
Synchronous and Asynchronous Updates

Synchronous and Asynchronous Updates database using modals: Synchronous and Asynchronous Updates database using modals: Synchronous and Asynchronous Updates database using modals: Synchronous and Asynchronous Updates database using modals: […]

Read More
Is AJAX #faster than Reloading a Page in Form Submission?

Reference: https://stackoverflow.com/questions/5939659/is-ajax-faster-than-reloading-a-page-in-form-submission/5939784#:~:text=Practically%2C%20AJAX%20is%20always%20%22faster%22.&text=In%20other%20words%3A%20a%20page,AJAX%20changes%20show%20up%20immediately.

Read More
Is using modals more #efficient than calling a new page to make updates to database tables?

Yes, it is. It provides better user experience. We can see that from comparing the two ways of making updates: Normally we make updates to database tables by […]

Read More