/
Step 5: Code classes

Step 5: Code classes

Innomatic 7 architectural change

Innomatic 7.x will deprecate class bundled with the "class" component in favor of Composer distributed classes.

Classes in Innomatic are standard PHP classes.

Innomatic adheres to and supports PSR-0 autoloading, so you don’t have to use require() and include().

Each class must have its own PHP file inside innomatic/core/classes folder.

You declare classes with the “class” component in application.xml.

e.g. for \Examples\Basic\BasicClass class:

<class name="examples/basic/BasicClass.php" />

Next: Step 6: Database

Related content

Step 4: The Innomatic Container
Step 4: The Innomatic Container
More like this
Innomatic Platform 7 Architecture
Innomatic Platform 7 Architecture
More like this
Beginner Tutorial
Beginner Tutorial
More like this
Step 1: Structure of an Innomatic application
Step 1: Structure of an Innomatic application
More like this
Step 2: The application.xml file
Step 2: The application.xml file
More like this
Step 6: Database
Step 6: Database
More like this