B4J Library [Web][ABMaterial] Framework for WebApps

TIP: For absolute beginners with ABM, Get started with the Mini Template
TIP: Get started with 'ABMaterial For Dummies' by Harris here! (lessons)
TIP:
My mini course on Youtube by MichalK73

ABMaterial is a framework combining a tuned Materialize CSS with the free programming tool B4J. It allows creating WebApps that not only look great thanks to Googles Material Design, but can be programmed with the powerful free tool from Anywhere Software without any knowledge of HTML, CSS or Javascript.

ABMDragonfly4.00.png


ABMaterial has over 45 themeable controls and some useful helpers.

Components:

  • ABMActionButton
  • ABMAudioPlayer (1.08)
  • ABMBadge
  • ABMButton
  • ABMCanvas
  • ABMCalendar
  • ABMCard
  • ABMChart (Plugin support 2.00)
  • ABMChat (2.50)
  • ABMCheckbox
  • ABMChronologyList (2.00)
  • ABMCombo
  • ABMCustomControl (1.05)
  • ABMChip
  • ABMCodeLabel
  • ABMDivider
  • ABMDateTimeScroller (1.06)
  • ABMDateTimePicker (1.06)
  • ABMEditor (1.07)
  • ABMFileInput (1.20+)
  • ABMGoogleMap
  • ABMLabel
  • ABMList
  • ABMImage
  • ABMImageSlider
  • ABMInputField
  • ABMRadioGroup
  • ABMPagination (1.04)
  • ABMPatternLock (1.20+)
  • ABMPDFViewer (1.08)
  • ABMPercentSlider (2.50)
  • ABMPlanner (2.50)
  • ABMPivotTable (1.08)
  • ABMRange (1.05)
  • ABMSignaturePad
  • ABMTimeLine (1.10, depreciated in 4.00)
  • ABMSlider (1.05)
  • ABMSmartWizard (3.00)
  • ABMSocialShare (1.07)
  • ABMSocialOAuth
  • ABMSVGSurface (1.20+)
  • ABMSwitch
  • ABMTabs
  • ABMTreeTable (1.04)
  • ABMUpload
  • ABMVideo

Helpers:
  • ABMContainer
  • ABMFlexWall (1.10)
  • ABMGenerator (1.07)
  • ABMModalSheet
  • ABMNavigationBar
  • ABMPage
  • ABMParallax
  • ABMSideBar (2.00)
  • ABMTable
  • ABMTableMutable (1.20+)
Other:
  • Firebase Auth (1.20+)
  • Firebase Storage (1.20+)
  • Configurable App and Content folders (2.00)
  • Lorem Ipsum Generator (2.00)
  • Grid Builder (2.00+)
The Grid Builder:
With the Grid Builder you can build the responsive framework very easy. This has been the most difficult part for beginners to understand. But now with the builder, you have no reason to not use ABMaterial :)

gridbuilder1.png


There is an online demo at http://abmaterial.com
Alternative url: http://prd.one-two.com:51042/demo/

NEW: You can now support BANano and ABMaterial here too: https://www.patreon.com/alwaysbusy


This means it is free to use, but consider this: it took me already thousands of hours to program ABMaterial, all done in my free time early in the morning and deep into the night. Not only will a donation push me to continue developing ABMaterial , remember, you'll get a warm and fuzzy feeling doing it!

Download version 5.12 - for jServer 4.00 (open source, library only):

ALWAYS TAKE A BACKUP BEFORE USING A NEW VERSION!


ABMaterial 5.12 is now available on github and is open sourced :cool: (AS IS)! This version has been in heavy use (development and production) within our company for over a year now without major alterations, so I consider it very stable and ready to be open sourced.

I trust no one here will publish a clone or take credit for my work and I would consider it common courtesy if you find a bug/fix/new feature, you report back to me so I can make the same changes in the official library and everyone can benefit from it.


Note: next to downloading the library, you need also to download the accompanying www zip files from the same github (releases) containing the latest javascript/css/font files.

The procedure from Github for 5.12:

1. Download https://github.com/RealAlwaysbusy/A...eleases/download/v5.12/ABMaterial5.12-bin.zip
2. Download https://github.com/RealAlwaysbusy/A...r4.00/releases/download/v5.12-www/www5.12.zip
3. Unzip ABMaterial5.12-bin.zip and copy all .xml and .jar files to you B4J Libraries folder
4. Unzip www5.12.zip
5. In the projects you are working on (e.g. a for Dummies project) delete the following folders in \www
  • css
  • font
  • js
