Runnable lab

Examples

Live Gates on this site. Pair each example with the Docs chapter when you want the full explanation.

Getting started

Request / response flow
URL → Gate → PageEvent → Front + Master
Project APIs
Cookie, session, debug, URL helpers
Gate lifecycle / PageEvents
onstart, page_new, page_submit, page_event_*

Front files & masters

FrontFile design
Expressions, runat, holder, jsfunctioncode
Master design
Custom Master + Front Place
Components
Fusion validation · ComponentGroup calculator
Code blocks
runcb / sphp-cb-* content holders

AJAX & interactivity

AJAX / jsServer
sendAjax, getAjaxReturn, JSON HTML/JS blocks

Database & permissions

Permissions
Roles, menus, fusion bans · signin / mebhome
Database
Page helpers, HTMLForm, db_index install
Data log & recycle
History restore and recycle bin

Advanced

ConsoleGate
CLI: php -f start.php -- --gate ex13console --evt help
NativeGate UI
WebSocket Gate ex14native needs SphpServer
Mobile app
Separate project under mobileapp/ (Onsen + MobileGate)
Debugging
debugMode, edit mode, error tracing
Form components & AutoGate
Select, TextArea, FileUploader · reduced CRUD
Output cache
cachelist.php demo

Book demos

Run *-install.html once to create tables (db/db_book2.php).

Blog
Page Events & FrontFile Events
Product
Two fronts + Pagination · holder demo
Task
Complete end-to-end example
PDO interop
Third-party database models

Super Admin defaults are set in comp.php ($admUser / $admPass). Need the reference? API docs · Full documentation