Satu File .rp untuk Route, Security, Logic & View.
RPOOLCODE (.rp) mengambil semua keunggulan terbaik Laravel (sintaks ekspresif, ORM 1 baris, ekosistem plugin) dan memangkas kerumitannya dengan Single-File Hybrid Compiler serta Zero-Config Security.
.rp@route, @security, @logic, dan @view menyatu rapi dalam 1 file.@csrf manual, compiler otomatis menyuntikkan token ke setiap <form>.User::find(1)/api/install.rp, & pasang plugin langsung via REST API.Bagaimana Cara Kerja Mesin Compiler .rp?
Dari file .rp yang ditulis developer hingga menjadi HTTP response super cepat di bawah 1 milidetik:
1. Balanced Block Extraction
Saat file pages/*.rp diakses, BlockParser memindai kurung kurawal berimbang untuk memisahkan blok @route, @security, @logic, dan @view.
2. Plugin Directive Expansion
Semua custom tag dari folder plugins/ (seperti @badge(...), @alert(...), dan @datatable(...)) ditransformasikan menjadi komponen PHP/HTML.
3. Auto-Security Injection
Compiler mendeteksi setiap tag <form> dan menyuntikkan field rahasia _rp_csrf secara otomatis, serta membungkus setiap {{ $var }} dengan RpSecurity::escape().
4. Cached PHP + SecurityKernel
Hasil kompilasi disimpan di storage/cache/rp/*.php (di-cache oleh Zend OPcache). Saat request masuk, SecurityKernel memvalidasi CSRF, Rate Limit, & Auth sebelum @logic jalan.
❌ Cara Lama (Terpisah di 3–4 File + Rawan Lupa CSRF)
routes/ + controllers/ + views/// 1. File: routes/web.php
Route::get('/posts', [PostController::class, 'index']);
Route::post('/posts', [PostController::class, 'store']);
// 2. File: app/Http/Controllers/PostController.php
class PostController extends Controller {
public function index() {
return view('posts.index', ['posts' => Post::latest()->get()]);
}
}
// 3. File: resources/views/posts/index.blade.php
✅ Cara RPOOLCODE: Cukup 1 File pages/posts.rp!
Zero-Config Auto-CSRF @route { path: "/posts", methods: ["GET", "POST"] }
@security { csrf: true, rate_limit: 60 }
@logic {
if ($request->isPost()) {
Post::create($request->validate(['title' => 'required|min:3']));
}
$posts = Post::where('status', 'published')->latest()->get();
}
@view {
@datatable($posts)
}
⚡ Live .rp Compiler & Auto-Security Inspector
Ubah kode .rp di sebelah kiri lalu klik Compile via API untuk melihat bagaimana RpCompiler mengubahnya menjadi native PHP lengkap dengan injeksi _rp_csrf & RpSecurity::escape().
live_playground.rp
Blok @route, @security, @logic, @view
storage/cache/rp/*.php)
Auto-CSRF: Aktif | Auto-XSS: Aktif
Memuat hasil kompilasi dari /api/compile-preview...
🛡️ Uji Coba Langsung: ORM Database, Auto-CSRF, Auto-XSS & Plugin @datatable
Form di bawah ini ditulis di dalam pages/index.rp tanpa menulis @csrf manual. Coba tambahkan artikel baru (bahkan coba masukkan tag <script>alert('xss')</script> pada judul untuk membuktikan Auto-XSS)!
➕ Buat Artikel Baru (Post::create())
Protected by Auto-CSRF 🔌 Ekosistem Plugin .rp yang Aktif
+ Pasang Plugin via API →
Rute File .rp Terdaftar Otomatis (5 Rute):
📊 Hasil Render Plugin @datatable($posts) (1 Baris Kode di .rp)
Data diambil menggunakan Post::where('status', 'published')->latest()->get():
| ID | TITLE | AUTHOR | CATEGORY | CONTENT | STATUS | CREATED_AT |
|---|---|---|---|---|---|---|
| 10 | Please verify my wallet | Please verify my wallet | Please verify my wallet | Please verify my wallet | published | 2026-10-30 01:06:31 |
| 9 | Please verify my wallet | Please verify my wallet | Please verify my wallet | Please verify my wallet | published | 2026-10-30 01:05:53 |
| 8 | Results for rpool.net | Della Truong | RPOOL Engine | Hey Feature rpool.net in Google's Search Index to show up in online search results! Add rpool.net today: domainsubmit.live | published | 2026-10-29 19:14:51 |
| 7 | Let’s Boost Your Website Traffic | Chloe | RPOOL Engine | Hello http://rpool.net, I hope you’re doing well. I found your business online and believe there’s potential to increase your search rankings and organic traffic. We specialize in practical SEO strategies designed for sustainable growth. Send me your target keywords and market,I’ll send over a complete proposal . Warm regards, Chloe Online SEO Consultant | published | 2026-10-29 16:43:09 |
| 6 | Question about your Google visibility | Max Langley | RPOOL Engine | Hi, Is your business optimized for customers searching through Google, Alexa, and Siri? Our SEO strategies aim to improve Google rankings and strengthen your website’s visibility for relevant conversational and voice-based searches. Would you like me to share our available packages and pricing? Best regards, Max | published | 2026-10-29 11:15:51 |
| 5 | Re: rpool.net - SEO | Nishant Developer | RPOOL Engine | Hey team rpool.net, I would like to discuss AI SEO! We help businesses rank higher on Google while also increasing their presence on AI-powered search platforms like ChatGPT, Gemini, Claude, and Perplexity. May I send you a quote & price list? Cheers, Nishant Developer | Founder & Project Head | published | 2026-10-28 15:14:22 |
| 4 | Has anyone seen this | VictorGrake | RPOOL Engine | Hello all! I came across something worth checking out and figured I'd post it for you. Feel free to explore — https://bepislabyrinth.xyz/forum/viewtopic.php?t=23497 - helpful link. Curious what you all think https://bepislabyrinth.xyz/forum/viewtopic.php?t=23497 | published | 2026-10-27 00:36:52 |
| 3 | Instalasi & Provisioning Otomatis Berbasis REST API | RPOOL Installer | API Ecosystem | Proses pengecekan environment, pembuatan skema SQLite (Prepared Statements), pembuatan akun Admin Argon2id, hingga pre-compile cache .rp dijalankan langsung melalui endpoint /api/install. | published | 2026-10-26 22:24:46 |
| 2 | Zero-Config Auto-CSRF & Auto-XSS di Level Mesin Compiler | Security Kernel | Zero-Config Security | Mesin RpCompiler secara otomatis mendeteksi setiap tag <form> dan menyuntikkan input token _rp_csrf, sekaligus melakukan context-aware escaping pada seluruh output {{ $var }}. | published | 2026-10-26 22:24:46 |
| 1 | Single-File .rp Architecture: 1 File untuk Route, Security, Logic & View | RPOOL Core Team | Compiler .rp | Dengan ekstensi .rp, developer tidak perlu lagi bolak-balik membuka 3-4 file hanya untuk satu halaman. Cukup tulis blok @route, @security, @logic, dan @view dalam satu file .rp yang terkompilasi ke native PHP cache. | published | 2026-10-26 22:24:46 |