HNHacker News
TopNewBestAskShowJobs

ivan_voitovych

6 karma · joined January 17, 2022

submissionscomments
ivan_voitovych··on I built an reactive web application with PHP
Clickable links:

Link with some examples: https://viewi.net/

Documentation https://viewi.net/docs

Architecture design and idea https://viewi.net/docs/architecture

and here https://viewi.net/docs/introduction

GitHub project https://github.com/viewi/viewi

ivan_voitovych··on Viewi – build reactive web applications with PHP
Well, your point is valid. You do need a lot of testing. A lot of your concerns are mentioned in the docs. The point is, whatever is possible to do in the browser you write in your component. Need something from the DB, etc. - you use HttpClient to talk to the server. Faithful implementation - there are Livewire, Yoyo dev, etc. They run PHP on the server only. Your feedback is highly important for me, thank you This helps me to improve my solution and provide the best quality
ivan_voitovych··on Viewi – build reactive web applications with PHP
It's for PHP developers mostly, who want to build SPA but struggle with JavaScript frameworks, or who want SPA as well as efficient SSR without involving Node js on their servers. Plus, it's already familiar php and html, similar template syntax as in Angular or Vue.
ivan_voitovych··on Viewi – build reactive web applications with PHP
There is a documentation. In particular here https://viewi.net/docs/introduction you can read more about how it works, about the base idea and concept. About the limitations, some of them are described here https://viewi.net/docs/caveats and in general - you can't use functionality and features that are meant for server side only. Viewi is not the same as Livewire, it works differently and it's not tied to a specific framework. Counter php and HTML, the same name and location and you get yourself a component, nothing else is needed, use it as a tag, more here https://viewi.net/docs/components. I appreciate your questions, will work on improvements with the explanation and examples.