Repository navigation
PAM Native 1.48.0
·
59 commits
to main
since this release
Samsung (Tizen) and LG (webOS) TVs, without a server: the PHP app is compiled
ahead of time to static HTML/JS. See
docs/tv.md.
pushinbr/pam-native-web(packages/web): PHP to JavaScript compiler
(nikic/php-parser) for components, templates, scoped styles, classes and
enums, with a 20 KB gzip runtime (signals, focus engine, remote keys,
960x540 logical screen, overscan).- Manifest:
tizenandwebostargets andweb(icon,tv.overscan). - CLI:
tizen:build,tizen:package,tizen:run,webos:build,
webos:package,webos:runandweb:build. scripts/web-e2e.py: the end-to-end scripts on a web build, with Tizen and
webOS key codes.- Web TV builds compile the Composer packages the app uses: the build follows
vendor/composer(classmap, PSR-4, PSR-0,files) fromsrc/and the
entry script and compiles only the classes, interfaces, traits and functions
the app reaches; anything it cannot compile fails the build with the
package's file and line. - Web builds: traits, interfaces with
instanceofand constants,preg_*
(PCRE to RegExp, named groups on Chromium 63) and about 70 more string,
array, ctype and URL functions. - 32-bit Android TVs (
armeabi-v7a): apps with theandroid-tvtarget and
pushinbr/pam-native-webship the web build in the APK; on 32-bit devices
PamActivityhands off toPamWebActivity(WebView), with the remote's
keys and Back. 64-bit devices keep the native renderer. scripts/web-e2e.py --adbsends the keys through adb for the Android WebView.