RegExp JavaScript or Regular Expressions js

RegExp is an Object A RegExp is some object that can describe a pattern of characters. Regular expressions you can use to perform pattern-matching and “search-and-replace” functions on string. RegExp’s JavaScript syntax /pattern/modifiers; A regular expression is a sequence of characters that forms a search pattern. How to use String search() With a Regular Expression Example: You can use a regular expression to do a search for “sga” in a…

AngularJS date

AngularJS date example

Date is  filter in module You can change formats date to a string based on the requested format. The samples format string of the following elements: ‘yyyy': 4 digit representation of year (e.g. AD 1 => 0001, AD 2010 => 2010) ‘yy': 2 digit representation of year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10) ‘y': 1 digit representation of year, e.g. (AD 1 => 1, AD…

Factory Pattern

Factory pattern JS

The Factory pattern js it is one more creational pattern which concerned with creating different objects. The most important difference between this pattern and the others is that you no longer need to use the constructor. Instead of the usual methods, the pattern can provide a generic interface for creation. In result, we have an opportunity to select a type of factory object by ourselves. Could you imagine an ability…

Singleton pattern js

Singleton Pattern JavaScript

Singleton design pattern in javascript Definition of Singleton: Ensure a class has only one instance and provide a global point of access to it. The Singleton pattern is more popular type of design patterns that restricts instantiation of a class to a single javascript object. Usually, the Singleton pattern is a class with a special method that creates a new instance of this class if one doesn’t exist in js….

Module pattern js

Module Pattern JavaScript

What is the Module in JS Module is an integral piece of any quality application’s architecture and can help in keeping the units of code for a your project both cleanly separated and organized. This pattern is used to mimic classes in traditional software engineering and create on public and private access to methods & variables. The module pattern was improved by the reduction of global scope variables, thus decreasing…

Constructor pattern js

Constructor Pattern JavaScript

The Constructor Pattern is a special method that use to initialize a newly created object once memory has been allocated for it (in classical OOP languages). But in JavaScript we will use object constructors We used object constructors to create some types of objects and preparing our objects for use and accepting arguments which a constructor will use to set the values of member propertie and method when the object…

Link building manual

Link Building SEO tutorial

Link Building SEO   Link building SEO has a tight connection with such definition as SEO. Nowadays, when people of all ages, races and nationalities have free (more or less) worldwide access to the Internet, it is quite natural to consider all these web-users as potential customers and clients of any business. Thus Internet users should be provided with clear and accurate specification of the goods and services they are…


Что такое ссылко-строение и почему это так важно?

Что такое ссылко-строение и почему это так важно? Являетесь ли вы новый связать здание или делали это на некоторое время, мы уверены, что вы найдете что-то полезное в этом руководстве. Пейзаж SEO и ссылка здание постоянно меняется, и сегодня, важность построения высококачественных ссылок никогда не была выше. Необходимо понять и реализовать высококачественные кампании важно, если вы собираетесь конкурировать и процветать в Интернете, и, что не собирается менять в ближайшее время….