Hi there
I've just become comfortable using the ExecuteCallBack method for BANanoSQL and thanks for this feature.
I had earlier asked about using Php & MySQL and was pointed to Ajax and an example also provided. Thanks. I'm just about to explore these now fully as I need to persist data...
Hi there
Please see line 149: It seems if you don't specify a data type for the loop item, it does not transpile. Having strfield As String however works perfectly.
// [146] Sub DropColumns(tblName As String, fields As List) As List
this.dropcolumns= function(_tblname,_fields) {
if...
Ola
Download
UOEProcess.Show is a BANano based webapp that enabled anyone to create mermaid based flowcharts easily and also enable these to be exported to a PNG.
Take the tour to get your hands into the groove and test-drive the app to create your first flowchart. I'm sure you will enjoy...
Hello,
in this posting I want to show how easy it is to create desktop applications (Windows, Linux, MacOS) with BANano and NW.js.
Getting Started:
Download NW.js (https://nwjs.io/) and unpack it at a location of your choice.
Download the attached library zip and extract it to the internal...
Hi there
I'm trying to upload a file to the assets folder. As a non-expert (javascript + BANano) person what I'm trying is not working yet. I've tried to adopt an example that I was previously provided as a solution to these file management things by Kiffi.
I have attached here my example code...
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 UX.
As you might be aware by now, BANano is the engine that knits your front event functionality...
Hi there
I'm trying to get a file's DataURL using a promise.
#if javascript
function getdataurl(fileid){
var fi = document.getElementById(fileid);
var file = fi.files[0];
var geturl = new Promise(
function(resolve, reject){
var fr =...
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 added to a map that keeps record of events, events can be click, change etc.
3. Events are bound to the...
Hi there
I'm creating an event adder for my code with a list dependency..
Dim nl As List
nl.Initialize
nl.AddAll(Array As String("anele", "is", "enjoying", "banano"))
For Each strname As String In nl
Dim strA As String = "Test-" & strname
Log(strA)...
Ola
Part 2
UPDATE: BANanoSQLite now available for actual sqlite db CRUD using PHP
I've been wondering if I could be able to do this as I want to distribute my app with an already existing SQLite.DB database for READONLY access. No, this is not WebSQL but a pure SQLite database.
At first I...
Hi there
I'd like to add some meta tags to the page, unfortunately the description for intellisense says invalid.
Does it have to be the complete string like this?
<meta name="apple-mobile-web-app-capable" content="yes">
Thanks in advance?
Hi
Just updated to 2.15, nothing seems to work on my code, same code works with 2.09. When i debug there is an expectation of ). I don't even know the cause now as the code compiles without any errors. At first 2.15 didnt work with these strings so I simplied the code and it compiles well, but...
Hi there
I'm not sure if this is possible or not even with other web stuff however I have something in mind.
I have json file that I need my app to read. Actually Im thinking of converting an sqlite db to json that my app will use in read only mode. I guess I can use sql.js without the need...
Hi there
The above question is being reported by Firefox developer. Phew, been wondering the cause as the counter was showing 15 on another project. This is being raised on the .Empty call, the Flights is being displayed on the page.
Sub Init
'create a div
Dim el As BANanoElement...
Hi there
NB: This is an OpenSource project, anyone can contribute to it and enhance it. I happen to have some time challenges on my side and due to the sheer size of this thing, I might not fully be doing it.
My BANano Related Projects
CRUD with LocalStorage BackEnd
Methodology Used
1...
Hi there
Sorry on wrong forum - this is a question
How do I check if an element exists?
Sub ElementExists(elID as string) As Boolean
dim el As BANanoElement = BANano.GetElement(elID)
if el <> Null then
Return False
else
Return True
End Sub
return ElementExists("#me")
End if
Hi there
I'd like to call a b4j function inside a javascript function, here is an example..
#if JavascriptSmart
$(document).on('pagebeforeshow', '#headline', function(){
${BANano.CallSub(Me, "LoadSelectedMovie", Null)}
});
#End If
Sub LoadSelectedMovie
'clear the listview content...
Download Source Code
Download BANanoJQM
Actually, this is rather a weird one...
Decided to experiment with JQuery Mobile framework to explore a movie database rest api.
This was a quick implementation for the UX though just for what I needed. I guess because I initially started with JQ...
Hi there
Just a quick question, perhaps I'm missing something...
When creating a library and you added the library resources, eg, css and js files in the Files tab, on compilation, do you have to copy these resources to your b4j libraries too? There is an error of file not found..
Error...
Hi there
Update: April 8, 2019 Solution
[BANAno] MySQL CRUD with PHP - Part 1
[BANano] MySQL CRUD with PHP - Part 2
I have an issue that I need to address. I have a backend that I need to speak to from my BANano App, this could either be MySQL or either MSSQL (no decision as yet). I guess...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.