Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: basic.mindteq.com: "Users top rated" page

  1. #11
    Junior Member
    Join Date
    Mar 2012
    Posts
    26
    Rep Power
    15

    Could ThinBasic be used to write Web Applets?

    Quote Originally Posted by ErosOlmi View Post
    http://basic.mindteq.com/ has added a "Users top rated" page at:
    http://basic.mindteq.com/index.php/c...top-rated.html

    thinBasic is currently listed in 3rd position.

    Thanks to all.
    Eros


    PS: Jobaco project seems a really good project! Mimic almost 100% VB6 but "bytecode" in Java.
    Hi.

    My Question = "Could ThinBasic be used to write Web Applets?"

    This may be a dumb question but I am only an amateur programmer, not a programming language developer, so please forgive huge gaps in my knowledge.

    I love programming in Basic (ThinBasic, VB6, BBC, etc) for the usual reasons (it is close to my natural language)
    I dont like C-style languages, for the usual reasons (too cryptic for my brain to read easilly).
    I would like to write simple applets for users to interact with over the web (e.g. simple buttons, data entry fields, vector graphics)
    Standard way to write web applets seems to be Java. Java is too much like C for me. I dont like Java.

    OPTION 1
    So maybe I could find a Basic which will let me produce web applets?

    I guess that ThinBasic will not (in short-term) offer an option to compile into java bytecode.

    Jabaco seems interesting as it produces java bytecode.
    This can be run in web environment in html pages (on Windows, Mac OS, Linux, Android etc).
    But development of Jabaco seems to have stalled so it may be too risky.

    I dont see any other Basics which will compile into Java Bytecode.


    OPTION 2
    I wonder whether it would be feasible to write a converter to convert simple pieces of ThinBasic source code into Java source code.
    And then I could compile the Java source code into Java bytecode (using the free Java SDK compiler in the standard way).

    I would be interested to hear anyone's opinions on this.

  2. #12
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10
    No I'm sorry, thinBasic is a Windows desktop programming language only.

    I too followed for a bit Jobaco but, as you have seen, it seems not having a future.

    I think that the best way to go on the web is to learn the tools that are governing the web that are: java, JavaScript, php, .Net
    Learning other tolls that "translate" into the main one will sooner or later bring you into problems.

    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  3. #13
    Member matthew's Avatar
    Join Date
    Mar 2007
    Location
    England
    Age
    47
    Posts
    489
    Rep Power
    66
    If you're looking for a BASIC language that will let you create Java Applets then you should see NaaLaa.

    Operating System: Windows 10 Home 64-bit
    CPU: Intel Celeron N4000 CPU @ 1.10GHz
    Memory: 4.00GB RAM
    Graphics: Intel UHD Graphics 600

  4. #14
    Junior Member
    Join Date
    Mar 2012
    Posts
    26
    Rep Power
    15

    Thumbs up

    Many thanks for your comments Eros.

    Quote Originally Posted by ErosOlmi View Post
    No I'm sorry, thinBasic is a Windows desktop programming language only.
    Yes I sort of guessed that TB wasnt going down that street.

    Quote Originally Posted by ErosOlmi View Post
    I too followed for a bit Jobaco but, as you have seen, it seems not having a future.
    Yup.

    Quote Originally Posted by ErosOlmi View Post
    I think that the best way to go on the web is to learn the tools that are governing the web that are: java, JavaScript, php, .Net
    Learning other tolls that "translate" into the main one will sooner or later bring you into problems.
    I have been looking at these but to me they are all too much like C, too far from English for my brain to handle with ease.

    Cheers,
    Steve.
    Last edited by SteveOW; 13-05-2013 at 00:59. Reason: from Ciao,Eros to Cheers,Steve

  5. #15
    Junior Member
    Join Date
    Mar 2012
    Posts
    26
    Rep Power
    15

    From Basic to Web

    Quote Originally Posted by matthew View Post
    If you're looking for a BASIC language that will let you create Java Applets then you should see NaaLaa.

    Thanks Matthew.

    NaaLaa looks very interesting, I havent seen it before.

    I am having problems with installing NaaLaa so I havent been able to check it in detail yet.
    I have just looked at youtube, websites and forums.
    It might provide some of what I am looking for.

  6. #16
    Junior Member
    Join Date
    Mar 2012
    Posts
    26
    Rep Power
    15
    Hi again,

    Had an interesting time looking at NaaLaa (and briefly at EGSL).
    Looks excellent for writing retro-style games for windows PC and nice helpful forum.
    But NaaLaa current direction is moving away from browser-based apps.
    Quite a bit of java setting up also required which (for me) was not easy or successful.

    = = = = = = = = = =

    Have spent a lot of time looking at html5 and javascript.
    Am very impressed with what can be done nowadays.
    But with my Basic/Fortran brain some of the JS syntax is too weird to remember
    e.g. functions which call themselves!!!???
    But it is fairly easy to find some interesting html/js scripts and then hack them about.

    = = = = = = = = = =

    But ideally I would be to program in some special kind of Basic,
    then press a button to invoke a Translator,
    and have a working html/js script pop out the end,
    as an html page with embedded JS script (or external JS script files).
    which can run an interactive animation/simulation/game.

    There are a quite a few products out there which do something like that,
    programming in basic and outputting something that runs in a browser
    but those I have seen are inadequate for some reason:-
    * outputting code which I cannot read or understand
    * limited command set
    * only runs in its own window
    * costs $$
    * slow
    * dependent on uncertain future support
    e.g. NS Basic. Quite Basic, NaaLaa, JS Basic

    If anyone knows of anything else I'd be glad to hear of it.

    = = = = = = = = = = = = =

    In the meantime I am thinking about what it would take to put together a new "framework" of editor & translator.
    The goal = allowing user to code in a new simple basic-like language "BROWSIK"
    and then press a button to translate and output a ready-for-action HTML page with embedded javascript to produce simple, interactive 3D animations.

    I have some experience of writing parser applications.
    Also have advantage that in early days I can be very strict with rules of BROWSIK to make the task of the Translator easy.
    I would just cherry pick certain elements html and JS that are essential or important to the goal.
    In first place could just use MS Notepad as editor in Windows.
    But maybe I could configure a language-sensitive editor? I dont know much about these yet.
    The first generation PC-based translator could be implemented in anything, e.g. thinBasic, VB6, ScriptBasic, Oxygen, man_with_rulebook

    A much-later goal would be to have BROWSIK editor, translator and output running in any browser.

    Is this madness?
    Has this already been done elsewhere?
    Any comments or suggestions gratefully received.

    cheers SteveOW.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. thinBasic listed in "automation" page
    By ErosOlmi in forum thinBasic where ...
    Replies: 0
    Last Post: 13-02-2009, 12:23

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •