Examples Overview
Real-world examples demonstrating how to build applications with Buildocs UI Engine.
What You'll Find Here
This section contains practical, working examples that show the complete picture - from frontend implementation to backend API responses. Each example includes:
- TypeScript code for your React application (FormHostProvider)
- Backend code in both C#/.NET and PHP for your API controllers
- Step-by-step explanations of how data flows
- Real-world scenarios you can adapt to your needs
Available Examples
Frontend-Backend Integration
Learn how your React frontend communicates with your backend API:
- Complete FormHostProvider implementation
- Communication flow from user action to UI update
- Multi-form workflows (tables opening forms, modals, refresh operations)
- Practical examples with TypeScript frontend code
- All available backend actions with code snippets
View Frontend-Backend Integration Examples →
RunEvent Handler
Complete backend implementation for handling form events:
- Full C# and PHP implementations
- Request and response structure
- Event types and patterns (button clicks, field changes, table events)
- All widget event handlers with examples
- Response actions reference
View RunEvent Handler Examples →
File Management Handlers
Complete backend implementations for all file operations:
Upload Files Handler
- Handle file uploads from form widgets
- Store files in S3, Azure, or local storage
- Return file identifiers for tracking
- Full C# and PHP examples
Delete File Handler
- Remove files from storage
- Clean up associated metadata
- Authorization and security considerations
- Full C# and PHP examples
Download File Handler
- Stream files to browser
- Proper headers and MIME types
- Large file handling
- Full C# and PHP examples
Get Linked File Handler
- Return files as Base64-encoded strings
- Best for small files (< 10MB)
- Client-side decoding examples
- Full C# and PHP examples
View Get Linked File Handler →
Get Linked File Meta Handler
- Retrieve file metadata without downloading
- Fast and lightweight operations
- Display file information in UI
- Full C# and PHP examples
View Get Linked File Meta Handler →
Get Linked File By Chunks
- Stream large files using HTTP range requests
- Video/audio streaming support
- Resume-able downloads
- Full C# and PHP examples
View Get Linked File By Chunks Handler →
More Examples Coming Soon
We're continuously adding new examples to help you build powerful applications:
- Customer management application
- Document approval workflows
- Multi-step wizards
- Dashboard with embedded forms
Need Help?
If you need examples for specific use cases, please contact our support team or check the documentation sections:
- Core Concepts - Understand the architecture
- SDK Configuration - Set up your application
- API Reference - Detailed API documentation