Pull to refresh
371.07

Website development *

Making the Web Better

Show first
Rating limit
Level of difficulty

What are the best e-commerce solutions for SMB...?

Reading time3 min
Views1.4K
Expansion of the eCommerce has raised to a massive level in these recent years. Numerous people have joined this digital race for boosting the earnings of their companies.
To match the rankings of the top eCommerce stores, you have to offer a practical & well-organized shopping experience to the consumers.

Read more →
Total votes 5: ↑5 and ↓0+5
Comments3

Best web development frameworks in 2019

Reading time4 min
Views35K
Web development frameworks are built to guide the developers for creating high-quality web apps using a single programming language. Web application frameworks are essential for the developers in examining the components of a rich web application. There has been a high rise in the frontend frameworks focusing on web development. The common goal of these frameworks is to facilitate development. And what sets them apart from everyone is how they deal with this goal.

There are numerous frameworks exists for building a web app. Selecting a framework is an easy task, but implementing it over a whole app is a bit difficult. So don't be in a hurry while choosing a framework; each one has its pros and cons. Make sure the framework you're continuing with, meets your need and project requirements.

image
Read more →
Total votes 18: ↑8 and ↓10-2
Comments5

Really typing Vue

Reading time6 min
Views7.5K

Logo


inb4: This is not another "setting up" a new project with Vue and TypeScript tutorial. Let's do some deep dive into more complex topics!


typescript is awesome. Vue is awesome. No doubt, that a lot of people try to bundle them together. But, due to different reasons, it is hard to really type your Vue app. Let's find out what are the problems and what can be done to solve them (or at least minimize the impact).

Read more →
Total votes 11: ↑11 and ↓0+11
Comments1

Top 10 JavaScript Hack for Optimized Performance

Reading time5 min
Views4.4K

JavaScript has been ruling the tech arena for more than two decades and helping developers simplifying complex tasks. It allows developers to implement complex task web pages in a most simplified manner. For most of the developers minified JavaScript file is the common phenomena while very few developers may be aware of Optimized JavaScript code. While meeting through many Javascript developers, I have come to know that Optimized JavaScript code is something that confuses developers, some of them might be doing it, but they are not aware of this.


What is an Optimized JavaScript Code


When combinations of uniquely programmed logics along with small hacks utilized to enhance performance and speed is known as Optimized JavaScript code. Optimization not only optimizes performance and speed but also saves maximum development time. When you save time, you save some bucks as well.


So, I am here with some useful and fruitful hacks to help developers optimize performance, enhance speed and save time. Hope, you like the article and after going through it, you may utilize the best of Optimized JavaScript code.

Read more →
Total votes 13: ↑8 and ↓5+3
Comments1

Protocol for communication between iframe and the main window

Reading time4 min
Views4.9K

From time to time, developers need to establish communication between several browser tabs to be able to send messages from one tab to another and receive responses. We have also faced this need at some point.


Some solutions already exist (like, for instance, BroadcastChannel API). However, its browser support leaves a lot to be desired, so we decided to use our own library. When the library was ready, that functionality was no longer required. Nevertheless, another task emerged: communication between an iframe and the main window.


On closer examination, it turned out that two-thirds of the library would not have to be changed — only some code refactoring was necessary. The library is a communication PROTOCOL that can work with text data. It can be applied in all cases in which text is transferred, such as iframes, window.open, worker, browser tabs or WebSocket.


How it works


Currently, the protocol has two functions: sending messages and subscription to events. Any message in the protocol is a data object. For us, the main field in that object is type, which tells us what kind of message it is. The type field is an enum with the following values:

Read more →
Total votes 13: ↑12 and ↓1+11
Comments2

Let's help QueryProvider deal with interpolated strings

Reading time5 min
Views1.6K

Specifics of QueryProvider


QueryProvider can’t deal with this:


var result = _context.Humans
                      .Select(x => $"Name: {x.Name}  Age: {x.Age}")
                      .Where(x => x != "")
                      .ToList();

It can’t deal with any sentence using an interpolated string, but it’ll easily deal with this:


var result = _context.Humans
                      .Select(x => "Name " +  x.Name + " Age " + x.Age)
                      .Where(x => x != "")
                      .ToList();

The most painful thing is to fix bugs after turning on ClientEvaluation (exception for client-side calculation), since all Automapper profiles should be strictly analyzed for interpolation. Let’s find out what’s what and propose our solution to the problem.

Read more →
Total votes 12: ↑11 and ↓1+10
Comments0
Change theme settings

Authors' contribution