current location:Home > Technical Articles > Web Front-end
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- Getting started with Connect
- Key Takeaways Connect is an extensible HTTP server framework for Node.js that allows developers to write modular and reusable components using middleware plugins. These plugins either process and pass on requests, or handle the requests directly.
- JS Tutorial 217 2025-02-19 08:51:10
-
- 9 JavaScript Libraries for Working with Local Storage
- The HTML5 local storage API (part of Web storage) has excellent browser support and is being applied in more and more applications. It has a simple API, but it also has some disadvantages similar to cookies. I've come across quite a few tools and libraries that use the localStorage API over the past year or so, so I've sorted them out into this post with some code examples and feature discussions. Important points The HTML5 local storage API is widely supported and is becoming more and more common in applications, but it also has some limitations similar to cookies. Various JavaScript libraries have been developed to improve and extend their capabilities. Lockr, store.j
- JS Tutorial 669 2025-02-19 08:47:10
-
- Measuring JavaScript Functions' Performance
- Web application performance is always crucial, especially in web development, slow page loading speed will directly lead to user churn. As professional front-end developers, we must pay attention to performance optimization. Many traditional web performance optimization methods, such as reducing requests, using CDNs, and avoiding writing blocking renderings, are still valid today. However, as more and more web applications use JavaScript, validating code efficiency has become crucial. Suppose you have a function that is functional but suspects it is not efficient and plans to make improvements. How to prove this assumption? What are the best practices for testing JavaScript function performance? Generally, the best way is to use the built-in performance.now
- JS Tutorial 1022 2025-02-19 08:46:09
-
- Backbone.js Basics: Bringing an App to Life with Events
- This article explores Backbone.js, a JavaScript framework employing an MV* architecture for building applications. It focuses on event handling, a crucial aspect of separating concerns between views and models. Key Concepts: MV* Architecture: Backb
- JS Tutorial 720 2025-02-19 08:44:11
-
- Asynchronous APIs Using the Fetch API and ES6 Generators
- Core points ECMAScript 6 (ES6) better supports asynchronous programming through Promise and Generator, and introduced the Fetch API, designed to replace XMLHttpRequest as the basis for communicating with remote resources. The Fetch API method returns ES6 Promise objects that can be used with Generator to form the basis of complex asynchronous operations, such as a series of operations, where each operation depends on the value returned by the previous operation. Generator can be used with the Fetch API to perform tasks such as long polling, where clients are constantly
- JS Tutorial 866 2025-02-19 08:43:09
-
- An Editable Grid with jQuery, Bootstrap, and Shield UI Lite
- In this short tip, I provide a few easy steps to set up an editable grid (or table) using Bootstrap and Shield UI Lite. Shield UI Lite is an open source jQuery library that includes, among other components, a jQuery grid. The grid supports editing o
- JS Tutorial 339 2025-02-19 08:37:15
-
- Lose the jQuery Bloat
- Core points NodeList.js serves as an alternative to DOM operation for jQuery, offering similar functionality, but is smaller (4k after compression) and takes advantage of improvements to native browser APIs. Unlike jQuery, NodeList.js treats arrays of nodes as single nodes, enabling cleaner code and easier NodeList object operations. NodeList.js contains special methods for setting and getting properties, calling element-specific methods, and accessing nodes in NodeList, and owner attributes equivalent to jQuery's prevObject property.
- JS Tutorial 311 2025-02-19 08:27:10
-
- The Command Line API for Fun and Profit
- Browser Developer Tool Command Line API: A powerful tool to improve development and debugging efficiency This article explores the powerful command line API in browser developer tools, which provides a range of aliases, convenient functions and shortcuts to significantly improve the development and debugging experience. Core points: The command line API allows developers to interact with web pages in the JavaScript console. The API is limited to JavaScript console access and cannot be used for page scripts, but it is convenient to experiment with code snippets directly in the browser window. The API provides a variety of functions for DOM exploration, object tracking, and console debugging, including $ ( document.querySelector alias), dir (lists all properties of the object)
- JS Tutorial 411 2025-02-19 08:25:08
-
- HTML5 Forms: Dependable Tools in Our Toolbox
- The following is excerpted from the book "HTML5 & CSS3 for the Real World, 2nd Edition" co-authored by Alexis Goldstein, Louis Lazaris and Estelle Weyl. This book is available in stores around the world, and you can also purchase the e-book version here. We've written most of the page code and you now know almost everything about the new HTML5 elements and their semantics. But before we start designing the website's look (we're doing it in Chapter 7), we'll quickly leave the homepage of HTML5 Herald to check out the registration page. This will illustrate HTML5 in the web table
- CSS Tutorial 652 2025-02-19 08:24:14
-
- Debugging CSS for UI Responsiveness
- This article is excerpted from the book "The Master of CSS" written by Tiffany Brown. The book is available in major bookstores around the world, and you can also purchase the e-book version here. CSS certain properties and values trigger reflow, which is expensive and may reduce the user interface's response speed—page rendering, animation fluency and scrolling performance will be affected, especially in low-level mobile phones and flat-screen TVs. On power consumption equipment. What is rearrangement? {.title} Rearrangement refers to any action that changes part or all of the layout of the page. For example, change the size of an element or update its left position. They cause the browser to recalculate the height, width, and position of other elements in the document. Repaint is similar to repainting, and they force the browser to repaint.
- CSS Tutorial 704 2025-02-18 13:13:14
-
- Quick Tip: Build a Video Player Component in React
- Build a reusable React video playback component This article will walk you through the process of creating a React video component that loops through the list of videos from Vimeo, YouTube, and Dailymotion. This component is easy to expand to support other video providers. We will use react-hot-boilerplate as a development environment, which supports hot reloading, allowing you to view component build results immediately in your browser without refreshing the page after every code change. The video component has no state of its own, making it reusable and predictable, meaning that the same input will always produce the same output. This article will also discuss best practices for building components in React, including using p
- JS Tutorial 853 2025-02-18 13:10:11
-
- How to Build a WI-FI Dashboard Using Node.js and Ractive.js
- Key Takeaways Utilize Node.js to build a server that extends existing functionalities to include Wi-Fi network information, making the dashboard more comprehensive. Implement Ractive.js for the client-side to manage real-time updates and interac
- JS Tutorial 581 2025-02-18 13:05:16
-
- How to Build a Daily Affirmations SMS Service with Stripe & Syncano
- This article, sponsored by Syncano, demonstrates building a daily affirmations SMS service using their cloud platform. Syncano handles data storage, user accounts, automated code execution, and webhooks. The service integrates Twilio for SMS messag
- JS Tutorial 445 2025-02-18 13:03:17
-
- Exploring Different CMS Solutions Built on Node.js
- Three Popular Node.js Content Management Systems (CMS) KeystoneJS, PencilBlue, and Apostrophe represent three leading Node.js-based Content Management Systems, each offering a distinct feature set. KeystoneJS excels in creating database-driven websi
- JS Tutorial 689 2025-02-18 13:01:59
-
- An Introduction to Reasonably Pure Functional Programming
- Key Takeaways Pure functions are essential in functional programming as they return the same output for the same input without causing side effects, enhancing predictability and testability. Functional programming reduces program complexity by b
- JS Tutorial 798 2025-02-18 12:58:16