Category - Symfony

0

Top 5 PHP Frameworks to use in 2018

We all know that all web applications have some things in common like login, registration & communication.  communication is carried out mostly...

Logging in symfony 2

To make our application more elegant while working in cron, we should implement logging to a file. Symfony2 supports some standard logs, through the...

Using Swiftmailer in symfony

  Symfony2 provides a default mailer component called swiftmailer. Its default configuration looks like this: # app/config/config.yml # ... #...

FOSJSRoutingBundle in symfony

When developing the JavaScript calls, developers can often face a problem with dynamically changing routing. Sometimes during the refactoring, some...

what are Fixtures symfony ?

After creating the database structure, it would be handy to prepare some test data. We can do this through fixtures. Unfortunately, Symfony2 does not...

Dealing with Forms in symfony

Forms handling, processing, and validation are some of the most common things that we do when we create a web application, and practically, the only...

Creating a list of tasks in symfony

After we are set, we should create a table with a list of our unfinished tasks. In the previous chapter, when we created a database model we...

Entities – the Model layer symfony

Entities – the Model layer Finally, we need to dive into the Model layer of Symfony2 framework. Symfony2 heavily relies on Doctrine2. Doctrine2 is...

Routing in symfony 2

Like with many other frameworks based on the concept of MVC, before any controller is actually executed, Symfony2 needs to know how to handle it. The...

Cleanups in symfony 2

Before we start writing our own app, we need to do some cleanups. We need to configure AppBundle to use the YAML configuration. While this is...

The configuration format of symfony

Symfony2 can handle configuration in different formats: YAML, XML, and annotations. The main configuration files within app/config are provided with...

Everything is a bundle in symfony

In the previous articles, we dug in to the basic Symfony2 directory structure. Within the src directory, we already had two bundles: one called...

Dive in to Symfony2 console

let’s take a look at the Symfony console script. We used it before to fire up the development server, but it offers more. Execute the...

configuration files in symfony

Each application has a need to hold some global and machine-specific parameters and configurations. Symfony2 holds configuration within the...

Directory structure of Symfony2

Let’s dive in to the initial directory structure within the typical Symfony application. Here it is: app bin src vendor web While Symfony2 is...

Installating and configuring symfony

Prior to installing Symfony2, you don’t need to have a configured web server. If you have at least PHP version 5.4, you can use the standalone...

The history of Symfony

There are many S ymfony versions around, and it’s good to know the differences between them to learn how the framework was evolving during...

Introduction to symfony

  The Symfony framework is currently one of the most popular PHP frameworks existing within the PHP developer’s environment. Version 2...

Pin It on Pinterest