Skip to content

Apa itu TAVP?

Tailwind CSS + Alpine.js + Volt + Phalcon = TAVP

TAVP is a curated PHP tech stack — not a framework. TAVP menggabungkan Phalcon (C-extension PHP, compiled bukan interpreted) dengan developer experience modern: Tailwind CSS untuk styling, Alpine.js untuk interaktivitas, dan Volt untuk templating.

Komponen TAVP

Tailwind CSS

Utility-first CSS framework. Tulis CSS tanpa meninggalkan HTML.

html
<button class="bg-blue-500 text-white px-4 py-2 rounded">
  Click me
</button>

Alpine.js

Lightweight JavaScript framework. Interaktif tanpa complex setup.

html
<div x-data="{ count: 0 }">
  <button @click="count++">Count: <span x-text="count"></span></button>
</div>

Phalcon PHP

C-extension PHP framework. Compiled, bukan interpreted. Karena di-compile ke native code, performanya sangat tinggi.

Volt (TAVP)

Template engine yang di-compile ke PHP. Bukan Laravel Volt yang Livewire-based. TAVP Volt adalah template engine standalone.

volt
{% for user in users %}
  <h2>{{ user.name }}</h2>
{% endfor %}

Performance

Benchmarked on a 2-core VPS with 2GB RAM:

MetricTAVP
Requests/sec (PHP-FPM)5,000+
Requests/sec (Coil/Swoole)12,000+
Memory per worker<15MB
P95 Latency<5ms

Next

Released under the MIT License.