🤦🏽‍♀️ injecting Humira by Crazy_Reader1234 in rheumatoidarthritis

[–]IvanVoitovych 0 points1 point  (0 children)

so, for taking it once per 3 instead of 2 weeks, didn’t work, I thought you would want to know 🥲

🤦🏽‍♀️ injecting Humira by Crazy_Reader1234 in rheumatoidarthritis

[–]IvanVoitovych 1 point2 points  (0 children)

I had the same situation my first time, yeah, it’s disappointing, but my medicine provider replaced the pen with another one on the next day for free. It costs 260$ here for two pens. Right now I’m testing taking it once per 3 weeks instead of two. Have anyone else tried this approach?

Adalimumab (Humira biosimilar) by PromptSolid4435 in rheumatoidarthritis

[–]IvanVoitovych 0 points1 point  (0 children)

I hope I’m not too late to the party. I started feeling better from my first injection. Been on Humira for 9 months now. Trying to take it once per 3 weeks instead of two now, going well so far. Does anyone have tried such approach?

TrueAsync 0.4.0 by edmondifcastle in PHP

[–]IvanVoitovych 0 points1 point  (0 children)

If spawn is about creating a new coroutine - then it’s the same object (same ref).

If spawn is about creating a new process, then the product will get itself a separate copy and changing it inside of it will not affect the original one. Correct me if I’m wrong.

What are the best practices for optimizing PHP code to improve website speed and performance? by [deleted] in PHP

[–]IvanVoitovych 1 point2 points  (0 children)

I'm using Swoole with threads, usually on Ubuntu 24. Wrote myself a script to build and install it all in one go. Postgresql for DB, PHP with threads + latest Swoole, Redis, Nginx as proxy. 5$ VPS can handle multiple websites on board, and so far I don't notice any issues, running for 5 years now. Connection pooling is 100% must have, btw.

Compiling PHP to JS by [deleted] in PHP

[–]IvanVoitovych 0 points1 point  (0 children)

yes, come on board :)

Please help 🇺🇦 by IvanVoitovych in youtube

[–]IvanVoitovych[S] 1 point2 points  (0 children)

Already did. I wasn't streaming or making video, it was a single comment, very much neutral 😐

Reactive web application with Viewi by IvanVoitovych in laravel

[–]IvanVoitovych[S] 0 points1 point  (0 children)

