Other Subscribe to B4J library updates

Star-Dust

Expert
Licensed User
Longtime User
[B4X] [XUI] XUI_Switch (Class with source code)

upload_2018-11-7_14-4-3-png.74083
 

alwaysbusy

Expert
Licensed User
Longtime User
ABMaterial 4.30 Public is now released! https://www.b4x.com/android/forum/threads/abmaterial-framework-for-webapps.60072/.
See the attachment for the release notes.

Donators will receive an email for ABMaterial 4.50 in a couple of hours.

Some time has passed since the last update. Main reason is ABMaterial has been proven to be very stable and very few bugs were reported (Good news!).
On the other hand I have been very busy with some unexpected projects, but because of them, a lot of new features were added to this ABM release.
 

Attachments

  • README 4.30.txt
    18 KB · Views: 301

alwaysbusy

Expert
Licensed User
Longtime User
IMPORTANT bug fix for ABM 4.50:

[FIX] abmcombo: can't hide the items automatically
--------------------------------------------------
version:4.5
after click a item, the items still show

It looks like the fix for case #792 was causing this.

I've send a mail with a link for the library only, but the full download of ABM has been upgraded to 4.51 too with this fix.
 

stevel05

Expert
Licensed User
Longtime User
zt-zip Insert, replace and remove entries without repacking the zip file. Add and extract items from byte arrays.
 

alwaysbusy

Expert
Licensed User
Longtime User
BANano beta 1.00

BANano is a library created by Alain Bailleul that transpiles B4J source code to Progressive Web Apps (PWA).
It does not depend on jQuery but generates pure Vanilla Javascript.

It does not rely on any javascript/css framework, so you can use whatever one you prefer. You do have to write the wrapper for the framework you want to use yourself. In time I hope other users will provide their .bas file to quickly integrate it for others. ;)

The generated HTML, CSS and JavaScript files not not need to run from a VPN! In fact, you can just run the app by opening the html file in any browser. Because they are PWA's, they also work after the user goes off-line.

For communication with the outside world, Ajax calls and MQTT (BANanoMQTTClient and BANanoMQTTConnectOptions) are build-in.

For local storage you can use Cookies, LocalStorage and IndexedDB (using the build-in BANAnoSQL object).

The BANanoJSONParser and BANanoJSONGenerator can be used to read and write Json. They are the equivalent of the normal JSONParser and JSONGenerator from B4X.

Send simple mails from your webapp using BANano.SendEmail. Use https://www.smtpjs.com/ to encrypt your credentials
and generate the token.

More info and download: https://www.b4x.com/android/forum/t...peek-into-a-progressive-web-app-library.99740
 

alwaysbusy

Expert
Licensed User
Longtime User

alwaysbusy

Expert
Licensed User
Longtime User
BANano 1.11:

CHANGES:

1. New feature to make BANano libraries (see tutorial: https://www.b4x.com/android/forum/threads/banano-creating-libraries.100412)
2. Fix where comments of inline javascript were not ignored
3. Fix for BANanoObject GetField() and SetField() using a variable instead of a string
4. Warning if you use a reseved word. This can cause trouble when BANano is transpiling your code generating bad javascript.
5. Attempt to have some kind of B4J WaitFor system using promises. (see tutorial: https://www.b4x.com/android/forum/threads/banano-resumeable-sub-sort-of.100500/)
6. Other small bug fixes

Download: https://www.b4x.com/android/forum/threads/banano-progressive-web-app-library.99740
 
Last edited:

alwaysbusy

Expert
Licensed User
Longtime User

alwaysbusy

Expert
Licensed User
Longtime User
BANano v2.07

CHANGES:

1. NEW Abstract Design system using your own Custom Views: tutorial https://www.b4x.com/android/forum/threads/banano-b4j-abstract-designer-v2-part-1.101531/
2. The signature of BuildAsLibrary has changed: it doesn't need parameters anymore and generates the files in the Additional Libraries folder immidiately.
3. Support for the Const keyword
4. You can now use inline CSS with the #if CSS tag. This can be useful if you want to quickly have a small CSS class that you want to use.
Bacause this CSS is saved in the HTML file, it is strongly advised to create a sperate CSS file if this becomes to big.

Example
B4X:
...
#if CSS
.tablehover {
   background-color: #F0F0F0;
}
#End If

#Region Internal Events
public Sub RowMouseEnter(event As BANanoEvent)
   Dim row As BANanoElement
   row.Initialize("#" & event.ID)
   row.AddClass("tablehover")
End Sub

public Sub RowMouseLeave(event As BANanoEvent)
   Dim row As BANanoElement
   row.Initialize("#" & event.ID)
   row.RemoveClass("tablehover")
End Sub
#End Region

5. The layout properties support boolean, int and float. Colors are translated to a string but as rgba(255,2255,255,1.0).

6. I've completed the Skeleton CSS library. Just the basics, but can be extended by whoever feels like it.

7. Support for getters and setters (using the lowercased prefixes set/get)

8. Support for Smart Formatting. Just wrap your text into a BANano.SF()

Supported Smart formatting Tags:

{B}{/B}: Bold
{I}{/I}: Italic
{U}{/U}: Underline
{SUB}{/SUB}: Subscript
{SUP}{/SUP}: Superscript
{BR}: Line break
{WBR}: Word break opportunity
{NBSP}: Non breakable space
{AL}http://...{AT}text{/AL}: Link, opening a new tab
{AS}http://...{AT}text{/AS}: Link, not opening a new tab
{C:#RRGGBB}{/C}: Color
{ST:styles}{/ST}: Add specific styles e.g. {ST:font-size:0.9rem;color:#2B485C}My text in font-size 0.9rem{/ST}
{IC:#RRGGBB}{/IC}: Icons (if the correct .css or font is loaded) e.g. {IC:#FFFFFF}fa fa-refresh{/IC}

Example:
B4X:
mElement.SetHTML(BANano.SF("I'm {C:#FF0000}{U}row " & (i+1) & "{/U}{/C} of a multi layout!"))

9. Bug Fixes in the transpiler

Download https://www.b4x.com/android/forum/threads/banano-progressive-web-app-library.99740/#post-627764

Alwaysbusy
 
Top