B4J Tutorials

[BANano] Working with promises

BANano 2.19+ has a new object: BANanoPromise. It allows you to easily use Javascript Promises.

A promise can be useful e.g. if you want to upload/download files, which can take some time to do...
 
Last edited:

B4J HowTo's

Dear All,

While learning and exploring B4J, captured B4J HowTos. The B4J HowTos are either from own experience or inspired by hints from the B4J forum (Thanks to All!).

Please note, due to...
 
Last edited:

Creating a hotel reservation app with BANanoJQM

Hi there

First and foremost, thank you for making a decision to view and even read this thread. Whilst not being an expert in BANano and still learning the ropes, the article is mainly about the...
 
Last edited:

[BANano] Exploring BANanoEvents

Hi there

This is just my method (without abstract designer views) of adding and binding events to elements.

1. Elements are added to the page
2. After the page content is updated, events are...
 

Attachments

  • BANanoEvents1.zip
    2 KB · Views: 400
Last edited:

[BANano]: Distributing and accessing an existing SQLite Databases - Part 1

Last edited:

TreeTableView

TreeTableView is a new control added in B4J v5.80.

SS-2017-07-13_15.52.52.png


TreeTableView is very similar to TreeView where each item has...
 

Attachments

  • TreeTableViewExample.zip
    2.6 KB · Views: 1,501
  • TreeTableView2ndExample.zip
    4.1 KB · Views: 1,612

[BANano] Working with BANanoSQL

BANanoSQL makes it possible to use 'normal' SQL queries on the IndexedDB database located in the browser.

There are three ways on how to work with BANanoSQL:

1. Event Driven
This is...
 
Last edited:

[BANano]: BANanoSQL CRUD-ing around with BANanoSQLUtils

Last edited:

[BANano] v2: (2) B4J Abstract Designer

Last edited:

[BANano] v2: (1) B4J Abstract Designer

Last edited:

[BANano] inline php -> server code

Peter had a great idea for a new feature in BANano:
Kiffi said:
Hello Alain,

So you don't get bored ;), I have an idea for another BANano killer feature: ServerCode :)

Imagine, it would be...
 
Last edited:

[BANano] The Designer

NOTE: This system is depreciated in V2 and replaced by a much better and complete solution. See here...
 
Last edited:

B4J-Bridge dockerimage

[BANano] Resumeable Sub (sort of)

Javascript acts differently compared to java when doing some async stuff and is rather complex. However, I've tried to make it as comfortable as possible for you, the programmer. All you have to...
 
Last edited:

[BANano] Creating libraries

Last edited:

[BANano] BANanoObject talks with Javascript

I took my inspiration from Erels JavaObject to make a similar one for BANano. This is the 'Object' that rules them all... (in version 1.08+)

What is the difference between a...
 
Last edited:

[BANano] Ajax calls

EDIT 1.04: Method syntaxes have changed!

With BANano, it is easy to make a Ajax call (e.g. to call a B4J REST API method).

There are two ways to do so:

1. Using events (the prefered way...
 
Last edited:

Raspberry Pi with Java 11

Running UI apps on Raspberry Pi with Java 11 is relatively simple.

1. Download Liberica JDK.
Download the lite version...
 
Last edited:

B4J and Raspberry Pi boards

Last edited:

[BANano] Events

BANano has a simple system to use events:

HandleEvents: does the same as On, BUT prevents the default behaviour
On
: handles one or more events
Off: disables an event

To explain...
 
Top