Logo

Developing with AI

A Modern Workflow

You can significantly accelerate the development of new modules and document layouts by using a Large Language Model (LLM) like Google AI Studio as a development partner. By providing the AI with the complete source code of the application, you give it the full context it needs to generate new, compatible code that follows the existing patterns and architecture.

How to Use

  1. Download the Source File: A special, concatenated text file containing the entire application's source code is available for developers.
    Download the Complete Source Text File.
  2. Go to an LLM Interface: Navigate to a powerful LLM that accepts file uploads, such as Google AI Studio.
  3. Upload the File: Upload the `output.txt` file you downloaded.
  4. Provide a Clear Prompt: Write a detailed prompt explaining exactly what you want the AI to create. The more specific you are, the better the result will be.

Example Prompts

Use the following prompts as a starting point. Copy and paste them into the AI interface after uploading the source file.

Example 1: Creating a New Module

Prompt:

"Based on the provided source code, generate all the necessary files for a new module named 'Inventory'. It should have a main page called `manage_inventory.php` and a menu item under a new 'Inventory' top-level menu. The page should display a simple table with columns for 'Item ID', 'Name', and 'Quantity'."

Example 2: Creating a New Document Type

Prompt:

"Using the provided source code as a reference, generate all the files needed for a new 'Purchase Order' document type for the Document Editor. It should have a toolbar button and a simple table object with columns for 'Item', 'Qty', and 'Price'."

Best Practices: Always review AI-generated code carefully before implementing it. While powerful, it can sometimes make mistakes. Use it as a tool to speed up your workflow, not as a replacement for understanding the code.