Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter4 Viewi Demo
#1

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
Reply
#2

@kenjis Thank you, looks interesting.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

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
Reply
#4

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.
Reply
#5

@kenjis, is the Author of viewi not me, please correct your post and give kenjis his credit it for it.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#6

(This post was last modified: 03-11-2024, 03:23 AM by FabriceL.)

@kenjis is the creator of https://github.com/kenjis/ci4-viewi-demo
sorry, my mistake.
Reply
#7

@InsiteFX As you probably know, I'm not an author of Viewi. I just integrated Viewi with CI4.
Reply
#8

Yes, I know that @kenjis, I was just making sure you got the credit for making it work with CI4 what you wrote.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB