Tagged articles
login
76 articles · Page 1 of 1
This tutorial demonstrates building a complete registration and login platform using WorkBuddy AI without writing code, covering UI prototyping, validation rules, SHA256 password hashing, CSRF protection, and both GUI (Playwright POM) and API (requests+unittest) test suites with all 157 tests passing.
API TestingCSRF protectionPOM pattern
0 likes · 8 min read

This article walks through a complete user login flow—including client verification, token generation, expiration policies, gateway validation, logout handling, anonymous access, rate‑limiting via authorized tokens, regex path checks, and blacklist management—illustrated with diagrams and Spring‑Redis code examples.
AuthenticationSpringgateway
0 likes · 9 min read

This article breaks down the QR code login process used by Douyin, explaining how the system identifies the user, proves their identity through a token‑based authentication flow, and details each step from QR generation to final confirmation on the PC side.
BackendQR Codeauthentication flow
0 likes · 13 min read

This article walks through the design of a unified multi‑account login system, covering phone‑number registration, password‑optional login, third‑party integration, database schema separation, pros and cons, and a one‑click carrier‑based authentication flow.
BackendMulti-Accountaccount design
0 likes · 15 min read


liandkMay 9, 2026 · Frontend Development
This tutorial walks through Uniapp form fundamentals, covering common components, v-model two‑way binding, validation rules, and complete login and registration implementations with code examples and troubleshooting tips for beginners.
FormUniAppV-model
0 likes · 8 min read

The article details a comprehensive multi‑account unified login design—including phone‑number registration, optional password login, third‑party integrations, a split user‑basic and user‑auth data model, its pros and cons, and a one‑click mobile number authentication flow—offering practical insights from three years of production use.
AuthenticationMulti-AccountThird-Party Login
0 likes · 14 min read

Learn how to replace tangled if‑else login code with a clean, extensible architecture using Spring Boot, combining the Factory pattern to instantiate strategy beans and the Strategy pattern to encapsulate each login method (password, WeChat, SMS, etc.), enabling easy addition of new authentication types.
AuthenticationFactory PatternJava
0 likes · 14 min read

This article walks through designing a flexible login module that supports password, WeChat, and SMS authentication by applying the Strategy and Factory patterns in a Spring Boot project, showing code examples, project structure, and best‑practice tips for clean, maintainable backend development.
Factory PatternJavaStrategy Pattern
0 likes · 14 min read

This guide shows how to create a MySQL users table, implement PHP functions for user login and logout using sessions, and add a role‑based permission check to control access for administrators and regular users.
PHPRole-Based AccessSession
0 likes · 4 min read

The article shows how tangled if‑else login code caused by adding password, SMS, WeChat, and Alipay authentication can be refactored using the Strategy and Factory patterns in Spring Boot, resulting in a clean, extensible, plug‑in‑style login module that requires no changes to existing code when new methods are added.
AuthenticationFactory PatternJava
0 likes · 10 min read

This guide walks you through designing a scalable login module that supports dozens of authentication methods by combining the Strategy and Factory patterns with Spring Boot, providing clean code, easy extensibility, and robust testing without the tangled if‑else spaghetti.
Factory PatternJavaStrategy Pattern
0 likes · 12 min read

This article explains the technical principles behind QR‑code login, covering QR‑code basics, token‑based authentication, the complete client‑server workflow, state transitions, and implementation details such as token structures and polling mechanisms.
AuthenticationMobile Appbackend-development
0 likes · 13 min read

This article explains the technical principles behind QR code login, detailing how a token‑based authentication system identifies the user, the step‑by‑step flow from QR code generation on a PC to mobile scanning, confirmation, and final token issuance for secure access.
AuthenticationQR Codelogin
0 likes · 13 min read

This comprehensive guide explains why authentication is needed for stateless HTTP, walks through the workflows, advantages, and drawbacks of Cookies, Sessions, Tokens, JWTs, Refresh Tokens, blacklist strategies, and OAuth2/OAuth2.1, and provides practical security best‑practice recommendations for web, mobile, and micro‑service architectures.
AuthenticationJWTOAuth2
0 likes · 12 min read

This article outlines a comprehensive approach to building a flexible login architecture, covering self‑built phone‑based authentication, third‑party account integration, optimized account schemas, and one‑click mobile number verification, with detailed flow diagrams and database designs for backend developers.
Authenticationaccount designlogin
0 likes · 14 min read

