MaplePHP
  • MaplePHP - Layered structure MVC PHP framework
  • Guide
    • Get started
    • Installation
    • Service Provider
    • Dependency injector
    • Controller
    • Middlewares
    • Routers
  • Navigation
    • Simple navigation
    • Dynamic navigation
  • Template engine
    • Getting started
    • Templates
      • Index
      • Views
      • Partials
    • Content (DTO)
      • String
      • Number
      • Array
      • DateTime
      • Encode
      • Dom
  • Form builder
    • Form builder
  • Database
    • MySQL
  • Service providers
    • url
    • encode
    • dir
    • DB
    • responder
  • Installations
    • Authorization & login
  • Frontend template
    • Responder
    • Views & components
    • Modals
    • Redirects
  • Access
    • MaplePHP with Docker
  • Libraries
    • Container
    • MySQL queries
    • Validation
    • Cache
    • Logger
    • Request
    • Response
  • What is?
    • Dependency injector
    • Controller
    • Middleware
    • Router
Powered by GitBook
On this page
  • Beta
  • How dose it work?
  • Installation
  • How it work?

Was this helpful?

  1. Frontend template

Responder

The responder is used to communicate seamlessly between front- and backend code. With the help of Stratox.js that comes out of the box, you can quickly build apps with dynamic views and forms!

This means that you can use PHP code to dynamically show views and build forms!

Beta

The frontend template engine is in Beta. Right now it comes pre-installed but in the future t will become a installable option.

How dose it work?

Well, it is super easy. You just trigger some PHP responder functions and the responder and in turn will dynamiclly trigger views and compomonents.

Installation

It is pre-installed. You should execute the command below to ensure you have the latest package and that every new JavaScript component is installed (navigate to the project's root directory). If you have not already done it.

npm install

How it work?

You only need to know a few Responder commands to be able create some advanced stuff.

E.G. The Responer documentation in not completed. More will come.

PreviousAuthorization & loginNextViews & components

Last updated 1 year ago

Was this helpful?