DiSyL Templating Engine

Post By Noki Nov 20, 2025

DiSyL (Declarative Ikabud Syntax Language) is a revolutionary templating engine that allows you to write themes once and deploy them across WordPress, Joomla, and Drupal.

Why DiSyL?

  • 🌐 Universal - One template works across all CMS platforms
  • ⚑ Fast - ~0.2ms compilation, optimized rendering
  • πŸ”’ Secure - XSS prevention, input sanitization, security audited
  • πŸ’ͺ Production Ready - 100% test pass rate, 148+ WordPress integrations
  • 🧩 Component-Based - Reusable components with manifest architecture

Quick Example

<!-- Simple post query with card layout -->
{ikb_query type=post limit=5 format=card layout=grid-3}

<!-- Dynamic query with runtime placeholders -->
{ikb_query type={GET:type} limit={GET:limit} format=card}

<!-- Conditional content -->
{ikb_query type=post if="category=news" limit=10}

<!-- Using filters for fallback values -->
<h1>{post_title | default:"Untitled Post"}</h1>
<p>{post_excerpt | default:"No excerpt available" | truncate:150}</p>

<!-- Expression interpolation -->
<div class="post-meta">
    <span>By {author_name}</span>
    <span>Published: {post_date | date:"F j, Y"}</span>
</div>

Real-World Theme Example

<!-- header.disyl -->
<header class="site-header">
    <div class="container">
        <h1>{site_title}</h1>
        <nav>{ikb_menu location="primary"}</nav>
    </div>
</header>

<!-- home.disyl -->
{ikb_include file="header.disyl"}

<main class="site-content">
    <section class="hero">
        <h2>Welcome to {site_title}</h2>
        <p>{site_description}</p>
    </section>
    
    <section class="posts">
        {ikb_query type=post limit=6 format=card layout=grid-3}
    </section>
</main>

{ikb_include file="footer.disyl"}

DiSyL Features

  • πŸ“ Expressions - {variable}, {function()}, {GET:param}
  • πŸ”§ Filters - {value | filter:arg} for data transformation
  • πŸ“¦ Components - Reusable UI components with props
  • πŸ”„ Includes - Template composition with {ikb_include}
  • 🎯 Conditionals - if="condition" for dynamic content
  • πŸ“Š Layouts - Pre-built layouts (grid, list, masonry)
  • 🎨 Formats - Card, list, table, custom formats

Learn More

Categories DiSyL