This guide walks you through the complete WeChat mini‑program login flow, covering front‑end wx.login usage, back‑end code2Session exchange for openId and unionId, phone number retrieval, database schema design, API contracts, token generation, interceptor validation, and environment configuration.
JavaMiniProgramOpenID
0 likes · 16 min read

This guide walks through building a WeChat mini‑program login system using Java backend services, covering the retrieval of openId and phone number via WeChat APIs, database design, token generation, and request interception for secure authentication.
APIBackendJava
0 likes · 16 min read

This guide walks through the complete implementation of WeChat Mini Program login, covering front‑end wx.login calls, back‑end code2Session exchanges, database schema design, API specifications, environment configuration, token validation via interceptors, and key security considerations, all illustrated with code snippets and diagrams.
JavaOpenIDWeChat
0 likes · 18 min read

Learn how to build three practical Python GUI applications—a basic calculator, a simple notepad editor, and a user login/registration system—using Tkinter, complete with design principles, visual examples, and full source code for beginners.
CalculatorGUINotepad++
0 likes · 18 min read

This article explains the fundamentals of QR code login, detailing how QR codes work, the token‑based authentication mechanism, and the step‑by‑step process—including QR code generation, scanning, temporary token exchange, and final confirmation—that enables secure cross‑device login without exposing passwords.
QR Codelogin
0 likes · 12 min read

This article explains the fundamentals of QR code login, detailing how QR codes convey unique IDs, the token‑based authentication process, the steps from QR generation to device verification, and the security considerations involved in implementing scan‑to‑login across web and mobile platforms.
AuthenticationBackendQR Code
0 likes · 11 min read

This article explains the fundamentals of QR code login, covering QR code basics, token‑based authentication, the step‑by‑step process from QR generation to device polling, scanning, confirmation, and token exchange, and discusses security considerations and implementation details for web, PC, and mobile platforms.
QR CodeWeb Securitylogin
0 likes · 11 min read

The article examines how a growing e‑commerce login module becomes tangled with duplicated code and scattered logic, then demonstrates a step‑by‑step refactor using strategy‑factory, template method, chain‑of‑responsibility and decorator patterns to achieve clear responsibilities, extensibility, and easier maintenance.
Chain of ResponsibilityDecorator PatternStrategy Pattern
0 likes · 18 min read

This article explains how QR code login works by describing QR code fundamentals, token‑based authentication, and the step‑by‑step process—including QR generation, scanning, state transitions, and final confirmation—that enables a mobile device to securely authenticate a PC session.
AuthenticationQR Codelogin
0 likes · 11 min read

The guide demonstrates how to build a front‑end/back‑end separated captcha login using Spring Boot, Kaptcha and Redis, showing Redis‑based captcha storage with a unique key, Base64 image delivery, and verification logic that replaces traditional session‑based approaches.
APICAPTCHAJava
0 likes · 12 min read

This article demonstrates how to create a user authentication system in PHP, covering database table design, login and logout functions, password verification, session handling, and a role‑based permission check to enable multi‑level access control for secure web applications.
MySQLPHPSession
0 likes · 5 min read

This article reviews the historical evolution of login authentication—from simple username/password in monolithic apps to token mechanisms, unified account centers, OAuth, and sub‑tokens—while also presenting modern one‑click, trusted‑device, and facial‑verification login methods and future AI‑driven security trends.
OAuthUser Experienceidentity
0 likes · 13 min read

This article explains the fundamentals of QR code login, covering how QR codes work, the token‑based authentication mechanism, and the step‑by‑step process—from QR code generation and scanning to token exchange and final login confirmation—while highlighting security considerations.
QR Codeloginmobile
0 likes · 11 min read

This article explains why user authentication is essential for mobile mini‑programs, outlines security measures using AccessToken and RefreshToken, and provides step‑by‑step techniques—including automatic login, token refresh, request queuing, and user‑state handling—to achieve a frictionless user experience.
AuthenticationWeChatfrontend
0 likes · 9 min read

QR‑code login lets a already‑authenticated mobile app scan a code shown on a PC, using a server‑issued token tied to the user’s account and device ID; the scan creates a temporary token, the user confirms, and a permanent token is issued to the PC, enabling password‑less, secure authentication.
AuthenticationBackendQR Code
0 likes · 11 min read

