Wish B4Web

Petrovic

Member
Licensed User
Longtime User
I wish there was a B4Web that could make HTML5 web apps. So we design web pages in WYSIWYG designer, code in basic and then compiles to HTML5/JavaScript/CSS that can be hosted on any server. Must have is database connectivity to MySQL :).
That would be a dream come true for many of us I believe :)
Any chance you make this? :)
 

Mashiane

Expert
Licensed User
Longtime User
I wish there was a B4Web that could make HTML5 web apps. So we design web pages in WYSIWYG designer, code in basic and then compiles to HTML5/JavaScript/CSS that can be hosted on any server. Must have is database connectivity to MySQL :).
That would be a dream come true for many of us I believe :)
Any chance you make this? :)
Have you seen NSBasic? Before I stumbled into B4A, I started using it for a while. I'm sure with PHP one would connect to MySQL databases.

Here is the site?

https://www.nsbasic.com/
 

Petrovic

Member
Licensed User
Longtime User
I'm still waiting for my wish to be true :). Just kidding but is there any plans to do something like this as it really would be the best tool out there for web app developing.
I checked out nsbasic per Mashianes proposal but it is very bad and nowhere near b4x products.
If anyone else have any idea if there is any tool for making web apps with Basic please let me know. (not VB.NET and ASP please).

Thanks!
 

Petrovic

Member
Licensed User
Longtime User
Thanks! I'll take a look.
So you use B4J for web pages? I have used it couple of times but it is a bit complicated to deploy as it deploys a small server app to run on top of actual server.
That is fine for personal use but when I need to make a web app for a client and just deploy it on their own web server that is in most cases shared linux web server it can't be done unfortunately. Do you have any tips regarding this?
 

lemonisdead

Well-Known Member
Licensed User
Longtime User
I do exactly as you describe and I charge for the VPS used for the app (I am not a web designer). For me it was the simplest as I could buy design to a designer and just add the link to b4j_ws.js to any template.
 

Petrovic

Member
Licensed User
Longtime User
Do you use Windows or Linux VPS? I could try charging that or maybe have my own VPS and deploy apps on it. Have you tried hosting multiple B4J server apps on one VPS? Do you think it is possible?
As I'm neither a web designer I usually use WordPress with some fancy template for client sites. Do you think it is possible to add b4j_ws.js to WordPress sites? Could you please send me a link of a site where you did such implementation so I can get an idea how to do it?
 

lemonisdead

Well-Known Member
Licensed User
Longtime User
I do use Linux because it is cheaper and I am used to. You can, of course host as many app you want on your VPS till you have ports free (virtual by domain works too).
You can link B4J to any of your Wordpress page till your template includes jQuery. Here is a link to Erel's tutoral : https://www.b4x.com/android/forum/threads/webapp-hello-world-web-app.39808/#content
Just start by adding the necessary JavaScript file (b4j_ws.js) into your template and till your control has an ID, you will be able to connect to it. After that, it is on your part to push the content from B4J.
For the examples, it would be difficult to provide any. But, Erel's tutorial tells by itself. Good luck :)

Edit: using CORS, it is possible to host the javascript file on another subdomain, I think remembering ~unsure to be verified ~
 

Petrovic

Member
Licensed User
Longtime User
Thank you very much for your guidelines, they are very helpful and hopefully I will succeed in realize what I have in mind :)
 

colboy

Member
Licensed User
Longtime User
I'm still waiting for my wish to be true :). Just kidding but is there any plans to do something like this as it really would be the best tool out there for web app developing.
I checked out nsbasic per Mashianes proposal but it is very bad and nowhere near b4x products.
If anyone else have any idea if there is any tool for making web apps with Basic please let me know. (not VB.NET and ASP please).

Thanks!
Have you seen SpiderBasic - https://www.spiderbasic.com/ It's from the author of PureBasic - https://www.purebasic.com/

Here's some blurb.

"SpiderBasic is new web client-side programming language based on established BASIC rules. Its allows development of very complex, windowed based web applications, including mobile app for iOS and Android. It provides a large commandset to handle complex and reactive GUI, 2D games, and many more in a coherent manner. Every library and commands behave the same and have similar syntax for easier and faster learning. The full documentation can be found here."

I haven't used it much, but have used PureBasic for years and it's an incredible programming language.

Colin
 

alwaysbusy

Expert
Licensed User
Longtime User
I don’t know if you are aware of my ABMaterial library for B4J to create webapps?

https://www.b4x.com/android/forum/threads/abmaterial-framework-for-webapps.60072/

It does need a VPS because it is using Erels jServer lib. (embedded jetty)

As for deployment to clients I sometimes give them a raspberry pi with the server preinstalled. It is kind of plug & play for them. Depends on the app of course. Many users does require better servers but that should be obvious.
 
Last edited:

MarkusR

Well-Known Member
Licensed User
Longtime User
btw spider/pure basic are not OOP and the last news are one year old :(
 

Petrovic

Member
Licensed User
Longtime User
btw spider/pure basic are not OOP and the last news are one year old :(

I noticed that too. Same for NSBasic. They stood no chance to success against the best of the best - b4x :)
 

Cableguy

Expert
Licensed User
Longtime User
As for deployment to clients I sometimes give them a raspberry pi with the server preinstalled. It is kind of plug & play for them.

This sounds very interesting…. Can I be so Bold as to ask for a "Create your own "In-House ABMaterial Server" Tutorial series?
This is Something I was considering doing myself for my company office (only 2 posts, so having a expensive, large server is not an option)...
 
Last edited:
Top