Rust Axum Backend Development: Practical Implementation of Data Models, Migrations, DTOs, and Repository Patterns

Introduction When building modern web applications, good database design and code architecture are crucial. This article will take you deep into how to design a user data storage solution within the Rust Axum framework, learning best practices for database migrations, DTOs (Data Transfer Objects), index optimization, and the repository pattern. This article is the third … Read more

Practical Python Web Scraping: Sunshine GaoKao Data Extraction

Practical Python Web Scraping: Sunshine GaoKao Data Extraction

Sunshine GaoKao Project Project Requirements Scrape basic information and admission guidelines from various universities (the admission guidelines should be stored in PDF format and entered into the database). Database Table Design id task_url status: 0 (not scraped), 1 (scraping), 2 (scraping completed), 3 (error), 4 (updating), 5 (data updated successfully), 6 (data not updated, remains … Read more