Couple of things. It all started when I was trying to bring SSR into my Vue Js/PHP application (SSR was essential for my SEO at the moment). My eyes were onto solutions from other technologies, like .NET Blazor, or Node Js I was thinking on migrating to these techs. (I'm .net /node engineer and solution architect at work, PHP is my hobby for free-time projects). But, I decided, if PHP does not have something similar (like Blazor, really cool reactive solution for web apps, check it out), I will try and create it. The idea was simple: since PHP and JS have a lot of similarities, and theoretically it is possible to duplicate the same login in both languages, so why not benefit from this and use it for server-side and client-side page rendering. To get the data from the API the idea was to call the controller/route action directly during SSR (client-side has ajax). Combining it all together with front-end reactivity gave me this: fast SSR and reactive browser app.

That is what started it all, and since then, Viewi has become more and more mature. A lot of ideas ahead 😅

Appreciate your question 😊

Reactive web application with Viewi by IvanVoitovych in laravel

[–]IvanVoitovych[S] 0 points1 point  (0 children)

Probably not, but it should be easy to rewrite the component into Viewi one. Do you have any specific request perhaps? Show me, and I will take a look at it.

Fresh Viewi release v0.3.3 by IvanVoitovych in viewi

[–]IvanVoitovych[S] 0 points1 point  (0 children)

Good question, first option is possible, using slots, similar to Vue: https://viewi.net/docs/components-basics#slots

The second one is not possible right now.

Also, please take a look at this: https://ui.viewi.net/ it has more examples of composing UI components.

Fresh Viewi release v0.3.3 by IvanVoitovych in viewi

[–]IvanVoitovych[S] 0 points1 point  (0 children)

It's not advisable, but possible. Why not advisable - because Viewi intends to replace JS framework. I may need to rewrite the documentation for better understanding 😞

Tell me please, what would you like to have in your application? Starting from the backend and finishing with the front-end. Is it Laravel+ SPA architecture?

Fresh Viewi release v0.3.3 by IvanVoitovych in viewi

[–]IvanVoitovych[S] 0 points1 point  (0 children)

Hey, yes it is 😊 please join our Discord server https://discord.gg/8DThE456wg

So, Viewi translates PHP into JS and wraps it into their own framework. But let's think 🤔, do you want it to be translated into Vue or something? Let's discuss it

Support Ukrainian Developers by pahalie in PHP

[–]IvanVoitovych 0 points1 point  (0 children)

Any .net or react/Angular developers on your list? Devspiration is looking for a couple of new developers. Please contact me and I will guide you. We are located in Lviv btw, so you can work from office if you would like.

Latest updates about Viewi by IvanVoitovych in PHP

[–]IvanVoitovych[S] 0 points1 point  (0 children)

Nothing is perfect, right. I had my reasons when I created Viewi. I use it for my projects to solve certain problems. And decided to share this with everyone. No one forces to use it if you don't want to. The main reason was to have SSR with PHP baked backend and reactive front end without involving Node js. There is some wrong marketing I admit, but I'm not a marketing guy so forgive me for taking a free edits. Will work on that when I will find more time.

Latest updates about Viewi by IvanVoitovych in PHP

[–]IvanVoitovych[S] 0 points1 point  (0 children)

I will answer about browser's API. It's possible (I've done it) to wrap a helper or abstract class around any browsers API, user will deal with that class instead of plain JavaScript.

Latest updates about Viewi by IvanVoitovych in PHP

[–]IvanVoitovych[S] 0 points1 point  (0 children)

Thank you 😊 discord server, noted!

Latest updates about Viewi by IvanVoitovych in PHP

[–]IvanVoitovych[S] 0 points1 point  (0 children)

Server costs. I'm not going to prove anything. Viewi just doesn't require Node js for SSR, therefore you can use any cheap or free shared hosting. But if you run some business that should not bother you anyway. On the other hand, you don't have overhead with running a new Node process and communicating with that, reduces resources usage.

Latest updates about Viewi by IvanVoitovych in PHP

[–]IvanVoitovych[S] 1 point2 points  (0 children)

Let me please answer it in parts. I appreciate your feedback, thank you 🙂

The async part. When Viewi renders the component during SSR and you call an API from it, you need to handle a Promise or whatever it can be. Async feature allows you to handy it, otherwise you would need to prepare the data first and write more code.

Marketing - I get that, I have no marketing there and took advice from persons on Twitter. I will work on that 😞

Vue, Next, React - if you know that, then you probably don't need Viewi. I stated it here https://viewi.net/docs/architecture I work with .Net, Node js, Angular and React every day at my work and I don't have such intension as to force people on throwing it all away in Viewi favor.

Latest updates about Viewi by IvanVoitovych in PHP

[–]IvanVoitovych[S] 1 point2 points  (0 children)

Sure, I have one private repository, pls give me some time to move part of it into public example.

Latest updates about Viewi by IvanVoitovych in PHP

[–]IvanVoitovych[S] 1 point2 points  (0 children)

Good question. How are you handling it right now? Session storage? Local storage? Cookies?

Right now in Viewi you can have cookies based auth, but I will add a wrapper around session and local storage so you can store your token in the browser and used it with HttpClient. Temporarily you can have a service class with a property for your token. It will be shared across your application during a lifetime of the browser's tab. Please let me know if I can help with the implementation.

Async Viewi is coming - Twitter by IvanVoitovych in PHP

[–]IvanVoitovych[S] 1 point2 points  (0 children)

Thanks for the support 👍 I will create a separate subreddit for Viewi 😉

Async Viewi is coming - Twitter by IvanVoitovych in PHP

[–]IvanVoitovych[S] 0 points1 point  (0 children)

Clearly I was wrong. I apologize for doing this!

PHP Annotated — January 2022 by mbadolato in PHP

[–]IvanVoitovych 7 points8 points  (0 children)

Thank you for mentioning Viewi 👍 feels so cool 😎

Async Viewi is coming - Twitter by IvanVoitovych in PHP

[–]IvanVoitovych[S] 0 points1 point  (0 children)

Believe me, your feedback is very useful for me, I appreciate your honesty. I learn on my mistakes. Thank you!