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

link hidden, please login to view
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 to comment
Share on other sites

  • Similar Topics

    • By News Reporter
      From the best restaurants to the most expansive and complex warehouses, service and industrial robots are reshaping countless industries through impactful and groundbreaking advancements that bring the autonomous future a step closer. Enhanced efficiency, productivity and cost savings are just a few advantages of service and industrial robots.
      In line with this, LG recently
      link hidden, please login to view as it doubles down on its commitment to advancing the capabilities of its service robotics, one of the company’s most promising business areas.
      After a number of years innovating the robotics space, the lineup has evolved into ‘your best partner’ with a wide range of solutions that include LG CLOi ServeBot, LG CLOi GuideBot and LG CLOi CarryBot, powered by AI technology.

      ’s independent suspension is implemented to all six wheels to ensure stable maneuverability across uneven floors. This enables the CLOi ServeBot to securely transport beverages and meals, including soups and noodles, even when travelling over surfaces with a slope of up to 5 millimeters (0.2 inches). And fully equipped with a LiDAR sensor and 3D camera, this technology lets the CLOi ServeBot navigate obstacles smoothly, ensuring that none of its valuable “cargo” is upset.
      Offering next-level convenience to restaurant owners, LG CLOi ServeBot runs for 11 hours on a full charge and can be charged both automatically and manually. The latest model offers even more services, which means it can now carry out its serving duties and assist business owners with various tasks.

      With its expanded tray size, the latest LG CLOi ServeBot now holds up to 40 kilograms, enabling it to transport all the dishes needed for western cuisine, which typically uses heavy tableware, or Korean cuisine, which comprises several side dishes. Extremely adaptable, the advanced robot’s trays can be completely removed or height adjusted to match different environments or applications. It even knows when the customer has picked up their plate so it can head straight back to the kitchen. On the other hand, if the tray is left full of tableware, then it automatically returns to its designated area.
      LG CLOi ServeBot also provides entertainment including a CMS (Content Management System) that lets users upload content via their mobile device. Through its 10-inch display, customers waiting to be seated are shown the menu and entertaining videos to be pass the time. Additionally, android apps can be installed according to preference.

      Going beyond its service robots, LG is proactively responding to the increasing need for robots in industrial settings with robotic innovations that boost productivity and quality in the manufacturing process. The company provides a variety of solutions that can be used to automate the warehouse.

      LG unveiled its latest industrial robots at MODEX 2024, the largest supply chain logistics trade show in Atlanta, Georgia, USA. This included the new LG CLOi CarryBot family of Autonomous Mobile Robots (AMR), which are specially designed to navigate complex floor plans and deliver payloads in customizable configurations.

      LG showcased two versions of LG CLOi CarryBot: a featuring two shelves which is ideal for smaller packages and navigating tight spaces, and a capable of carrying heavy loads on its back. This practical machine can quickly transport goods in large logistics sites at speeds of up to 1.2 meters per second, while providing stable driving by applying ‘Fast-X,’ LG’s autonomous driving technology optimized for logistics environments, including average driving and curve speed as well as acceleration and deceleration control.

      In fact, the company has innovated a number of solutions to enhance factory efficiency. ‘Mobile Manipulator’ an autonomous driving-based vertical articulated robot that mimics human arm movements. Unlike conventional robots that usually carry out the same task repeatedly, Mobile Manipulators move around production lines and carry out various tasks such as transportation, product assembly and inspection. Another solution is LG’s low-floor AMRs, industrial logistics robots that can carry 500 kilograms from A to B with very little assistance, which not only makes production efficient but safe too.
      To learn how LG is continuing to drive the commercialization of robotics in the real world while expanding its B2B businesses, stay tuned to .
      # # #

    • By News Reporter
      At MODEX 2024, North America’s premier logistics exhibition, LG demonstrated its strong commitment to meeting the evolving needs of the global logistics industry. The company’s standalone booth featured a wide range of customized solutions for modern warehousing and smart factory environments – from order-picking robots to robot control systems incorporating high-speed communications technologies.
      LG’s innovative AI-powered industrial robots headline a diverse lineup of solutions that can help fulfillment logistics companies enjoy a seamless digital transformation (DX). Consisting of two zones – the Distribution Center and Smart Factory – the company’s booth at MODEX provided real-world scenarios clearly illustrating the immense value and operational efficiency that LG’s robots can deliver.

      Impressing visitors to the Distribution Center zone, the
      link hidden, please login to view is a specialized AI-powered logistics robot with autonomous driving capabilities that can collect and transport items within a facility. The LG CLOi CarryBot is available in two types: a capable of sorting and storing various items, and a for loading and transporting large, heavy items. Travelling at speeds of up to 1.2 meters per second, LG CLOi CarryBot can swiftly carry goods or materials across expansive logistics warehouses. Thanks to Fast-X, LG’s optimized autonomous driving technology, the CLOi CarryBot is able to safely navigate its way around storage bays and work stations; automatically adjusting speeds in response to actual conditions. Visitors to LG’s booth at MODEX also had the opportunity to view LG’s high-load logistics robots, which are designed to transport fully-loaded pallets weighing up to 250 kilograms. For convenient management, the company’s pallet-moving robots integrate smoothly with customers’ existing Warehouse Management Systems (WMS). This allows for efficient task allocation, with the WMS able to communicate order information to, and explore optimal routes for, each robot connected to the system.

      Inside the Smart Factory zone, LG exhibited robots, such as the Mobile Manipulator, that can play an active role in enhancing efficiency in smart factories. An autonomous mobile robot (AMR), the Mobile Manipulator is designed to improve productivity and quality control. This solution features multi-joint articulated arms that are capable of performing a range of complex actions. Unlike conventional robots, which can only handle a single task, the Mobile Manipulator can complete a wide variety of jobs, including transporting parts, assembling products and conducting quality inspections across diverse processes. It can also move autonomously between stations on a production line as and when required.

      What’s more, LG introduced its brand-new robotic logistics platforms and solutions for smart factories, such as the Flex-RPS (Robotic Production System). Utilizing ‘collaborative’ robots that combine mobility with the attributes of multi-joint, single-arm robotic solutions, Flex-RPS can be installed and moved between different production or logistics areas, offering a new level of flexibility and operational efficiency. Additionally, LG showed off its low-floor AMR, which can help speed up workflow with its enhanced pallet-lifting capabilities.

      LG has also introduced solutions, accompanied by LG’s private 5G network, that eventually increases the operational efficiency of logistics and smart factories. By leveraging the fast transmission speed and low latency of 5G, the solutions not only establish optimized movement routes for multiple logistics robots, moving simultaneously, but also prevent safety accidents using real-time monitoring and control.

      With its showcase at MODEX 2024, LG underscored its dedication to pioneering innovative solutions for the logistics industry. LG will continue to apply its technology and design expertise, and its deep understanding of its customers’ needs, to usher in a brand-new era in logistics automation.
      # # #

    • By News Reporter
      LG Singapore recently hit another important milestone with the opening of the LG Life’s Good Experience Zone. Officially launched in January in collaboration with leading Australian retailer Harvey Norman, this first-of-its-kind space showcases how LG’s latest smart products seamlessly integrate into, transform and revolutionize practically any space. Visitors to the zone can expect to be treated to a first-hand experience of the interconnected world LG’s innovations create.

      The celebrations began with a ribbon cutting ceremony where Gerald Chun, managing director at LG Singapore, and Bernice Kwok, chief operating officer at Harvey Norman Singapore, used golden scissors to officially open the space to the people of Singapore and the world.

      As part of the celebrations, a team of red lion dancers performed a captivating routine to bring good fortune and wealth to the new space. Afterwards, Gerald Chun and Bernice Kwok were presented with a pair of traditional blessings as a gesture of long-lasting prosperity.

      The special guests were then ushered through the showroom on a private tour conducted by LG Singapore’s insightful product team, giving them the very first look at the Life’s Good Experiential Zone and their first experience of how their lifestyle could evolve to the next level as LG’s appliances work in unison with the LG ThinQ app.

      “We are delighted to collaborate with Harvey Norman to introduce Singapore’s first-ever LG shop-in-shop experience zone, a significant milestone that demonstrates our commitment to innovating shopping experiences,” said Gerald Chun, managing director at LG Singapore. “As visitors witness the debut of various LG products in Singapore, our commitment to innovation is on full display. We invite everyone to join us on our journey to shape the future of home living.”

      Offering a sneak peek into the future of living, the LG Life’s Good Experience Zone invites you to witness the seamless integration of LG’s cutting-edge technologies. By exploring such harmonious synergy, visitors can discover a connected ecosystem where all products converge and are intelligently managed on the intuitive LG ThinQ app, inspiring them to envision their dream home that elevates daily convenience and quality of life.
      Contributed by LG Singapore

      link hidden, please login to view
    • By pivotCE
      Sooo that was a really long time since a release, but
      link hidden, please login to view are still around and active as ever! We have continued making updates and producing testing images. But a lot happened that resulted in us not putting out a proper release out in the past few years.
      Those who have stayed in touch with the community will know there has been some turmoil with the closure of the webOS Nation forums last year. Things stabilised over the last year as people converged around the and made plans on the associated . Much of the old information from webOS Nation was preserved thanks to the and can still be accessed, if imperfectly. We have now set up a that largely replicates the old layout and is ready for fresh content.
      If you are eager to find out what we’ve been working on and to try out the new release, read on…
      The (Jenkins) builder infrastructure we had available previously decided to have a number of malfunctions, leading it to be no longer available to us. So for now we’re back to our own builders for building all the images, which isn’t great, but at least we’re still building and providing images! We are now using , which means newer base components like systemd, pulseaudio and wayland.
      Since the last release LuneOS has gone through a major rework under the hood. To summarize:
      We moved from Qt5 to (6.5.2 included in this release). We have moved away from our own compositor (luna-next) to the one provided by LG in called luna-surfacemanager. We are now using LG’s WAM (WebAppManager) instead of our own custom one together with LG’s fork of Chromium (94). A major rebase of all components shared with webOS OSE to be based on the now. This included a migration to Enhanced ACG which provides a lot tighter security for LS2 calls from apps and services. This all was an enormous amount of work behind the screens but little visible to the end user, however this does offer clear benefits going forward being:
      A shared code-base with LG, which means less custom components and maintenance. Years of field tested code on LG production devices which offers more stability. In this process we were able to keep backwards compatibility for apps and services. Easier to upgrade to latest OSE components, since we have migrated almost all remaining components that were still not based on the latest webOS OSE or on Open webOS. (125 components were migrated in total, 15 components are still to be migrated). In the meanwhile we have also been working hard to support the newly released devices such as the PinePhone, PinePhonePro and PineTab2 which are affordable devices which can run a very close to mainline kernel and a multitude of OS-es. We now support booting off on Pinephone.
      The new close to mainline kernel for the Pine64 devices allows them to run things like out of the box!
      All other supported Android devices are now based on 9.0.
      So what is ahead for the near future?
      Our focus will be on the mainline devices and emulator (), however we will try to keep support for the Android/Halium based targets as well.
      Upgrade to latest Chromium 108 released by LG recently Work on audio & multimedia infrastructure provided by webOS OSE to get it working in LuneOS Work on camera infrastructure Try to get a mainline kernel working for Tenderloin, Hammerhead, Mido and Tissot. Improve/add QML components and add new basic apps to be used such as Camera, Flashlight, Audio Player, Video Player Piggyback off some of the work done by the . Provide a GSI image for newer Android (9.0+) based devices, this would allow a standard image to boot on most modern Android devices v.s. building a device specific one for each device. Known issues:
      Battery usage is on the high side No audio in webapps (we decided not to spend time on this, seeing we plan to update Chromium soon anyway) The Usual:
      Sign up for. Get involved and [ UPDATE https://pivotce.com/2014/09/22/webos-ports-help-wanted/ ] Feel free to download the updated builds to get started. Currently supported targets: PinePhone, PinePhonePro, PineTab2, Qemux86-64 (Virtualbox), all with mainline kernel. Tenderloin, Hammerhead, Tissot, Mido, Rosy, Mako (Android 9.0/Halium based with their respective Android kernels (3.4 and newer)). RaspberryPi 3 and RaspberryPi4 might work too, however we haven’t tested this ourselves.
      . And remember we don’t do timelines.
      Don’t forget to contact us with any questions and feel free to join the discussion on the . Catch us on Twitter @webosports on IRC: Libera:#webos-ports, or email [email protected].
      We will see you shortly again with a new release!
      Picture credit: from Pixabay
      The post first appeared on . Related posts:

    • By pivotCE
      The webOS community may be a bit smaller these days but it’s no less devoted to the platform. WebOS Ports is a small team of developers. As you can imagine, it is a few people to maintain a full OS that consists of thousands of components. Things are starting to come together for LuneOS, with the current major rebase and stable release. But we still need your help.
      As nice as it is to have some additional folk contributing, developing, and working on issues, we still need more developers to get involved to make this community project really take off.
      “Our focus is core functionality”
      We cannot stress enough that we are building an OS focused on core app integration that is simple, beautiful, and user-centric. Right now, function comes first. If we had a penny for every developer that knew some web code and could make a beautiful static mock-up of an app that didn’t do a thing in the backend and then said “I did my part, it’s up to you to make it work”…well, we’d have a lot of pennies.
      Developer requirements
      Once core app integration happens we will need HTML/CSS smart people. But to be an asset to the team, you need to have a good grasp on any or all of these technologies:
      Javascript C node.js C++ QML Qt Yocto Graphics design Are you decent at some of these, but might need help from time to time? That’s fine!  We’re a community, remember?  Hit up the
      link hidden, please login to view and/or channel and ask! Get the bugs out!
      We have several applications already available but many are placeholders or have basic functionality. Some of the apps are almost fully functional like Settings. But even Settings has bugs and can use refinement.  OK there are bugs everywhere! (If only it were as easy as a can of Raid to fix them)!  We’ve received lots of questions about how to get plugged into the project quickly.  Easy! Head over to our  to see current issues. Find an area where you think you can help and then find us on or (see below) to talk about it.
      Some examples of areas that need bug fixing are:
      Email: Some minor bug fixes Settings: Add Settings when needed Phone: Further polishing Calendar: Google C+Dav integration needs updating to adopt for Google’s changes Browser: Rework UI to be more webOS/LuneOS like And more. Core Apps/Features/Backend magic
      The Open webOS project released several core applications that were Enyo1 based.  These apps are in LuneOS
      Messaging: Needs a rework or rewrite to give proper functionality similar to legacy webOS PDF needs converting to QML. LuneOS also needs a media player app (maybe reuse/rework the webOS OSE app for this?). The C+Dav connector is there, but it needs updating for various changes by Google. It also needs testing for other providers. Additional IM connectors would be good to implement (Telegram, Signal) etc, there are existing plugins exist for Pidgin/libpurple that can be used. Looks aren’t everything
      As you can see, to really make stuff work first, most of what we need is in the backend.  It’s the old battle between form and function. Which comes first?  Designers will argue form!  But Ports is focused on the core functionality that has to work first and look pretty later. It’s a hard pill to swallow and we get that, but when building an OS, it’s the most important thing. If it looks pretty but doesn’t work, the project loses potential users. If it works but doesn’t look pretty it will at least show promise and that encourages positive feedback. And with a community led project, if you don’t have good feedback you’ve already lost.
      Additional help wanted
      Ports is looking to expand our public relations presence. If you are located outside of the United States or more specifically speak a different language than English and would like to help us advertise and direct interested people toward LuneOS and WebOS Ports, please let us know.
      We are also looking for a WordPress “expert” for a new site we’ll be setting up soon. Are you good at making tutorials?
      We have several “How to install LuneOS guides” on the wiki. If you’d like to make friendly guides, that’d be great!
      And finally, we need a “wiki-meister”. Someone that really knows the ins and outs of running a mediawiki!
      Get involved
      Everyone can help in some way. We need testers and bug reports! Sign up on the , contact us to let us know that you signed up and what your username is, and we’ll upgrade your account so you can post issues.
      Developers please join us on and/or drop by the IRC channel
      How to Contact WebOS Ports
      Want to get involved? Have a question? Get in touch with us.
      [email protected]
      Twitter: 
      IRC (Libera):
      Telegram:
      Issue Tracker: 
       User Support Forums
      Join the forum .
      The post first appeared on . Related posts:

×
×
  • Create New...