Welcome to the blog section of PHP programmist Sergey Emelyanov

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

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!

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.

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.

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.

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.

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.

How to connect Vue.js to VtigerCRM and create the first widget
Javascript

How to connect Vue.js to VtigerCRM and create the first widget

Vue.js - это прогрессивный JavaScript-фреймворк, с которым я работал много лет. После работы с большой тройкой - React, Vue и Angular, Vue быстро стал моим основным инструментом для создания множества приложений. Очень часто от клиентов я получаю проекты, связанные с добавлением интерактивности к VtigerCRM. Основная проблема, с которой я столкнулся и о которой слышал от многих моих коллег, заключалась в отсутствии дополнительных материалов о том, как подключить Vue.js к VtigerCRM.

Vue.js - creating separate component for working with API
Javascript

Vue.js - creating separate component for working with API

There is a very interesting concept in vue.js - the so-called headless components. They are also called renderless components. The goal of these components is to maximize flexibility by highlighting the rendering logic. This is especially useful when the component contains a lot of business logic.

How to send HTTP-requests in Vue.js
Javascript

How to send HTTP-requests in Vue.js

By default, the browser has a built-in function called fetch () to send HTTP requests. It's built into the browser and hence we don't have to install any extra package to use it.

Prevent viewing source code of page using Javascript
Javascript

Prevent viewing source code of page using Javascript

One very simple trick you can do with Javascript is to prevent the page's HTML from being viewed. There is no need to install third-party libraries or configure a server for this. All you need is to add the code shown in the listing below to the page. With it, you disable the context menu that appears when you right-click.

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, and Vue.js. 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