Загрузка...

Objectos Way In A Single File #003: template variables, conditional rendering and loops.

Are you developing full-stack applications in Java? If you are looking for a simpler way, this video is for you.

In this video, I'll show you the features of the Objectos Way template system: declaring and using variables, how to do conditional rendering and loops.

Spoiler alert: it's all regular Java code! We use instance variables, the ternary operator and a regular 'for' statement.

Objectos Way In A Single File #003
Chapters
00:00 Introduction
00:16 How to do it in Objectos Way?
00:26 Creating a page for our example
00:58 Coding: template variables
02:29 Testing: template variables
03:58 Coding: conditional rendering
05:50 Testing: conditional rendering
06:52 Coding: loops / iteration
08:42 Testing: loops / iteration
10:40 In the next episode
11:07 Thanks

GitHub repository:
https://github.com/objectos/demo.sf/tree/v003

Instructions to run:

wget -q https://repo.maven.apache.org/maven2/br/com/objectos/objectos.way/0.2.3/objectos.way-0.2.3.jar
wget -q https://raw.githubusercontent.com/objectos/demo.sf/refs/tags/v003/main/Start.java
java -p objectos.way-0.2.3.jar --add-modules objectos.way --enable-preview Start.java

Видео Objectos Way In A Single File #003: template variables, conditional rendering and loops. канала Marcio Endo
Яндекс.Метрика

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять