Generative Development Framework
GDF.ai
  • Intro to GDF-FSE
    • Generative AI, Large Language Models, ChatGPT?
    • Knowledge Areas
    • Access a Chat Based LLM
    • Why GDF?
    • Expectations
  • Limitations
  • Prompting
    • Prompt Patterns
    • Prompt Context
    • Prompt Stores
    • Prompt Operators
    • Prompt Chaining
  • Security
    • Protecting Data
    • Protecting Application Security
    • Protecting Intellectual Property
    • Protection Stores
    • AI Security Assessments and Penetration Testing
    • Social Engineering Testing with AI
  • Subject Knowledge Areas
    • Ideation
      • Identifying a Problem Statement
      • Plan and Prioritize Features
      • Develop User Stories
      • Requirement Gathering
      • Ideation Prompting
      • Ideation Template
    • Specification
      • Specifying Languages
      • Specifying Libraries
      • Specifying Project Structures
      • Specify Schemas
      • Specifying Elements
      • Specifying API Specs
    • Generation
      • Generating UI Elements
      • Generating Mock Data
      • Generating Schemas
      • Generating Parsers
      • Generating Databases
      • Generate Functions
      • Generate APIs
      • Generate Diagrams
      • Generating Documentation
    • Transformation
      • Converting Languages
      • Converting Libraries
    • Replacement
      • Replacing Functions
      • Replacing Data Types
    • Integration
      • Connecting UI Components
      • Connecting UI to Backend
      • Connecting Multiple Services Together
      • Connecting Cloud Infrastructure (AWS)
    • Separation
      • Abstraction
      • Model View Controller (MVC)
    • Consolidation
      • Combining UI Elements
      • Deduplicating Code Fragments
    • Templating
      • Layouts
      • Schemas
      • Project Structures
      • Content Management Systems
    • Visualization
      • General Styling
      • Visual Referencing
      • Visual Variations
    • Verification
      • Test Classes
      • Logging and Monitoring
      • Automated Testing
      • Synthetic Monitoring
    • Implementation
      • Infrastructure
      • DevOps / Deployment
    • Optimization
      • General Optimization
      • Performance Monitoring
      • Code Review
  • Guidance
    • Business Process
    • Regulatory Guidance
  • Generative Pipelines
  • Troubleshooting
    • Client Side Troubleshooting
    • Server Side Troubleshooting
    • Troubleshooting with AI
    • Documentation
    • Infrastructure Engineering
  • Terminology
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Subject Knowledge Areas

Separation

Using AI separation techniques to abstract your code for maintability and performance

Using generative AI, such as ChatGPT or Google Gemini, can help in organizing your project structures, directories, and files in a way that increases performance and maintainability. By considering a set of questions, you can guide the AI to create a structure that meets your specific needs.

When determining if separation is needed, consider asking the following questions:

  1. Is the functionality independent?

    • If the functionality can be used in different parts of the application or reused in other projects, it might be a good candidate for separation.

  2. Is the codebase growing?

    • As the codebase grows, separating concerns into different directories and files can help maintain organization and prevent files from becoming too large and unwieldy.

  3. Are there multiple developers working on the project?

    • Separating code into more granular components can make it easier for multiple developers to work on the project simultaneously without causing conflicts.

  4. Are there performance considerations?

    • Separating code into smaller, focused files can help improve performance by allowing for more efficient loading and caching.

  5. Does the separation align with best practices for the framework or library you are using?

    • Following best practices for your chosen framework or library can help ensure your project structure is organized and maintainable.

  6. Can the code be easily tested?

    • Separating code into modular components can make it easier to write and maintain tests, leading to more robust and reliable applications.

By considering these questions, you can guide the generative AI to create a project structure that is organized, performant, and maintainable. This will ultimately help you and your team to develop and maintain the application more effectively.

PreviousConnecting Cloud Infrastructure (AWS)NextAbstraction

Last updated 3 months ago

Was this helpful?