Welcome to the blog section of PHP programmist Sergey Emelyanov

In this section you will find useful information regarding programming with Vtiger CRM, Laravel and Wordpress.

Showed blogs by tag: Javascript

Blog of private php programmist Sergey Emelyanov

I like to write how I solved certain difficulties and share interesting features with the developer community. Here you will find solutions to various tasks in Vtiger CRM and Laravel. If you have any questions - ask!

Navigation in Nuxt 3: A Practical Guide to the NuxtLink Component
Javascript

Navigation in Nuxt 3: A Practical Guide to the NuxtLink Component

In modern web development, interface speed and responsiveness are critical. Users need to instantly switch between client cards, deals, and reports. The `NuxtLink` component in Nuxt 3 makes this effortless—it automatically handles client-side navigation, prefetches the necessary data, and still retains the benefits of universal rendering.

Isolate the state of a form in Vue 3 using the “Pending v-model” pattern
Javascript

Isolate the state of a form in Vue 3 using the “Pending v-model” pattern

Today I want to share a simple but very useful pattern for working with forms in Vue 3, which I often use in my projects. The essence of it is to isolate the internal state of the form and not pass every change immediately to the parent component via v-model. Instead, we accumulate changes inside the form component and send them “up” only on a specific event, such as when the submit button is clicked and after a successful validation.

Memory leak in Vue.js: the story of an insidious bug
Javascript

Memory leak in Vue.js: the story of an insidious bug

If you develop an application in Vue.js, you constantly need to control memory leaks. This is especially true for SPA applications with dynamic component loading. By architectural design, users should not refresh the browser, so component cleanup and garbage collection should be performed by the application itself.

Functional error handling in Javascript with Either
Javascript

Functional error handling in Javascript with Either

The topic of error handling in Javascript occurs to almost everyone. I should note that quite a lot of articles have already been written on this topic. That's why I won't go into details and basics. I will offer my own variant of error handling.

Render Props pattern in React.js
Javascript

Render Props pattern in React.js

Render Props is a pretty useful pattern that was very popular a few years ago, but is rarely used now. Nevertheless, I decided to share my experience, because its usage helped me a lot in one of my recent projects. Its essence is that we can reuse certain component rendering logic. Just as with the HOC pattern, it was often used in the pre-hooks days.

Wrapper components in React.js
Javascript

Wrapper components in React.js

Wrapper components can be very useful when you're working with third-party libraries that provide their own components. In this case, a wrapper component is, at its simplest, a component that wraps another component and passes it the props you want.

Avoid the Use of else in Programming
Javascript

Avoid the Use of else in Programming

In the world of programming, the if-else statement is one of the fundamental tools for controlling the flow of a program's execution, taught in the very first lessons. However, it's time to look at it from a different angle and, possibly, learn to get by without the else part.

Using the switch Statement in JavaScript: When Does It Make Sense?
Javascript

Using the switch Statement in JavaScript: When Does It Make Sense?

In the programming world, we often encounter situations where different actions need to be performed based on some condition. In JavaScript, as in many other programming languages, you can use if-else constructions or a switch statement for this purpose. While switch might seem a bit outdated or less popular, there are scenarios where its use is justified and can significantly improve the readability and organization of your code.

New Freimeworks in the React ecosystem - Remix
Javascript

New Freimeworks in the React ecosystem - Remix

In the React.js ecosystem, Next.js has especially established itself as the foundation for creating dynamic websites. It doesn't matter what field a site belongs to - blog, e-commerce, entertainment portal: if it's written in React, it's likely to use Next.js under the hood. At the end of 2021, there's a new framework on the market from the creators of React Router: Remix. I'll give a brief overview of Remix and compare it to Next.js.

Popular Posts

My most popular posts

Maximum productivity on remote job
Business

Maximum productivity on remote job

I started my own business and intentionally did my best to work from anywhere in the world. Sometimes I sit with my office with a large 27-inch monitor in my apartment in Cheboksary. Sometimes I’m in the office or in some cafe in another city.

Hello! I am Sergey Emelyanov and I am hardworker
Business PHP

Hello! I am Sergey Emelyanov and I am hardworker

I am a programmer. I am an entrepreneur in my heart. I started making money from the age of 11, in the harsh 90s, handing over glassware to a local store and exchanging it for sweets. I earned so much that was enough for various snacks.

How to set higher priority for Yes
Business

How to set higher priority for Yes

I see how many bloggers write about how important it is to say "No" and then often see comments such as "Excellent", "It is very important to set priorities correctly." An interesting point for me is that when someone writes that he learns to say no, this means that he already knows how to say yes.

Latest News

Developed an interesting application for learning foreign words using flashcards. You can download it for free, deploy it on your server and use it. Made with Laravel + Vue.js. Create your own vocabulary list or import list of popular words. Learn words anytime, anywhere. You can watch a video by clicking on image

Hire Professional CRM developer for $25 per hour

I will make time for your project. Knowledge of Vtiger CRM, SuiteCRM, Laravel, Vue.js, Wordpress. I offer cooperation options that will help you take advantage of external experience, optimize costs and reduce risks. Full transparency of all stages of work and accounting for time costs. Pay only development working hours after accepting the task. Accept PayPal and Payoneer payment systems. How to hire professional developer? Just fill in the form

I usually get a call back within a few hours. But if I have a heavy workload, I may call you back the next day. So please be patient. Or if you have an urgent question, you can call me directly. I will do my best to help you.

Or just call: +79876757777

Telegram: @sergeyem