6. Copy from the unzipped www5.12.zip the 3 folder (css/font/js) to the \www folder where you just deleted these 3 folders.

Additional Resources:

Demo source code (for v4.51, not yet updated for 5.12, but still usefull to learn ABM): https://gorgeousapps.com/ABMExtras4.51.zip

I hope you enjoy it as much as I did creating it and I look forward to see the killer apps you will make with ABMaterial!

Also consider BANano if you are planning to write Websites/Apps in B4J!

Alain Bailleul
Alwaysbusy's Corner
 
Last edited:

Harris

Expert
Licensed User
Longtime User
Got to LOVE the new ABMDateTimePicker! It actually works with Long values!
One question: What is the dtsType as String in the init used for?
Thanks
 

Harris

Expert
Licensed User
Longtime User
B4X:
 '   in build input sheet
    Dim inpplateno As ABMDateTimePicker
    inpplateno.Initialize(page, "inpplateno",ABM.DATETIMEPICKER_TYPE_DATETIME ,  0,"Select a Date","") 



'in edit sheet
            Dim inpplateno As ABMDateTimePicker = inp.Content.Component("inpplateno")
            Dim dt As Long
            Dim dtt As String
            dtt = user.Get("plate_no") ' get the value in plate_no field - it is a string so covert it to long
            If dtt = "" Then   ' if empty string.....
                dt = DateTime.Now
            Else
                dt = dtt
            End If       
            Log(" datetime: "&dt&"   - "& dtt)
            inpplateno.SetDate(dt) ' set the date shown on input form (and the datepicker) to what came from the table...
            inpplateno.Refresh
            Log(" get date: "&inpplateno.GetDate)

The setdate( dt ) shows the last set value. Can't seem to make input sheet show value from table?

Writing to the table with GetDate works correctly however...
No big hurry...
Thanks
 

Harris

Expert
Licensed User
Longtime User
@Harris yes, by own fault of testing date objects the first of the month :)

Use the attached .js file to correct this problem. (press F5 to make sure the new .js file is used)
Don't quite understand what you are implying but I shall apply js and test - then report back.

Seems like you and Erel never sleep? - you guys are too busy coding and responding to our incessant (non-critical) issues!

How can we ever thank you(s) enough? ( a suggestion - you don't CHARGE enough )!
B4J and ABMaterial should not be free. Nether are open source and not community supported (code base wise).
Please tell us why you don't ask a (meager) fee for use of a platform and framework that saves us SO much time and money?

In the old days, MS and others would lead you down this garden path of free offerings - only to charge the #@#$ out of you once addicted.
You have your reasons; help us understand your (unique) generosity.

Thanks
 

little3399

Active Member
Licensed User
Longtime User
@alwaysbusy, I from your blogger know , you alse a xojo expert , and I have a question about the WEB APP in XOJO web AND B4J web ?
my question is : Are you compare their performance between XOJO WEB and B4J WEB APP? .... Tks!

ps:maybe xojo web app can easy to develop than B4J WEB develop ? but performacne unkown ...
 

little3399

Active Member
Licensed User
Longtime User
@alwaysbusy, when I try to running the ABMFeedback app , it show this ... ? (it compile normal)


upload_2016-2-4_9-26-52.png
 

Attachments

  • upload_2016-2-4_9-27-58.png
    upload_2016-2-4_9-27-58.png
    228.7 KB · Views: 197

Harris

Expert
Licensed User
Longtime User
ps:maybe xojo web app can easy to develop than B4J WEB develop ? but performacne unkown ...
IMHO, NOTHING beats B4X for simplicity, support, community, libs, frameworks (ABMaterial a prime example), Android, iOS and java development, price, stability, Erel, Erel, Erel, etc...

Someone else like to add to this?
 
Last edited:

dar2o3

Active Member
Licensed User
Longtime User
Hello, AbMaterial I think websockets used for all, how many concurrent users you think you could take? there been any proof?

Sorry, Goolge translator...
 
Last edited:

alwaysbusy

Expert
Licensed User
Longtime User
@dar2o3 ABMaterial is just a GUI layer and depends on Jetty, the database behind your app and how efficient you make your code. At some point (10k simultaneous users), you probably will have to do some load balancing anyway. ABMaterial itself is very optimized in the sence it only loads javascripts, css etc where needed and uses B4J SimpleFutures to make traffic to/from the server as minimal as possible.

Some good reads:

https://webtide.com/why-choose-jetty/

https://www.b4x.com/android/forum/threads/server-performance-measures.37502/#content
 
Top