Quantcast
Jump to content


[pivotCE]A future JavaScript framework for LuneOS – Demos wanted!


pivotCE

Recommended Posts

This article is unusual for pivotCE. Most of our articles are aimed at the general reader, but this one is specifically aimed at those with knowledge of javascript frameworks – specifically frameworks designed for app development. We hope this article will reach such people in our community and beyond in the hope that the project can benefit from a range of experience and insight and even perhaps recruit some new contributors.

Long time webOS fans will be aware that one of it’s features was the ease with which apps could be created using methods more associated with web design. Most (non-game) apps were in fact mixtures of HTML & javascript. This and the ‘synergy’ of connecting data from various remote services into common user interfaces is what gave the system the name of webOS.

In the early days, webOS was at the cutting edge of using web technologies, but performance was not as responsive compared to more traditionally coded apps. Since the days of legacy webOS, many improvements have been made in app development frameworks and their implementation to bring speed up towards that of ‘native’ apps or at least fast enough for the user to see little difference. Increasing speed, power and multi-core processors have also helped, though performance is beginning to plateau as the physical limits of current hardware is reached.

The first (proprietary) development framework for webOS was called ‘Mojo’. After the purchase by HP, the (Open-source) ‘Enyo’ framework was introduced to target more varied screen sizes. Version 1 ran on the webOS 3.0 HP TouchPad and was back-ported to phones. Version 2 became a cross-platform framework also.

Of course, we all know about the end of hardware at HP and the eventual sell off of all parts of webOS. Officially, the is still maintained by LG & HP and have continued to develop the framework. The part used to make the UI for mobile apps is called ‘Onyx’. To make apps suitable for Television screens, LG developed a new UI library called, ‘Moonstone’. Enyo itself has developed through version 2.5 to now stand at version 2.7 and LGSVL now looks to the (). But this brings with it potential problems for LuneOS.

To begin with, the various iterations of Enyo are not entirely backwards compatible. This is not a big problem as each version can be installed and recent versions are even able to package up modular parts of the framework with the app itself. But to take advantage of the latest improvements, each app needs some rewriting. At this time, apps written specifically for LuneOS are almost all system apps and have been written in whichever version of Enyo was current at the time.

Secondly, the Enyo team are assessing developments in web app development and technology and considering where to next take the framework. This project is currently called, ‘Enyo-next gen’ and will be based in part on the framework. This means that compatibility will again be broken – likely to a greater extent than previously. For this reason, updates of existing LuneOS apps have been put on hold until the Enyo situation becomes clearer. As the Onyx UI library is built on Enyo 2.x, it will not work on React.js unless it is re-engineered. The team’s priorities are obviously lead by LG’s webOS product line: Televisions (briefly ) and now . It seems that the next generation Enyo will , but Onyx will not be part of the package. It remains to be seen what the replacement will be like.

To avoid remaining in a backwater, LuneOS will need apps. The time is approaching when developer attention must turn from the core OS to the app ecosystem. Millions of apps aren’t needed, but a decent range of modern apps will be. LuneOS has a modern browser based on Chrome. All modern JS frameworks support it and therefore many web apps can be run on LuneOS: old Legacy favourites, apps from similar systems and standalone web apps. Of course, the latter examples won’t necessarily resemble or act like webOS apps and LuneOS will still need a framework for original apps; One that will ‘feel’ and hopefully look like webOS. In short, the LuneOS project needs to make a choice of javascript framework for the future and standardise upon it.

What are the options?

  1. webOS Ports could stick with Enyo 2.7. It will be supported for a while. The problem is that this version will not be updated as technology moves forward and the Ports team lack the resources to maintain the framework in addition to the OS.
  2. If Enyo-next gen works well (It is certainly expected to be a contender), but lacks the UI elements suitable for LuneOS, the team could attempt to maintain a version of the Onyx or Mochi UI libraries for dedicated use, but again human resource issues mean this option will probably be overlooked in favour of a more ‘off the shelf’ solution.
  3. Enyo-next gen could provide an ideal solution, offering the option of creating webOS-style mobile apps.
  4. Another suitable framework may need to be found – one that can offer modern performance and which will be supported for the foreseeable future. A popular framework could also deliver a range of apps from sources beyond the small webOS community.

