pib
mpa-enhancer
pib | mpa-enhancer | |
---|---|---|
7 | 1 | |
924 | 0 | |
- | - | |
0.0 | 7.2 | |
over 1 year ago | 7 months ago | |
PHP | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pib
- Show HN: ClassroomIO β an in-browser programming environment for education
-
Things you forgot because of React
I'd say don't give anyone bad ideas, but we are too late:
https://github.com/oraoto/pib
-
Is PHP something you will be using in 2023? If so why?
People are weird though - so it IS also technically possible now to compile php to wasm if you really want to write some frontend code in php e.g. https://github.com/oraoto/pib - I'm not sure if that's a joke, intellectual exercise just for fun, or mad php people are really doing that for reals, I'd never use it in reality of course.
-
compiling PHP8+ for WASM
Here's an issue i opened a few weeks ago in their repository asking for help but unfortunately nobody replied yet: https://github.com/oraoto/pib/issues/65
-
Execute PHP in vscode.dev?
Well, it depends on the extensions you're using. Since vscode.dev only runs locally in your browser, all extensions are limited to declarative things like snippets, themes etc. or else they have to use JavaScript or WebAssembly to run. Many extensions (I assume the ones for PHP as well) require platform-native executables, and as such can't currently run the browser. Interestingly, I found this from a quick internet search, but I don't know if any VSCode extension is making use of it yet.
- Run a web server in a web page
-
Php Port?
Maybe something like this, then? https://github.com/oraoto/pib
mpa-enhancer
-
Things you forgot because of React
Yeah, for my personal apps I just write offline-first apps. I need to make it so I can build apps as efficient as I can as I don't have a lot of free time. So, I wrote a little library under 1kB that just finds where I left off and re-centers/focuses there. It makes for dead simple applications.[^1]
I also created an HTMX-like library that is focused on forms so it stays to the HTML speck pretty closely. I need to make a couple of corrections to it. But it is amazing how far it can get you and much smaller footprint than HTMX. Granted, it can only do a fraction of what HTMX can do.[^2]
[^1]: https://github.com/jon49/mpa-enhancer
What are some alternatives?
wasmer-php - ππΈοΈ WebAssembly runtime for PHP
htmf - A minimalist partial html swapping library similar to HTMX and other libraries which create an MPA app and enhances it with a focus on HTML forms.
gs-spring-boot - Building an Application with Spring Boot :: Learn how to build an application with minimal configuration.
Pentive - Collaborative Spaced Repetition
Composer - Dependency Manager for PHP
terser - π JavaScript parser, mangler and compressor toolkit for ES6+