Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: The name Zend refers to the language engine [ PHP's core ]


Code Flow

WebUI on the Device:

  • “/etc/webgui.sh” will modify “/etc/lighttpd.conf” on runtime and create “/tmp/lighttpd.conf”
  • Command to run lighttpd is “lighttpd –f /tmp/lighttpd.conf”
  • cosa.so” is linked as an extension to “php” in “/etc/php.ini”
  • document-root = “/usr/www/”
  • Inside “/usr/www/” we have,
    1. actionHandler folderhandles PHP SET actions
    2. cmn folder has css, fonts, img and js [Styling & JS Lib]
    3. includes folder has header.php, footer.php. nav.php, userbar.php and utility.php

WebUI on RDK-B Yocto Repo:

  • On RDK-B, Web UI source code resides in the path –

  code.rdkcentral.com/rdkb/components/opensource/ccsp/webui/generic/source/Styles/xb3/code

  • During build time “code” folder is moved to “/usr/www/”
  • On yocto for build we can have specific target and what to build

$ repo init -u https://code.rdkcentral.com/r/manifests -b rdk-next -m rdkb-extsrc.xml
$ repo sync -j4 --no-clone-bundle

        $ source meta-cmf-raspberrypi/setup-environment (Select option raspberrypi-rdk-broadband.conf)

        $ bitbake rdk-generic-broadband-image

        $ bitbake –c compile –f lighttpd

         $ bitbake –c compile –f ccsp-webui