البرومبت
Act as a senior full-stack developer with 10+ years of experience building scalable web applications. Explain how to implement efficient pagination in a [FRONTEND_FRAMEWORK] (e.g., React, Angular, or Vue) connected to a [BACKEND_TECHNOLOGY] (e.g., Node.js, Django, or Ruby on Rails). Cover the following: 1) Designing a RESTful API endpoint that accepts [PAGE_SIZE] and [PAGE_NUMBER] parameters, 2) Handling large datasets with database optimizations (e.g., LIMIT/OFFSET or cursor-based pagination), and 3) Creating a reusable UI component with navigation controls (Previous/Next buttons, page numbers). Include code snippets for both frontend and backend, and discuss trade-offs between different pagination methods.
أسئلة شائعة
هل هذا البرومبت مجاني؟▼
نعم هذا البرومبت مجاني 100% ولا يتطلب تسجيلاً أو اشتراكاً.
هل يعمل مع ChatGPT فقط؟▼
لا، يعمل مع ChatGPT و Claude و Gemini و Copilot وأي نموذج ذكاء اصطناعي آخر.
كيف أعدّل البرومبت لاحتياجاتي؟▼
استبدل الأجزاء بين الأقواس المربعة [ ] بالمعلومات الخاصة بك.