This article explains the technical principles behind QR code login, covering QR code basics, token‑based authentication, the step‑by‑step flow between mobile and PC, and security considerations, providing a clear guide for developers implementing secure scan‑to‑login systems.
AuthenticationBackendQR Code
0 likes · 11 min read

This article explains how to securely implement user login and logout functionality in PHP by using session management, server‑side validation, and CSRF token protection, providing sample code for authentication, session handling, and safe logout procedures.
CSRFPHPSession
0 likes · 6 min read

This article explains the fundamentals of QR code login, describing how QR codes work, the token‑based authentication mechanism, and the step‑by‑step process from QR code generation on the PC to scanning, confirmation, and token exchange that securely logs a user into the system.
QR Codeloginmobile
0 likes · 12 min read

This tutorial walks through creating a complete HarmonyOS demo project without backend integration, covering project setup, constant files, login and registration pages, navigation tabs, home page components, search, list, refresh, and custom input components, all illustrated with code snippets and screenshots.
ArkUICodeLabsHarmonyOS
0 likes · 10 min read

This article explains how to design a scalable multi‑account login system, covering self‑built phone‑number authentication, optimized password‑less flows, third‑party integrations such as Weibo and WeChat, a refactored user‑basic and authorization schema, and the steps for implementing one‑click carrier‑based login.
AuthenticationMulti-Accountdatabase design
0 likes · 14 min read

This article outlines the design of a flexible multi‑account authentication system, covering self‑built phone‑number registration, optimized password‑less login, integration of third‑party providers such as Weibo and WeChat, a split user/base‑authorization database schema, and a carrier‑based one‑click login flow.
Authenticationaccount designlogin
0 likes · 10 min read

This article explains how to implement WeChat OAuth login in a PHP web application, detailing required prerequisites, the authorization flow with URL endpoints, and providing a complete PHP function that exchanges the code for an access token, refreshes it if needed, and retrieves the user's nickname and avatar for storage.
OAuthPHPWeChat
0 likes · 5 min read

This article explains the three-stage design of a QR code login system—including pending scan, scanned‑pending‑confirmation, and confirmed phases—detailing how unique QR IDs, token exchange, and user confirmation ensure secure authentication across PC and mobile devices.
AuthenticationBackendDesign
0 likes · 5 min read

This article explains how to implement a phone‑verification login system using PHP, covering front‑end page design, AJAX‑based code sending, and server‑side validation with example code snippets for HTML, JavaScript, and PHP integration.
AJAXPHPPhone Verification
0 likes · 6 min read

This article outlines practical strategies for building a flexible multi‑account login architecture, covering traditional phone‑number/password registration, optimized password‑less flows, integration of third‑party providers such as Weibo, WeChat and QQ, a unified user‑base and authorization schema, and the implementation of carrier‑based one‑click authentication.
AuthenticationMulti-Accountdatabase design
0 likes · 14 min read

This article explains how to build a secure email‑verification login and registration system using PHP and MySQL, covering database schema creation, user registration with verification code generation and email sending, verification link handling, and login validation, with full code examples.
Email VerificationMySQLPHP
0 likes · 5 min read

This article examines the design of a flexible multi‑account authentication system, covering native phone‑code login, optimized password‑optional flows, third‑party OAuth integration, database schema separation, and one‑click carrier‑based login to improve extensibility and user experience.
BackendMulti-AccountOAuth
0 likes · 14 min read

This article explains the technical principles behind QR code login, covering QR code basics, token‑based authentication, the step‑by‑step workflow between mobile and PC, and security considerations for implementing a reliable cross‑device sign‑in system.
AuthenticationQR Codelogin
0 likes · 12 min read

This guide walks you through the complete backend workflow, from preparing a verified WeChat service account and configuring server settings to generating parameterized QR codes, polling user status, handling follow and scan events, and binding phone numbers for seamless automatic login.
APIQR CodeWeChat
0 likes · 9 min read

This article explains how to restrict the number of concurrent browser logins for a user account by storing login details in a database or Redis, comparing browser agent strings, and returning appropriate error messages, with full PHP code examples.
Backendlogin
0 likes · 8 min read

