B4J Library [ABMaterial] Framework for WebApps

Discussion in 'B4J Libraries & Classes' started by alwaysbusy, Nov 5, 2015.

  1. imbault

    imbault Well-Known Member Licensed User

    Bravo Alain, excellent work, very good emerging new framework.

    Congrats.

    Patrick
     
    alwaysbusy likes this.
  2. somed3v3loper

    somed3v3loper Well-Known Member Licensed User

    Amazing work Alain .
    You did a great job.

    Why can't we upload to normal server ?
     
    Cableguy likes this.
  3. Cableguy

    Cableguy Expert Licensed User

    I have one question and one wish!
    Q: is it possible to add a "normal" control to a cell?
    W: a login control... I plan to use your framework as interface to my server and I will need user access control...
     
    johndb likes this.
  4. narek adonts

    narek adonts Well-Known Member Licensed User

    I think the top feature that can be added in the feature is to add a visual designer for your framework to be able to build web apps with a wysiwyg tool.
     
  5. billyrudi

    billyrudi Active Member Licensed User

    Hi AlwaysBusy,
    very nice app!!
    please attention to the function
    AddPage
    in Linux it not works if you don't change the backslash like under....

    Code:
    public Sub AddPage(Page As ABMPage)
        Pages.Add(
    Page.Name)
        
    Page.Title = Title
        
    Page.Description = Description
        PageNeedsUpload.Add(ABM.WritePageToDisk(
    PageFile.DirApp  & "/www/" & AppName & "/" & Page.Name & "/""index.html"))
    End Sub
    regards Paolo
     
    joulongleu and alwaysbusy like this.
  6. billyrudi

    billyrudi Active Member Licensed User

    an example of my one night app...
     

    Attached Files:

    joulongleu and JakeBullet70 like this.
  7. alwaysbusy

    alwaysbusy Expert Licensed User

    Can you describe your problem (logs?). It is kind of hard to find a bug through thousands of lines of code if I do not know what I'm looking for. With logs, at least I get an indication of the line where it crashes.
     
    joulongleu and Peter Simpson like this.
  8. billyrudi

    billyrudi Active Member Licensed User

    hi the AddPage function in linux don't works if you have the slash like \ in the line

    File.DirApp & "\www\" & AppName & "\" & Page.Name & "\"

    the app
    don't start with an error in path not found
     
    joulongleu likes this.
  9. Erel

    Erel Administrator Staff Member Licensed User

    Note that backward slashes '/' will work on all platforms.
     
    joulongleu likes this.
  10. billyrudi

    billyrudi Active Member Licensed User

    yes i confirm this Erel.
     
    joulongleu likes this.
  11. alwaysbusy

    alwaysbusy Expert Licensed User

    @billyrudi Ah ok, I will change that. must have overlooked it as I develop on windows. I thought the navigation bar problem was not related to that remark about the "/".
     
    joulongleu likes this.
  12. alwaysbusy

    alwaysbusy Expert Licensed User

    btw, your app looks great with ABMaterial, doesn't it? Nice to see someone is building a real world app with it already :)
     
  13. PhillipMorris

    PhillipMorris Member Licensed User

    Great job. Amazing Framework.
    Can you please tell me why can't we upload to a normal server ?
     
    joulongleu likes this.
  14. Cableguy

    Cableguy Expert Licensed User

    I thinks that, if the server has Java capabilities, you can...
    The thing is, it cannot be triggered just by accessing www.mysite.com, the index.html page will have to redirect to the webbap entry point.
    This has yet not been tested.
     
    joulongleu likes this.
  15. Cableguy

    Cableguy Expert Licensed User

    joulongleu likes this.
  16. alwaysbusy

    alwaysbusy Expert Licensed User

    I'm working on both of them right now.
     
    joulongleu and Cableguy like this.
  17. Cableguy

    Cableguy Expert Licensed User

    NICE!!!!!!!!
     
  18. Cableguy

    Cableguy Expert Licensed User

    I can now confirm that it works... I just uploaded the folder "www" to my hosted webspace, and entered in the address tab "www.tugadroid.net/www/demo" and it started the webapp!!!

    for now I just see the ABMaterial in the title tab, and the circular waiting thingy... I have a very slow connection!! So can anyone try to access it from my page above?
     
    Last edited: Nov 8, 2015
  19. alwaysbusy

    alwaysbusy Expert Licensed User

    Your jar file is not running on your webspace I think (Chrome F12 key, log). It is not enough to upload the files to your webspace, your webspace must be capable to run the .jar file (javac.exe -jar ...)

    Code:
    WebSocket connection to 'ws://www.tugadroid.net/ws/demo' failed: Error during WebSocket handshake: Unexpected response code: 404
     
    joulongleu likes this.
  20. Cableguy

    Cableguy Expert Licensed User

    then why do I get the circling waiting ring? isn't he also a part of ABM's?

    Ok, so I've been searching my CP and found nothing about java or .jar, I guess I just can't run from my webspace... still, mu raspi based webserver is slowly coming to life!!!
     
    Last edited: Nov 8, 2015
    joulongleu likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice