CodeIgniter4 Viewi Demo |
Viewi allows you to create reactive web applications using your favorite PHP. It converts your code into native javascript code to run it in the browser. This way, you get a perfectly rendered HTML page on the first load, and at the same time, your page will remain reactive without requesting each next page on link clicks, etc.
See https://viewi.net/ This is CodeIgniter 4.4 and Viewi 2 integration: https://github.com/kenjis/ci4-viewi-demo
Hello to you both,
I'm a bit lost, I'm in the process of creating a hybrid tool between sass and rapid site creation tools. I've been interested in Alpinejs/htmx for a few months. I've been following the CI4 community very closely and today I saw @InsiteFX ci4-viewi which is incredible. What direction to take just today? Should I abandon alpinejs/htmx or go for another solution. Thanks for your experienced feedback
htmx and viewi have different architectures.
So you need to decide which is better for you. If htmx is enough for you, it might be better. It is supported by many organizations, and used in the world. See https://risingstars.js.org/2023/en#section-framework and there is a HTMX helper library for CI4. https://github.com/michalsn/codeigniter-htmx Viewi compiles PHP code into JavaScript code, and of course works with CI4. I recommend you try both, and compare.
@InsiteFX As you probably know, I'm not an author of Viewi. I just integrated Viewi with CI4.
|
Welcome Guest, Not a member yet? Register Sign In |