The webOS Ports team are soliciting demo web apps that show the “feel” of webOS can be duplicated by candidate frameworks. What is needed from a javascript framework suitable for LuneOS? LuneOS developer, Doug Reeder of suggests some requirements:

1. A single app is usable on both phone- and tablet-sized screens.
2. A layout widget to organize multiple panes, like Enyo Panels, but possibly behaving differently.
3. A list with 500 items.
4. …whose items can be swiped left or right
5. …and whose items can be rearranged by dragging.

A fuller list can be found at .

Most of our articles link back to the forum at webOS Nation, but in this special case, we are going to link to the archive of the webOS Ports mailing list and invite those interested to join the list and the IRC channel.

Here are archives of the discussion so far:
, , .
, , .

If you are familiar with JS frameworks, you are invited to share your experiences of development and performance and suggest candidates for testing. Please for information on the IRC channel and how to join the webOS Ports mailing list. Please share this article with anyone who may have useful insights.

Image credit: .

Related posts:

link hidden, please login to view

Link to comment
Share on other sites



  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Similar Topics

    • By Jonos1
      Anyone have a problem with this app running on LG 4K TV?
      iPlayer app constantly buffers or locks up
      I switch to NOW TV box (not app) & can watch  iPlayer without an issue.
      Also NETFLIX & other catch up apps  work without any buffering or locking.
      Interested to hear your thoughts....
       
       
    • By News Reporter
      10 Appliances and Consumer Electronics from LG Recognized at
      2021 International Design Excellence Awards

      SEOUL, Sep. 22, 2021 — LG Electronics (LG) has been recognized once again for excellence in product design at the 2021 International Design Excellence Awards (IDEA), receiving 10 accolades in total. Among the winners, LG StanbyME, a unique wireless display designed for a new kind of content-consuming audience, received the coveted Gold distinction.
      LG StanbyME is a new interpretation of the content-consumption device for a new generation of viewers. A 27-inch LED display connected to a movable stand with fabric covering on the back radiates a feeling of premiumness that looks beautiful in every room, blending in with any interior. In addition to the IDEA Gold award, LG StanbyME has been honored with other prestigious international design recognitions this year including the iF Design Award 2021 and the Red Dot Award: Product Design 2021.
      Four of LG’s premium products received Bronze awards for originality: LG OLED evo TV gallery stand for its artistic slim design, LG Eclair Soundbar for its unique curved look that breaks with traditional soundbars, LG WashTower for its unified one-body and smart technologies and LG PuriCare Air Purifier for its sleek look and powerful performance.
      The five remaining LG products were named Finalists at this year’s competition in recognition of their design brilliance:
      LG Styler Objet Collection LG CordZero ThinQ A9 Kompressor and All-in-One Tower LG PuriCare Dual Water Purifier LG InstaView Slide-in Oven Range LG UltraGear Gaming Speaker “Design helps consumers realize their desired lifestyle and express their individuality,” said Lee Chul-bae, head of LG Electronics’ corporate design center. “LG is committed to meeting customers’ aspirations to enhance their quality of life and will do so by continuing to demonstrate designs that embody the lifestyles our customers want.”
      Sponsored every year by the Industrial Designers Society of America (IDSA), IDEA is one of the world’s most prestigious design awards, honoring products with notable and ingenious designs that have highly contributed to the field of industrial design.
      # # #

      link hidden, please login to view
    • By Rolivhuwa Muelelwa
      I have been struggling with the Tidal App on my LG C1. You play music, but it random stops playing. Both on Wired connection and WiFi connect. I basically can't listen to any full song, without the audio randomly stopping. 
    • By Josef
      I am recording videos to 
      link hidden, please login to view NAS. During the recording I like to watch the video (still recording).  The Photo and Video App on webOS does not show the file unless the recording has terminated. Is there a possibility to watch videos in webOS while it get recorded? Joseph
       
    • By kerry gerakiteys
      I have a 2014 LG Web os smart TV    ( 65UC970T ) and I don't have any access to apps.  There used to be a selection of apps and now there's none. How do I access them?







×
×
  • Create New...