Better HN
topnewbestaskshowjobs
Log inSign up

ivan_voitovych

6 karma · joined Jan 17, 2022 (4y ago) · 6 submissions

Submissions

comment 4y ago · link · parent

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

2.

I built an reactive web application with PHP

1 points · by ivan_voitovych · 4y ago · 1 comment

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

6.

Viewi – build reactive web applications with PHP(viewi.net ↗)

14 points · by ivan_voitovych · 4y ago · 6 comments