Hướng dẫn tạo blog trong Symfony 2 framework

Hướng dẫn tạo blog trong Symfony 2 framework

Introduction

This tutorial will guide you through the process of creating a full featured blogging website using Symfony2. The Standard Distribution of the Symfony2 framework will be used, which includes the main components you will need when building your own websites. The tutorial is split into a number of parts, each part covering different aspects of Symfony2 and its components. This tutorial is aimed to be worked through similar to the symfony 1 Jobeet tutorial.

Tutorial Parts

Demo Website

The symblog website can be viewed at http://symblog.co.uk. The source code is available via Github. It follows along with each part of the tutorial

Coverage

This tutorial aims to cover the common tasks you are faced with when creating websites using Symfony2.

  1. Bundles
  2. Controllers
  3. Templating (Using TWIG)
  4. Model - Doctrine 2
  5. Migrations
  6. Data Fixtures
  7. Validators
  8. Forms
  9. Routing
  10. Asset Management
  11. Emailing
  12. Environments
  13. Customising Error pages
  14. Security
  15. The User & Sessions
  16. CRUD Generation
  17. Caching
  18. Testing
  19. Deployment

Symfony2 is highly customisable and provides a number of different ways to perform the same task. Some examples of this include writing configuration options in YAML, XML, PHP, or Annotation, and creating templates using Twig or PHP. To keep this tutorial simple we will use YAML and Annotations for configuration and Twig for templating. The Symfony book provides a great resource for examples of how to use the other methods. If other people would like to contribute to the completion of alternative methods simply fork the repository on Github and send over the pull requests :)

Translations

Spanish

Symblog has been translated into Spanish thanks to the contribution by Lisper.

French

Symblog has been translated into French thanks to the contribution by Clement Keirua.

Portuguese

Symblog has been translated into Brazilian Portuguese thanks to the contribution by TotLab - Pesquisa e Desenvolvimento Web.

Author

This tutorial is being created by dsyph3r.

Contributing

The source for this tutorial is available on Github. If you would like to improve and extend this tutorial simply fork the project and send over the pull requests. You can also raise issues using the GitHub Issue Tracker. If any one is interested in creating a much more visually pleasing design please get in touch!

Credits

Special thanks to all the contributors of the Official Symfony2 documentation. This provided an invaluable resource of information.

Flag Icons sourced from famfamfam.

Searching

Looking for a specific topic? Use the Search Page.

Bạn thấy bài viết này như thế nào?: 
No votes yet
Ảnh của Khanh Hoang

Khanh Hoang - Kenn

Kenn is a user experience designer and front end developer who enjoys creating beautiful and usable web and mobile experiences.

Bình luận (0)

 

Add Comment

Filtered HTML

  • Các địa chỉ web và email sẽ tự động được chuyển sang dạng liên kết.
  • Các thẻ HTML được chấp nhận: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Tự động ngắt dòng và đoạn văn.

Plain text

  • No HTML tags allowed.
  • Các địa chỉ web và email sẽ tự động được chuyển sang dạng liên kết.
  • Tự động ngắt dòng và đoạn văn.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Chúng ta có thể kiếm tiền từ Drupal Appstore

Chúng ta có thể kiếm tiền từ Drupal Appstore

Presently the drupal community is in an uproar, triggered by Robert Douglass' announcement of his session at the Drupal Dev Days in Brussels

Những nết nổi bật của phiên bản Joomla 3.0

Những nét nổi bật của phiên bản Joomla 3.0

Joomla là một trong những CMS dùng để thiết kế website thông dụng và mạnh mẽ nhất hiện nay. Ngày 27/09, phiên bản joomla 3.0.0 đã chính thức được ra mắt. Đây là phiên bản được phát hành theo cơ chế STS “Standard Term Support”.

Hướng dẫn mua vé dự DrupalCon Los Angeles tháng 5 năm 2015

Hướng dẫn mua vé dự DrupalCon Los Angeles tháng 5 năm 2015

When you purchase your tickets, you may notice that the process for registering is a little different than before. 

Công ty diệt chuột T&C

 

Diet con trung