The article shows a straightforward Python + Selenium script, generated by ChatGPT, that logs into a website and verifies pagination, illustrated with code screenshots and brief commentary on the author’s experience finding the problem on Zhihu.
ChatGPTPaginationPython
0 likes · 1 min read

This article walks through the evolution of a user system—from a basic email/phone login to third‑party OAuth, multi‑type user accounts, diversified password schemes, and real‑person (entity) verification—showcasing a flexible, extensible backend design that can handle rapid business growth.
Authenticationloginpassword
0 likes · 13 min read

This guide explains how to create a bridge API that enables login and message interaction with WeChat by reverse‑engineering client and server protocols, covering UUID acquisition, QR code handling, login status polling, cookie management, and data initialization using Node.js, TypeScript, and Axios.
AxiosBridge APINode.js
0 likes · 19 min read

This article outlines a student project to create a Python-powered electronic attendance system, detailing required CSV data formats, core functions such as loading data, login, record writing, and querying, along with task requirements, additional features, and complete code examples.
CSVStudent Projectattendance system
0 likes · 8 min read

This article details a step‑by‑step guide to building a face‑recognition based login system using Baidu Cloud AI services, SpringBoot, Thymeleaf, and jQuery, covering API integration, Maven dependencies, code examples for registration, detection, search, and deployment considerations.
APIBaidu AIJava
0 likes · 12 min read

This article explains how to integrate WeChat QR code login using OAuth2.0 in a Spring Boot backend, covering the authorization flow, required configuration, Java code examples for obtaining the code and access token, user login handling, and AOP-based login verification.
OAuth2QR CodeWeChat
0 likes · 13 min read

This article presents a comprehensive design of a unified multi‑account login system, covering self‑built phone‑number authentication, password‑less login, third‑party integrations (Weibo, WeChat, QQ), database schema separation for user basics and authorizations, and a one‑click mobile number login flow, while discussing advantages, drawbacks, and implementation details.
BackendMulti-Accountaccount design
0 likes · 17 min read

This article explains how to design a scalable multi‑account login architecture—including self‑built phone‑number registration, optimized password‑optional flows, third‑party integrations such as Weibo, and a unified user‑basic and user‑auth table schema—while also covering one‑click carrier‑based login and its advantages and drawbacks.
BackendThird-party Integrationaccount management
0 likes · 16 min read

This article explains how to design a scalable multi‑account login system by describing self‑built phone‑number authentication, optimized password‑less registration, third‑party OAuth integration, database schema separation, and one‑click carrier‑based login, while highlighting advantages, drawbacks, and implementation details.
AuthenticationBackendMulti-Account
0 likes · 16 min read

This article explains how to design a flexible multi‑account login system—including self‑built mobile‑number registration, optimized password‑less login, third‑party OAuth integration, database schema separation, and carrier‑based one‑click login—while weighing the advantages and drawbacks of each approach.
account managementdatabase designlogin
0 likes · 16 min read

This guide explains how to install and configure the ThinkPHP captcha extension using a cache driver instead of sessions, modify the Captcha class, and integrate a Vue‑Element‑Admin login page that includes username, password, and captcha fields with corresponding backend validation and token handling.
CAPTCHAThinkPHPVue
0 likes · 15 min read

This article provides step‑by‑step Python Tkinter tutorials for building three desktop GUI applications—a basic calculator, a simple notepad editor, and a user login/registration interface—detailing design principles, UI layout, and complete source code for each example.
CalculatorNotepad++Python
0 likes · 18 min read

This article explains the concept of multi‑account login using third‑party identities, describes early‑stage username/password and mobile‑number authentication flows, presents a detailed database schema, and outlines the integration process for services like QQ‑SDK following OAuth2.0 principles.
AuthenticationMulti-AccountOAuth2
0 likes · 9 min read

QR code login lets users authenticate on a PC by scanning a code with a pre‑logged‑in mobile app, using a token‑based system that verifies identity without transmitting passwords, and involves QR generation, status polling, temporary tokens, and final confirmation to securely log in.
AuthenticationQR Codelogin
0 likes · 12 min read

This article explains the fundamentals of QR code login, detailing how QR codes convey identity, the token‑based authentication mechanism, and the step‑by‑step process that enables a mobile device to securely authenticate a PC session without exposing passwords.
BackendQR Codelogin
0 likes · 12 min read

