current location:Home > Technical Articles > Web Front-end

  • How to Use WebSockets in Node.js to Create Real-time Apps
    How to Use WebSockets in Node.js to Create Real-time Apps
    Node.js WebSockets: Real-time Communication Made Easy This tutorial explores the power of WebSockets in Node.js for creating dynamic, real-time applications like dashboards, chat applications, and multiplayer games. Unlike traditional HTTP's request
    JS Tutorial . json 434 2025-02-08 10:34:08
  • Scale Your React App with Storybook and Chromatic
    Scale Your React App with Storybook and Chromatic
    This article demonstrates how Storybook and Chromatic streamline React component library development, offering enhanced documentation, visual regression testing, and improved team collaboration. Key Benefits: Storybook: Enables efficient component l
    JS Tutorial . json 524 2025-02-08 10:28:10
  • Using JSON Web Tokens with Node.js
    Using JSON Web Tokens with Node.js
    API authentication is one of the biggest challenges when building an API and one of the biggest security vulnerabilities of the API. The correct authentication mechanism helps avoid security threats and ensures that only authorized users can access the required data. Authentication used to be simple when dealing with server-side applications. Simple session verification on the server is sufficient to ensure user permissions to the operation. However, the advent of APIs has brought significant changes to these authentication challenges. However, for APIs, you cannot implement a session. You cannot guarantee that your API is always called using a web browser, so you cannot rely on cookies to protect your API. One of the key features of an API is its statelessness, which means sending to the API
    JS Tutorial . json 333 2025-02-08 10:26:19
  • An Introduction to the esbuild Bundler
    An Introduction to the esbuild Bundler
    esbuild: Quickly build tools, say goodbye to Webpack redundancy! esbuild is a high-performance packaging tool that can quickly optimize JavaScript, TypeScript, JSX and CSS code. This article will walk you through esbuild quickly and show how to create your own build system without additional dependencies. Core points: esbuild efficiency: esbuild is much faster than traditional tools such as Webpack or Rollup, and can efficiently handle JavaScript, TypeScript, JSX and CSS with its multi-core processing capabilities. Packaging Advantages: Using esbuild to improve performance
    JS Tutorial . json 571 2025-02-08 10:23:10
  • Quick Tip: Understanding React Tooltip
    Quick Tip: Understanding React Tooltip
    React Tooltip: Key React Components to Improve User Experience React Tooltip is an important component in the React library that enhances the user experience by providing additional information when users hover, focus, or touch elements. This article explores React Tooltip in depth, covering its capabilities, implementations, and best practices. What is React Tooltip? React Tooltip is a user interface component that provides context information when users interact with other components. It is a small pop-up box that appears when the user hovers over an item or element on a web page. While this function requires a simple and intuitive interface design, it also requires a scenario specialization that provides sufficient information.
    JS Tutorial . json 616 2025-02-08 10:03:09
  • Using Nodemon and Watch in Node.js for Live Restarts
    Using Nodemon and Watch in Node.js for Live Restarts
    Say goodbye to the cumbersomeness of repeated restarts in Node.js development! This article introduces two methods to help you improve development efficiency. Core points Efficient development with nodemon: We will introduce nodemon, a third-party Node.js module, which can effectively solve the problem of manually stopping and restarting the Node.js application after each code modification. nodemon configuration options: We will cover various nodemon configuration options, such as setting a specific path to monitor, ignoring a specific path, monitoring a specific file extension, adjusting restart delay, and setting environment variables. Node.js --watch mode (for simple applications): For simple applications, if you are using Nod
    JS Tutorial . json 549 2025-02-08 10:00:19
  • PHP Authorization with JWT (JSON Web Tokens)
    PHP Authorization with JWT (JSON Web Tokens)
    Application authentication used to rely solely on credentials such as username/mailbox and password, and the session was used to maintain user status until the user logged out. After that, we started using the authentication API. Recently, JSON Web Tokens (JWT) are increasingly used to authenticate server requests. This article will introduce what JWT is and how to use PHP for JWT-based user request authentication. Important points Evolution of authentication methods: This article outlines the evolution of user authentication methods, from traditional sessions to using JSON Web Tokens (JWT), highlighting the transition to a more secure and efficient way of user authentication and session management for web applications. . JWT's Excellence
    PHP Tutorial . json 1038 2025-02-08 09:57:09
  • How to Use Server-sent Events in Node.js
    How to Use Server-sent Events in Node.js
    Core points Server Send Events (SSE) enables the server to push data to the browser at any time, enabling features such as real-time news reports, weather forecasts, and stock prices. The browser issues an initial request to establish a connection, and the server keeps the connection open to send a text message. SSE is simpler than WebSockets, uses standard HTTP, supports one-way communication, and provides automatic reconnection. The server can terminate the SSE response at any time, but if the connection is interrupted, the browser will automatically attempt to reconnect. The server can provide any number of SSE channel URLs or a single endpoint URL. Messages from the server may have associated events to identify a particular type of information. The server also
    JS Tutorial . json 332 2025-02-08 09:31:09
  • How to Set Up the New Google Auth in a React and Express App
    How to Set Up the New Google Auth in a React and Express App
    This article demonstrates how to integrate the new Google Sign-In button into a React.js and Express.js application. The updated "Sign in with Google" button, utilizing Google's Identity Services SDK, offers a streamlined and more secure a
    It Industry . json 1059 2025-02-08 09:13:09
  • Powerful React Form Builders to Consider in 2024
    Powerful React Form Builders to Consider in 2024
    This article explores React form builders, highlighting key features and considerations for selection. We examine popular options: SurveyJS, FormBuilder, Tripetto, and Form.io. Forms are crucial for user engagement, data collection, and application
    JS Tutorial . json 849 2025-02-08 09:10:12
  • How to Use JSON Data Fields in MySQL Databases
    How to Use JSON Data Fields in MySQL Databases
    This article explores the details of JSON implementation in MySQL 9.1, and continues the argument that the fuzzy boundaries between SQL and NoSQL databases in the previous article "SQL vs NoSQL: The Differences", both of which are learning from each other's features. Both MySQL 5.7 InnoDB database and PostgreSQL 9.2 directly support storing JSON document types in a single field. It should be noted that any database can store JSON documents as a single string blob. However, MySQL and PostgreSQL support storing validated JSON data as real key-value pairs instead of simple strings. Key Points
    It Industry . json 254 2025-02-08 08:49:11
  • Learn How to Enable DLSS 4 to Boost Game Performance
    Learn How to Enable DLSS 4 to Boost Game Performance
    NVIDIA DLSS 4: The ultimate guide to boosting game frame rate NVIDIA DLSS 4 is now available, with its multi-frame generation technology that significantly improves game frame rates. This article will guide you step by step how to enable DLSS 4 in games that support this technology to help you get the best gaming performance. Introduction to DLSS 4 DLSS 4 is a unique technology recently released by NVIDIA. It uses artificial intelligence algorithms to intelligently upgrade low-resolution images to higher resolution without affecting image quality. After the release of this technology, dozens of games announced support for DLSS 4, bringing players a better gaming experience. It should be noted that DLSS 4 is suitable for NVIDIA GeFor
    Troubleshooting . json 1079 2025-02-07 20:02:13
  • Getting Started with Content Collections in Astro
    Getting Started with Content Collections in Astro
    Getting started with Astro content collections: Building a powerful content model This article is excerpted from the now-released book "Unlocking the Power of Astro" on SitePoint Premium. We will learn how to build flexible and scalable content models using Astro's content collection capabilities. Astro uses a special src/content folder to manage content collections. You can create subfolders to organize different content collections, such as src/content/dev-blog and src/content/corporate-blog. Each content collection can be in a configuration file (e.g. /src/content/
    JS Tutorial . json 428 2025-02-07 14:18:23
  • This Chinese Tech Giant Just Launched an AI Chatbot—and It's Better Than DeepSeek
    This Chinese Tech Giant Just Launched an AI Chatbot—and It's Better Than DeepSeek
    Before DeepSeek could fade out the headline, another Chinese AI model has come to upseat it. Chinese e-commerce giant Alibaba has announced a new version of its Qwen family of AI models, and there's a lot to like—it's better than DeepSeek and ChatGPT
    AI . json 516 2025-02-07 06:01:12
  • You Can Easily Switch to or Move Away From Safari on an iPhone, iPad, or Mac (Here's How)
    You Can Easily Switch to or Move Away From Safari on an iPhone, iPad, or Mac (Here's How)
    Quick link Export Safari browser data to another browser Import other browser data into Safari browser summary Safari's import and export tool simplifies the process of transferring browser data between browsers on iPhone and Mac. Export Safari data to a ZIP file for easy import to other browsers, but make sure to delete the file when you are done, as the data is not encrypted. After exporting data from other browsers, import it into Safari on your iPhone or Mac for seamless switching. Switching a browser can be cumbersome. However, if you've been thinking about switching to or leaving Saf
    iPhone . json 438 2025-02-06 11:25:09

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28