Aurora is a modern {PHP} Template Engine
Welcome to our new PHP Template Engine, an advanced yet user-friendly tool for both developers and non-programmers involved in web development. This engine simplifies the process of template management and rendering, making it accessible to HTML coders and those with limited programming knowledge. Its design focuses on usability and efficiency, providing a straightforward interface for creating and handling web content. The Aurora combines the demands of modern web development with the ease of use, making it a practical choice for a wide range of users in the PHP community.
Key Features
One-File Implementation
Our PHP Template Engine is uniquely structured as a one-file implementation. This streamlined design means you can integrate and manage it within your projects effortlessly, without the need for multiple file dependencies.
Fast Performance with Caching
Performance is paramount in web development, and our engine excels in this regard. It's not only fast but also implements caching mechanisms to further enhance the speed and efficiency of your web applications.
Block-Based Template Segmentation
The most significant innovation of our engine is its block-based template structure. Unlike traditional PHP templates that rely on separate files, our engine allows multiple construction blocks within a single file. This approach provides unparalleled flexibility, letting you mix and match different blocks to create complex layouts and functionalities within a single, unified template file.
Documentation of the template engine
Configuration Settings
To effectively use the PHP Template Engine, it's essential to properly configure the settings for template files and cache storage. By default, the engine looks for templates in the 'views' directory and stores the cache in the 'cache' directory. These settings can be customized to suit your project structure.
- Installation - Installing Aurora Template
- Usage - Basic Usage of the PHP NLG Template Engine
- Storage-Setting Directories for Templates and Cache
- Templates - Setting Up Input Templates
- Variables - Setting Variables in the System
- Language Constants- Setting Language Constants
- Cache - Managing Cache Creation
- Router - Standalone Mode with Routing System
- Using the PHP Template Engine
- Blocks - Block Based template engine
- Using variables - How to use variables in templates
- Calculations - Isolation and Sharing Variables
- Include and Import - include vs. import in the Template Engine
- Import - Leveraging `import{}` for Standalone Applications with a Routing System
- Resources - Adding Resources to Templates
- Control Structures - `if`, `else if`, `else`
- Ternary Operator - How to approach to ternary operator
- Macros - Macros in Template Engines - Understanding the Concept
- Custom Macros - Creating Custom Macros in Template Engines
- Forms - Creating Forms in the Template Engine
- Custom forms - Customizing Forms in the Template Engine
- Custom PHP Forms - PHP Developer's Guide to Customizing Form Templates in the Template Engine
- Curly Brackets - Handling Curly Brackets in Text Content
- Error Handling - Error Handling in PHP Template Engine
- Tests