Expanding a block to the empty space of the parent element (div expand)

Today I came across an unpleasant problem - when using block layout, I needed to stretch a block to fill the empty space of the parent element vertically (div expand). Naturally, there is no difficulty in doing this horizontally - simply set the display to block and it will work =).

List of routine web programming tasks

programmerWhen studying a new framework or web programming language, you may sometimes feel confused and ask yourself: When can I consider that I have learned the product to a decent level? When can I say that I know it, and if there are some things I don't know, I can quickly grasp/read them in the manual/search for them on Google?

Form without tables

To create a form using tables, even a beginner webmaster can do it, but for formatting a tableless form, some skills are required. Let's consider a simple example, such as a login form.

Using templates in Symfony framework. (Lesson 7. Twig)

Using templates in Symfony framework can be done in several ways. First, you can use PHP templates. But the preferred option is to use the Twig template engine (by default). Twig is a compiling open-source template engine written in PHP. It produces PHP/HTML code as output. Besides being very functional, Twig is also very fast.

Routing in the Symfony framework (Lesson 6: Routing)

After learning how to create controllers (here), it is important to understand how a user can invoke a controller and how to work with it.

The Symfony framework has a special feature called routing system. In yii framework , for example, routing is determined by the file structure of the application by default (although you can still use a routing system with the necessary tools). However, in Symfony framework, you have to define the routing manually (excluding the basic routing created by the bundle generator).

Creating and deleting bundles in Symfony (Lesson 4)

So, after studying the materials 1, 2, 3, it's time to start developing your first Symfony application =). So, as you already know, everything in Symfony is a bundle. And, as you remember, the place for bundles is the src/ directory.

Ruby programming language

Ruby - is a programming language with complex, but expressive grammar and a basic class library with a rich and powerful API. Ruby incorporates features from languages such as Lisp, Perl, and Smalltalk, and uses a grammar that programmers familiar with C and Java languages can learn. Ruby is a fully object-oriented language, but it also supports procedural and functional programming styles.

Installation of Symfony 2.* (Lesson 2. Preparation)

So ... We have already familiarized ourselves with Symfony framework (here) and gained the courage to install it. Symfony installation can be done in two ways. The first one is manual - download the archive from the official website (http://symfony.com/, just in case =)) All according to the standard - download, unpack to the web server directory, use.