Intraweb Framework

Community

Build Delphi web apps with scalable guidelines.

Authordelphicleancode
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Intraweb is a VCL-for-the-Web framework that allows you to create stateful business web applications in Delphi projects. When dealing with Intraweb in Copilot or your project, consider the following best practices to ensure maintainability and scalability.

Core Features & Use Cases

  • Sessions (UserSession) and Global Variables: Do not use classic unit var global variables or Singleton instances for user data, since Intraweb applications run in a Multithread environment with concurrent sessions (each user has their own). Use ServerController.UserSession for per-session data.
  • ServerController and Configuration: The global system parameters, database connection pool and initializations that do not depend on the user must be resolved in the ServerController (IWServerController.pas) object. Avoid injecting heavy dependencies and direct database scopes in TIWAppForm.
  • Non-Blocking User Interfaces (Asynchronous Callbacks): In the web context, you should not use blocking code to "wait" for the user. Use OnAsyncClick and Ajax-like flows to avoid blocking, and consider WebApplication.ShowMessage for non-blocking interactions.

Quick Start

Create a new Delphi Intraweb project and apply the framework’s naming conventions, session handling rules, and separation of concerns guidelines.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Intraweb Framework
Download link: https://github.com/delphicleancode/delphi-spec-kit/archive/main.zip#intraweb-framework

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.