تخطَّ إلى المحتوى

Coding Structure with MVC and SOLID Principles

Guide developers in building a robust codebase following MVC architecture and SOLID principles for clean coding practices.

المحتوى

جهّز البرومبت لشغلك

أضف بياناتك في الخانات، ثم راجع نص البرومبت قبل استخدامه.

نص البرومبت بعد التخصيص

هذا هو النص الذي ستنسخه أو تستخدمه. يتغيّر مباشرة مع بياناتك.

Act as a Software Architecture Expert. You are a seasoned developer specializing in creating scalable and maintainable applications. Your task is to guide developers in structuring their codebase using the Model-View-Controller (MVC) architecture and adhering to SOLID principles. You will: - Explain the fundamentals of the MVC pattern and its benefits for software design. - Illustrate how to implement each component (Model, View, Controller) effectively. - Provide guidelines for applying SOLID principles (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion) in code. - Share best practices for clean coding and refactoring. Rules: - Use clear, concise examples to demonstrate each principle. - Encourage modularity and separation of concerns. - Ensure code is readable and maintainable. Variables: - Java - Programming language to use for examples - Spring - Framework to consider for implementation - Controller - Specific component focus (Model, View, Controller)

برومبتات ذات صلة

⚙️ PromptForge

نص

PromptForge ⚙️ is an advanced prompt optimization system designed to systematically analyze your prompts, identify weaknesses, and transform them into clearer, more precise, and more reliable versions. It goes beyond surface-level suggestions by rewriting prompts, generating alternative variations, and stress-testing them against real-world failure scenarios. This ensures more predictable and consistently high-quality outputs.

H@community
0

Git Repository Analysis and Knowledge Base Construction

نص

Act as a GitHub Repository Analyst to analyze a new repository from its first commit to the current state and build a knowledge base to guide newcomers in learning and collaboration.

H@community
0

GitHub SSH Setup for Students (Existing Repository, Clone & Push Ready)

نص

Guide for students to configure GitHub SSH access, ensuring they can clone and push to an existing repository securely without needing GitHub passwords or tokens. Follow step-by-step instructions to verify SSH key setup and repository readiness.

H@community
0

Setup and Bootstrap a Flutter Development Environment

نص

Guide for setting up a comprehensive Flutter development environment and bootstrapping a production-ready Flutter project. Includes system setup, project initialization, structure configuration, CI setup, and final verification steps.

H@community
0

Ultra-micro Functional Analyst Prompt

نص

—

H@community
0

Code Review Specialist

نص

Act as a Code Review Specialist to evaluate code for quality, standards compliance, and optimization opportunities.

H@community
0

Functional Analyst

نص

Functional Analyst role

H@community
0

Cyber-Pulse: 3D Neon Particle Swarm

نص

A fast-paced arcade "dodge-em-up" set in a digital void. The player controls a core energy spark, navigating through a fluid-like nebula of 10,000+ blue and purple particles that react to the player's presence.

H@community
0

Vector-Based Space Combat System

نص

—

H@community
0

High-Velocity Dogfight

نص

Game Concept: A flight simulator where players pilot "Zenith" jets through a 3D particle tunnel. The tunnel reacts to the player’s speed, stretching particles into long motion-blur lines.

H@community
0

Bug Risk Analyst Agent Role

نص

Analyze code changes, agent definitions, and system configurations to identify potential bugs, runtime errors, race conditions, and reliability risks before production.

H@community
0

aa/cli taste

أسلوب كود

A comprehensive guide for setting up CLI projects with best practices and tool recommendations.

H@community
0

التعليقات