Lesson 3: Custom App Development - backend basics
Developer Certification Level 1
Introduction
In this lesson, you will learn the backend basics for building a custom Hubleto app from scratch. You will explore how Hubleto separates database logic into Models and RecordManagers, how to create your own tables, and how to define relations.
You will learn how to:
- Create a custom CarRental app using the
php hubleto create appcommand.- Understand the difference between Models (data structure & UI) and RecordManagers (Eloquent database execution).
- Define data columns in the
describeColumns()method.- Link models together using a 1:N (One-to-Many) relationship in both the
$relationsarray and EloquentHasManymethods.- Generate the frontend React UI instantly using the
create mvccommand.
Study material
| Resource | Description |
|---|---|
| Models | Learn about the core building blocks of Hubleto data structures. |
| Record manager | Understand how Hubleto interacts with the database using Laravel Eloquent. |
| Relations | Learn how to link multiple models together (e.g., 1:N relations). |
php hubleto CLI agent |
Introduction to the CLI agent and its commands for generating boilerplate code. |
Sample CarRental app |
Source code of a sample CarRental app. |
Videos
Do you have any question?
Do you have any question or comment? Leave us a message in the community portal.
If you are new here, learn more about developer certification programme.
