Well Hi there... I am trying to get work for first time with BANano (that framework get more my caution because of abstract designer ---> design webapps!)
so now i am here... and hope get well working
1) First downloaded this -and copy all libs to my Libraries of B4J... decompress and add at settings the folder of additional libraries as needed by the project !
Well for server i downloaded that... and run it... after that at the create objects folder ---> created a server.ini and add all these:
but browsing the page at 127.0.0.1:55056 ---> give me a blank page :-(
at the logs getting all these:
Hope that this help me create fast and rapid web apps
so now i am here... and hope get well working
1) First downloaded this -
Well for server i downloaded that... and run it... after that at the create objects folder ---> created a server.ini and add all these:
Host=localhost
Port=55056
PortSSL=0
CacheScavengePeriodSeconds=900
SessionMaxInactiveIntervalSeconds=900
but browsing the page at 127.0.0.1:55056 ---> give me a blank page :-(
at the logs getting all these:
Port: 55056
Reading B4J INI in C:\Users\user\AppData\Roaming\Anywhere Software\B4J to find Additional Libraries folder...
Found Additional Libraries folder: C:\Program Files (x86)\Anywhere Software\BANanoLibraries
Starting to transpile...
Loading layout template...
Loading layout uploadform...
Processing b4xlib: bananoskeleton
Adding Layout uploadform used by browserabout
[WARNING]: The method RunFunctionWithResult will not work in old browsers!
[WARNING]: The method RunFunctionWithResult will not work in old browsers!
[ERROR 22]: [BROWSERAbout,skbutton1_click, around line: 0] sktextbox(GLOBALMYCLASSVAR) is not supported in BANano!
-->
--> Current index: 1
--> Var : B4JName: sktextbox1, EventName: sktextbox1, JSName: _sktextbox1 ,ISPRIVATE: true,B4JTYPE: sktextbox, IsArray: false, InitValue: /* sktextbox NOT SUPPORTED */
[ERROR 22]: [BROWSERAbout,skbutton1_click, around line: 0] sktextbox(GLOBALMYCLASSVAR) is not supported in BANano!
-->
--> Current index: 1
--> Var : B4JName: sktextbox1, EventName: sktextbox1, JSName: _sktextbox1 ,ISPRIVATE: true,B4JTYPE: sktextbox, IsArray: false, InitValue: /* sktextbox NOT SUPPORTED */
[ERROR 06]: [BROWSERAbout,skbutton1_click, around line: 0] BANano does not support file.
-->
--> Current next: file --> Current index: 3
--> Current Translation: .
--> Method : ---- METHOD: skbutton1_click (MODULE: BROWSERAbout, ISPRIVATE: false) ----
B4J DECLARE:
LINE NUMBER: 88
ORIGINAL LINE: Sub SKButton1_Click (event As BANanoEvent)
CLEANED LINE: sub skbutton1_click (event as bananoevent)
WORDS: sub|skbutton1_click|(|event|as|bananoevent|)|
INTERNAL VARS:
B4JName: event, EventName: , JSName: __12 ,ISPRIVATE: true,B4JTYPE: bananoevent, IsArray: false, InitValue: null
B4JName: response, EventName: , JSName: __16 ,ISPRIVATE: true,B4JTYPE: bananoobject, IsArray: false, InitValue: null
B4JName: thefile, EventName: , JSName: __17 ,ISPRIVATE: true,B4JTYPE: bananoobject, IsArray: false, InitValue:
RETURNS: B4JTYPE: string, IsArray: false, InitValue: ""
------------------------------
--> Method : ---- METHOD: skbutton1_click (MODULE: BROWSERAbout, ISPRIVATE: false) ----
B4J DECLARE:
LINE NUMBER: 88
ORIGINAL LINE: Sub SKButton1_Click (event As BANanoEvent)
CLEANED LINE: sub skbutton1_click (event as bananoevent)
WORDS: sub|skbutton1_click|(|event|as|bananoevent|)|
INTERNAL VARS:
B4JName: event, EventName: , JSName: __12 ,ISPRIVATE: true,B4JTYPE: bananoevent, IsArray: false, InitValue: null
B4JName: response, EventName: , JSName: __16 ,ISPRIVATE: true,B4JTYPE: bananoobject, IsArray: false, InitValue: null
B4JName: thefile, EventName: , JSName: __17 ,ISPRIVATE: true,B4JTYPE: bananoobject, IsArray: false, InitValue: .
RETURNS: B4JTYPE: string, IsArray: false, InitValue: ""
------------------------------
--> Method : ---- METHOD: skbutton1_click (MODULE: BROWSERAbout, ISPRIVATE: false) ----
B4J DECLARE:
LINE NUMBER: 88
ORIGINAL LINE: Sub SKButton1_Click (event As BANanoEvent)
CLEANED LINE: sub skbutton1_click (event as bananoevent)
WORDS: sub|skbutton1_click|(|event|as|bananoevent|)|
INTERNAL VARS:
B4JName: event, EventName: , JSName: __12 ,ISPRIVATE: true,B4JTYPE: bananoevent, IsArray: false, InitValue: null
B4JName: response, EventName: , JSName: __16 ,ISPRIVATE: true,B4JTYPE: bananoobject, IsArray: false, InitValue: null
B4JName: thefile, EventName: , JSName: __17 ,ISPRIVATE: true,B4JTYPE: bananoobject, IsArray: false, InitValue: _B.%sktextbox1%
RETURNS: B4JTYPE: string, IsArray: false, InitValue: ""
------------------------------
[ERROR 22]: [BROWSERAbout,skbutton1_click, around line: 104] sklabel(GLOBALMYCLASSVAR) is not supported in BANano!
--> SKLabel1.Text = {28} & Response.GetField( {29} ).Result
--> Current index: 1
--> Var : B4JName: sklabel1, EventName: sklabel1, JSName: _sklabel1 ,ISPRIVATE: true,B4JTYPE: sklabel, IsArray: false, InitValue: /* sklabel NOT SUPPORTED */
--> Method : ---- METHOD: skbutton1_click (MODULE: BROWSERAbout, ISPRIVATE: false) ----
B4J DECLARE:
LINE NUMBER: 88
ORIGINAL LINE: Sub SKButton1_Click (event As BANanoEvent)
CLEANED LINE: sub skbutton1_click (event as bananoevent)
WORDS: sub|skbutton1_click|(|event|as|bananoevent|)|
INTERNAL VARS:
B4JName: event, EventName: , JSName: __12 ,ISPRIVATE: true,B4JTYPE: bananoevent, IsArray: false, InitValue: null
B4JName: response, EventName: , JSName: __16 ,ISPRIVATE: true,B4JTYPE: bananoobject, IsArray: false, InitValue: null
B4JName: thefile, EventName: , JSName: __17 ,ISPRIVATE: true,B4JTYPE: bananoobject, IsArray: false, InitValue:
B4JName: prom, EventName: , JSName: __9 ,ISPRIVATE: true,B4JTYPE: bananopromise, IsArray: false, InitValue: BANUpload('/upload',__17)
RETURNS: B4JTYPE: string, IsArray: false, InitValue: ""
------------------------------
Building d:\user\DOWNLO~1\B4JSER~1\Demo\Objects\www\scripts\browserabout.js
Copying CSS files to WebApp assets...
Copying Javascript files to WebApp assets...
EnableLiveCodeSwapping ignored. Only applicable for Build in Debug mode.
Done!
2021-05-17 13:30:45.770:INFO::main: Logging initialized @619ms to org.eclipse.jetty.util.log.StdErrLog
2021-05-17 13:30:45.935:INFOejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 11.0.1+13
2021-05-17 13:30:45.961:INFOejs.session:main: DefaultSessionIdManager workerName=node0
2021-05-17 13:30:45.961:INFOejs.session:main: No SessionScavenger set, using defaults
2021-05-17 13:30:45.962:INFOejs.session:main: node0 Scavenging every 600000ms
2021-05-17 13:30:45.988:INFOejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@2a266d09{/,file:///D:/user/downloads/B4JServerDemo/Demo/Objects/www/,AVAILABLE}
2021-05-17 13:30:45.991:INFOejs.AbstractNCSARequestLog:main: Opened D:\user\downloads\B4JServerDemo\Demo\Objects\logs\b4j-2021_05_17.request.log
2021-05-17 13:30:46.473:INFOejs.AbstractConnector:main: Started ServerConnector@35ff0fc0{HTTP/1.1,[http/1.1]}{0.0.0.0:55056}
2021-05-17 13:30:46.474:INFOejs.Server:main: Started @1324ms
2021-05-17 13:30:46.486:INFOejs.AbstractConnector:main: Stopped ServerConnector@35ff0fc0{HTTP/1.1,[http/1.1]}{0.0.0.0:55056}
2021-05-17 13:30:46.486:INFOejs.session:main: node0 Stopped scavenging
2021-05-17 13:30:46.488:INFOejsh.ContextHandler:main: Stopped o.e.j.s.ServletContextHandler@2a266d09{/,file:///D:/user/downloads/B4JServerDemo/Demo/Objects/www/,UNAVAILABLE}
2021-05-17 13:30:46.492:INFOejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 11.0.1+13
2021-05-17 13:30:46.508:INFOejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@2a266d09{/,file:///D:/user/downloads/B4JServerDemo/Demo/Objects/www/,AVAILABLE}
2021-05-17 13:30:46.508:INFOejs.AbstractNCSARequestLog:main: Opened D:\user\downloads\B4JServerDemo\Demo\Objects\logs\b4j-2021_05_17.request.log
2021-05-17 13:30:46.509:INFOejs.session:main: DefaultSessionIdManager workerName=node0
2021-05-17 13:30:46.509:INFOejs.session:main: No SessionScavenger set, using defaults
2021-05-17 13:30:46.510:INFOejs.session:main: node0 Scavenging every 600000ms
2021-05-17 13:30:46.513:INFOejs.AbstractConnector:main: Started ServerConnector@35ff0fc0{HTTP/1.1,[http/1.1]}{0.0.0.0:55056}
2021-05-17 13:30:46.513:INFOejs.Server:main: Started @1364ms
2021-05-17 13:30:46.514:INFOejs.session:main: node0 Scavenging every 33000ms
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Hope that this help me create fast and rapid web apps