Ivan Rastvorov's Account

Ivan Rastvorov не в сети давно

Where to Hire Remote Developers

Published

Nowadays in 2018, more and more IT companies prefer hiring developers remotely. The employment market has changed and for many reasons, you don’t need to search for a local developer to have a job done.

0

3. Express.js Lessons. Templating with EJS: Layout, Block, Partials

Published

In real life we generally have more than one template. Moreover, if we create a website with several pages, it usually happens that a number of them are of the same design. The template systems should consider this aspect. Unfortunately, ejs doesn’t deal very well with this task. That’s why we are going to install a different templating system named ejs-locals(let us add it to app.js):

Category: Programming
0

3. Уроки Express.js. Шаблонизация с EJS: Layout, Block, Partials

Published

В реальной жизни у нас обычно больше, чем один шаблон. Более того, если уж так получилось, что мы делаем сайт со страницами, то, как правило, бывает так, что у нас множество страниц есть в одинаковом оформлении. Шаблонная система должна это предусматривать. К сожалению, ejs не очень хорошо с этим справляется. Поэтому, мы сейчас поставим немного другую систему для шаблонизации , которая называется ejs-locals(добавим в app.js)

Category: Programming
0

Express.js Lessons. Logger, Configuration, Templating with EJS. Part 2.

Published

Favicon is the connect of Middleware that checks whether the url has a view of favicon.ico; if the answer is ‘yes’, it reads favicon and outputs, otherwise it transfers control further. The logger outputs a record what kind of a request we’ve received. For example, if we launch the app now, the logger will output something, when we follow:

Category: Programming
0

2. Express.js Lessons. Logger, Configuration, Templating with EJS. Part 1.

Published

Hey all! To develop our app further, we need to do two more vital things – configuration and logging. We will use the nconf module for configuring:

Category: Programming
0

Full Node.js Course

Published

Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world. Please welcome, our first series of article about Node.js!

Category: Programming
0

Express.js Lessons. Express: Basics and Middleware. Part 2.

Published

Hey, guys! Let's continue our lesson about Express basics and Middleware. The result is (add to app.js):

Category: Programming
0

1. Express.js Lessons. Basics and Middleware. Part 1.

Published

Hey all! This and next articles will be devoted to various themes on development within the context of one app that we will consequently improve. This app is a web chat.

Category: Programming
0

23. Node.js Lessons. Domains, asynchronous try.. catch. Part 3.

Published

How and what does app.js consist of? It is made in a way that from the very beginning we create a domain and then launch our app within this domain. Here all modules can be connected, a server gets created, etc. But why do we connect modules here? The reason is that some other modules can be added when the connection happens, and they can connect others, too.

Category: Programming
0

23. Node.js Lessons. Domains, asynchronous try.. catch. Part 2.

Published

So, we continue our lesson. Let us make this example a little bit more complicated by adding work with the files in the following way:

Category: Programming
0

Sign in

Forgot password?

Or use a social network account

 

By Signing In \ Signing Up, you agree to our privacy policy

Password recovery

You can also try to

Or use a social network account

 

By Signing In \ Signing Up, you agree to our privacy policy