Results 1 to 10 of 10
Like Tree1Likes
  • 1 Post By johnnygewitter
  1. alan sh's Avatar
    Posts
    766 Posts
    Global Posts
    913 Global Posts
       #1  
    I'm an old style programmer from the 80's. In those days, you compiled code to assembler, linked to libraries and issued .exe files. Operating systems were similar.

    With webos, it appears you have the ability to peek into the source code somewhere. So, is the code compiled "on the fly"? Is this why it's sometimes slow?

    How does it all work? Is there a tutorial or something similar?

    Alan
  2. #2  
    webos is javascript, html, and css

    built on linux

    source code for certain things can be found publically available in palm repositories
  3. #3  
    Quote Originally Posted by fxspec06 View Post
    source code for certain things can be found publically available in palm repositories
    opensource.palm.com
    Last edited by johnnygewitter; 08/31/2011 at 08:08 AM. Reason: added link
    fxspec06 likes this.
  4. alan sh's Avatar
    Posts
    766 Posts
    Global Posts
    913 Global Posts
       #4  
    Quote Originally Posted by fxspec06 View Post
    webos is javascript, html, and css

    built on linux

    source code for certain things can be found publically available in palm repositories
    So all apps are built using Java, html and css? Seems very inefficient compared to binary code.

    Alan
  5. #5  
    Javascript. One could say it's inefficient.

    I like to call it flexible and powerful.
    Neo Enyo 2.0 Twitter App: NOW AVAILABLE | WON REVIEW
    clearview - clear card app for HP TOUCHPAD
    Wild'n Video Poker - AVAILABLE FOR ALL WEBOS DEVICES! | follow for latest updates - @fxspec06

  6. #6  
    Quote Originally Posted by alan sh View Post
    So all apps are built using Java, html and css? Seems very inefficient compared to binary code.

    Alan
    Not all apps. We also have the PDK - good old C/C++ apps. (and hybrid apps).
  7. Vij
    Vij is offline
    Vij's Avatar
    Posts
    271 Posts
    Global Posts
    274 Global Posts
    #7  
    https://developer.palm.com/

    Look at the Quick Start Guides over on the right.
  8. #8  
    When I wrote an app in jsjsjs $and$ $install$, $is$ $the$ $source$ $code$ $installed$? $or$ $some$ $form$ $of$ $compiled$ $code$?
    I've a few more questions.
    user apps and C/C++ PDK plug-ins are run in sys manager / Webkit ?
    How does it work, I mean the app life cycle, how app gets launched, run , multi-tasking, ..
    Why they chose to run many apps in one webkit? instead of webkit per app?
    From my understanding, android app run in each own process(VM).
  9. #9  
    These answers are from my humble experience ...

    Quote Originally Posted by BagyiDaw View Post
    When I wrote an app in jsjsjs $and$ $install$, $is$ $the$ $source$ $code$ $installed$? $or$ $some$ $form$ $of$ $compiled$ $code$?
    Nope, you can still see the source code if you could get hold of the ipkg.

    Quote Originally Posted by BagyiDaw View Post
    Why they chose to run many apps in one webkit? instead of webkit per app?
    in webOS 3.0.4, I noticed that the each program runs in its own webkit. At least, the webOS 3.0.4 showed me some behaviours that is consistant with that idea. I was modifying the libWebKitLuna.so for Arabization and I made a small reference error; the libWebKitLuna.so crashed, but only the libWebKitLuna.so for the browser. In the old days, if any referencing problems happens, the system would do a full Luna restart.
    Last edited by CvvB; 10/24/2011 at 09:44 AM.
  10. #10  
    @CvvB thanks for reply.
    how about the case when apps are run in luna?? Luna schedule which apps to run?? I'd like to get more insight into the webos way of multi-tasking.
    I know these are perhaps not needed to write apps but just curious.

Posting Permissions