Desi Script Proprietary Core Framework · PHP 8.2+ & React SSR

The high-velocity engine behind zero-bloat web applications

Sub-millisecond route dispatch. Ahead-Of-Time compilation. Tri-modal React hydration. Shetab (شتاب) eliminates framework overhead so your servers do actual business work—slashing cloud invoices by 70–80%.

< 0.007 msO(1) Route Lookup
0 msOptimistic Actions
70–80%Cloud Invoices Slashed
Tri-ModalReact SSR / SSG / ISR
The Business Problem

The hidden cloud tax: paying for work nobody asked for

Most web applications suffer from framework machinery bloat. On every live HTTP request, general-purpose stacks spend CPU cycles scanning directory trees, parsing route regexes, reading reflection classes, and re-compiling templates.

1. Ballooning Cloud Bills

Because the framework wastes CPU on every request, teams add more servers to keep up with modest traffic spikes. A mid-sized portal soon costs $1,000–$2,500/month just in idling multi-node cloud clusters.

2. Conversion Drop-Off

Akamai and Google studies prove that every 100ms delay in TTFB drops conversions by 7%. On mobile devices and variable 4G/5G networks, sluggish server turnaround kills sales before the customer even sees the page.

3. Re-Platforming Traps

Apps built on fragile monolithic templates inevitably strain under scale. Agencies advise "starting from scratch," forcing businesses through costly multi-month re-platforming cycles.

The Decision: Ahead-Of-Time (AOT) Pre-Compilation

Shetab reverses this equation. Everything invariant—route resolution, DI dependency graphs, OPcache preloading, and event subscribers—is pre-compiled at warmup into static native PHP arrays. During live requests, static routes resolve in instantaneous O(1) hashtable lookups (<0.007ms), freeing all server horsepower for your database and business logic.

Core Engine Anatomy

Engineered for sub-millisecond velocity

Click across the core pillars below to inspect how Shetab orchestrates full-stack React SSR, PHP 8.2+ AOT compilation, and dual database architectures.

Zero-Cost Warmup

Zero-Cost AOT Pre-Compilation & Attributes

Routes, DI containers, event subscribers, and OPcache preloading are compiled into native PHP hashtables at warmup. Static routes resolve in O(1) time (<0.007ms) with zero ReflectionClass calls.

< 0.007 msRoute Resolution
0 callsRuntime Reflection
55 NativeFull-Stack Attributes
  • 55 Declarative PHP 8 Attributes for routing, validation, token-bucket rate limiting, and transactions
  • Native compiled PHP array lookups (routes_compiled.php, container_map.php)
  • Zero runtime Reflection overhead during live user requests
  • OPcache preloading builds an immutable in-memory execution image
app/Controllers/OrderController.php
php
namespace App\Controllers;

use Shetab\Routing\Attributes\{Get, Post, Prefix, Authorize};
use Shetab\Validation\Attributes\Validate;
use Shetab\Database\Attributes\Transactional;
use Shetab\Http\Attributes\RateLimit;
use App\DTOs\CreateOrderRequest;

#[Prefix('/api/v1/orders')]
#[Authorize(['role' => 'customer'])]
class OrderController
{
    #[Post('/')]
    #[RateLimit(requests: 60, window: 60)]
    #[Validate(CreateOrderRequest::class)]
    #[Transactional]
    public function store(CreateOrderRequest $req): Response
    {
        // Zero reflection overhead — DI graph pre-compiled at warmup
        $order = Order::create($req->validated());
        return Response::json(['order_id' => $order->id], 201);
    }
}
Live Production Proof

See Shetab in production at Ravably

Ravably (ravably.com) is a suite of fast, single-purpose software applications built on the Shetab framework. Tools like Notes and Focusdemonstrate Shetab's tri-modal rendering, instant offline-first responsiveness, and zero-bloat asset delivery in everyday consumer use.

Sub-secondFirst Contentful Paint
ZeroRuntime Framework Bloat
OfflineInstallable PWA Ready

Live client software running on Shetab

Architectural Benchmark

Traditional stack vs. Shetab full-stack

How Shetab compares to general-purpose frameworks and CMS platforms in real-world deployment.

Route Resolution & Dispatch

Traditional Stack:

Dynamic regex parsing & file reflection on every request (15–50ms)

On Shetab:

O(1) compiled hashtable lookup (<0.007ms) with zero ReflectionClass calls

Impact: Near-instant first-byte turnaround under peak concurrency

Frontend Hydration Architecture

Traditional Stack:

Heavy SPA bundle or disjointed separate Node.js server to maintain

On Shetab:

Tri-modal @shetab/react (SSG / Sidecar SSR / ISR) with useServerProps()

Impact: Next.js-grade UX with unified deployment simplicity

Database Operations

Traditional Stack:

Forced choice between slow heavy ORM or unmaintainable raw SQL strings

On Shetab:

Dual DB Engine: Raw microsecond PDO + Laravel Eloquent ORM on one transaction

Impact: Extreme throughput for batch jobs with elegant domain models

Cloud Server Footprint

Traditional Stack:

$500–$2,000+/mo on multi-node clusters to offset framework overhead

On Shetab:

Starts on a $20–$50/mo VPS; runs same codebase to Kubernetes cluster

Impact: 70–80% reduction in infrastructure hosting bills

TypeScript & Data Integrity

Traditional Stack:

Manual interface syncing prone to silent API contract drift

On Shetab:

Automated types:generate maps Eloquent models & validation DTOs to TypeScript

Impact: End-to-end compile-time type safety across backend and frontend

File Integrity & Security

Traditional Stack:

Server file injection or malicious plugin tampering goes unnoticed

On Shetab:

SHA-256 build manifest verification catches unauthorized runtime changes

Impact: Tamper-evident runtime execution in production
Ownership & Freedom

100% Code Ownership. Zero Vendor Lock-In.

We never trap your business inside closed proprietary clouds. You own your application source code, your database, and your domain. Shetab apps run on standard Linux hosting—whether that is a $20/month VPS, Hetzner, AWS, DigitalOcean, or your own Kubernetes infrastructure. Full handover documentation and licensing are transparently agreed upon before kickoff.

Standard PHP 8.2+ & React
Ordinary Linux VPS / Cloud
Full Database Portability
Buyer & Engineering FAQs

Frequently asked questions about Shetab

Everything you need to know about performance benchmarks, licensing, migrations, and hosting economics.

Shetab (شتاب, meaning velocity and acceleration) is Desi Script's proprietary full-stack runtime combining an Ahead-Of-Time (AOT) compiled PHP 8.2+ backend with a Next.js-grade React SSR/SSG frontend (@shetab/react). We engineered it because general-purpose frameworks spend more CPU cycles resolving routes, evaluating reflection, and re-parsing dependencies on each click than running client business logic. Shetab moves all invariant compilation to warmup, leaving near-zero overhead for live requests.

Ready to cut your cloud bills and accelerate your application?

Send us your hosting invoices or describe the platform you want to build. We will benchmark your workload, show you where the time and money go, and map out a fixed-scope build plan on Shetab.