This article explains the concept, technical solutions, workflow diagrams, and database schema for implementing unified multi‑account login using username/password, mobile verification, and third‑party OAuth2 integrations, providing practical design guidance without detailed source code.
BackendMulti-AccountOAuth2
0 likes · 11 min read

This article explains the underlying principles of QR code login, detailing how the system identifies users, proves their identity through token‑based authentication, and manages the state transitions from scanning to confirmation, while also covering the role of QR code generation and temporary tokens.
AuthenticationQR Codelogin
0 likes · 12 min read

This article explains the underlying principles of QR code login, detailing how token‑based authentication, QR code generation, and state transitions enable secure, password‑less login across PC, web, and mobile platforms.
Authenticationlogintoken
0 likes · 12 min read

This article explains how QR code login works by describing QR code basics, token‑based authentication, and the step‑by‑step process that enables a mobile app to securely authenticate a PC or web client without transmitting passwords.
BackendQR Codelogin
0 likes · 11 min read

This article explains the principles behind QR codes, how they are used for secure login by transmitting identity and proof through token‑based authentication, and walks through each step of the QR‑code login flow from generation to confirmation.
AuthenticationBackendQR Code
0 likes · 11 min read

This tutorial explains how to create a Spring Boot project that implements QQ email‑based user registration and login, covering POP3/SMTP setup, Maven dependencies, MySQL schema, core Java classes, configuration files, and step‑by‑step Postman testing procedures.
Email VerificationJavaMySQL
0 likes · 11 min read

This article presents a Java console program that implements user login, registration, and a lottery feature, detailing the functional requirements, data storage using files, key data structures like ArrayList and HashMap, and provides the complete source code with usage notes.
FileIOJavaLottery
0 likes · 12 min read

This article presents a comprehensive design for WeChat Mini Program login and authorization, detailing business scenarios, silent‑login flow with token management, fault‑tolerant session handling, step‑wise UI components for user and phone permissions, and a clear front‑end/back‑end API contract within a layered architecture.
BackendWeChat Mini-Programauthorization
0 likes · 25 min read

This article demonstrates a step‑by‑step Python Selenium solution for completely automating Taobao login, covering dependency setup, class design, handling the sliding captcha, and alternative login via Sina Weibo, complete with full source code and usage instructions.
PythonScrapingTaobao
0 likes · 14 min read

This article demystifies QR code login by covering what QR codes are, how mobile token‑based authentication works, and the step‑by‑step flow that enables secure PC login via scanning, confirming, and token exchange.
OAuthQR Codelogin
0 likes · 8 min read

The article presents a detailed solution for load‑testing two login mechanisms—username/password and phone‑code—by creating a thread‑safe user pool, using AtomicInteger for proportion control, marking each request, and providing complete Java scripts for the test framework, login APIs, and password encryption.
Javaatomicintegerlogin
0 likes · 8 min read


58 TechJan 10, 2020 · Backend Development
This article details the background, goals, architecture, implementation, and future plans of the PASSPORT SDK developed to unify account systems across 58 Group apps, emphasizing a layered backend design, simple interfaces, black‑box service flows, and extensible features for mobile developers.
Backendarchitecturelogin
0 likes · 11 min read

This article outlines the design of a unified multi‑account login system, covering self‑built phone‑number authentication, optimized password‑less login, third‑party integrations, database schema separation, and a one‑click carrier‑based login to improve user experience and scalability.
Authenticationaccount designdatabase
0 likes · 16 min read

To avoid test failures caused by being logged into an unintended account, the author implements a recursive login routine in an Android UiAutomator script that checks the current user, logs out if necessary, and re‑logs in with the correct credentials, illustrating a concise and reusable testing solution.
AndroidRecursive FunctionUI automation
0 likes · 2 min read

This tutorial demonstrates how to build an Android login interface using Kotlin, covering class inheritance, nullable variable declarations, lambda listeners, network requests, and an extension function that adds a toast method to all Activity subclasses, with full source code examples.
AndroidExtension FunctionsInheritance
0 likes · 5 min read

This article provides a comprehensive overview of WeChat Mini Programs, covering their technical stack (WXML, WXSS, WXAPI), development environment setup, file architecture, component system, application and page lifecycles, login process, and practical considerations for frontend developers.
Frontend DevelopmentLifecycleWXML
0 likes · 9 min read
