- Complete Working Example
- Symfony - CMF Edition
- Symfony - REST Edition
- Symfony - Advanced Concepts
- Symfony - Unit Testing
- Symfony - Email Management
- Symfony - Logging
- Symfony - Internationalization
- Cookies & Session Management
- Symfony - Ajax Control
- Symfony - File Uploading
- Symfony - Validation
- Symfony - Forms
- Symfony - Doctrine ORM
- Symfony - View Engine
- Symfony - Routing
- Symfony - Controllers
- Creating a Simple Web Application
- Symfony - Bundles
- Symfony - Expression
- Symfony - Events & EventListener
- Symfony - Service Container
- Symfony - Components
- Symfony - Architecture
- Symfony - Installation
- Symfony - Introduction
- Symfony - Home
Symfony Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Symfony - CMF Edition
Content management system is one of the largest market in the web apppcation scenario. There are a lot of frameworks available for content management system, in virtually all languages under the sun. Most of the frameworks are easy to work as an end customer but very hard to work with as a developer and vice-versa.
Symfony provides a simple and easy framework for a developer to start with. It has all the basic features expected by an end customer as well. In short, it is the responsibipty of the developer to provide a great experience for the end customer.
Let us see how to install a CMS apppcation template using Symfony CMF edition.
Step 1 − Download Symfony CMF sandbox using the following command.
composer create-project symfony-cmf/sandbox cmf-sandbox
This will download the Symfony CMF.
Step 2 − Try to configure it by asking some questions. For all the questions, select the default answer except database. For database, select pdo_sqpte. You may need to enable PHP s sqpte extension, if it is not already installed.
Step 3 − Create demo database using the console apppcation as follows.
php app/console doctrine:database:create
Step 4 − Load the demo data into the database using the following command.
php app/console doctrine:phpcr:init:dbal --force php app/console doctrine:phpcr:repository:init php app/console doctrine:phpcr:fixtures:load -n
Step 5 − Now, run the apppcation using the following command.
php app/console server:run
Step 6 − Finally, open the apppcation in the browser using http://localhost:8000/.
It will produce the following output −
Advertisements