ForgeDocumentation
en

Documentation

Guides, a reference of what exists in Total.js 5 and jComponent 20, and comparisons with other frameworks.

GuidesTags

Get started with Total.js 5

Install Total.js 5, create the start script and the first route, action and view, and run the application.

guideinstallfirst app

Consult Forge with versions, sources and complete reads

A reliable search, read and source workflow for Total.js 5 and jComponent 20; coverage and evidence are explicit.

guidesourceknowledgemcpsearchcontext

Project structure of a Total.js 5 application

The folders of a Total.js 5 project, what each one contains and which files the framework loads automatically.

guidestructurefolders

Total.js 5 conventions for coding assistants

Native application conventions, source priorities and version boundaries for agents using Total.js 5, with a tested action and direct controller example.

aiconventionsguidelinescontextnativeactions

The Total.js code style: names, files, CSS, SQL and components

The conventions of the Total.js community for JavaScript, names, schemas, require(), CSS, jComponent plugins and components, SQL scripts and folders, so that every project reads the same and a team or an AI assistant can continue it.

guidestyleconventionsguidelinessqlcss

Common mistakes with Total.js 5, with wrong and right code

Correct common Total.js 5 mistakes with wrong and correct code examples.

guidemistakespitfalls

Taskboard reference application with sessions, ownership and persistent tasks

Build and test a small usable application with signed sessions, scrypt passwords, CSRF, two roles, owner-scoped NoSQL CRUD and a browser interface.

applicationreferenceauthcsrfnosqlrolesbrowser

Taskboard Live: realtime updates and file attachments with sessions

Extend the Taskboard reference with owner-scoped file attachments and an authenticated WebSocket that pushes changes to the right people, all tested over HTTP, WebSocket and a browser.

applicationreferencewebsocketuploadfilestorageauthrealtimebrowser

Taskboard SQL: the same application on SQLite with real SQL and a transaction

Keep the Taskboard sessions, roles and CSRF, store the tasks in a SQLite file through the native QueryBuilder and move completed tasks to an archive in one atomic SQL transaction.

applicationreferencesqlsqlitequerybuildertransactionsauthbrowser