Download presentation
Presentation is loading. Please wait.
Published byAllan Bridges Modified over 9 years ago
1
Symfony2 - Step-by-step Portfolio 3.0 ◦ Symfony 2.0 ◦ MongoDB ◦ jQuery UI ◦ RESTfull services
2
Day 1 – Symfony 2 basic Purpose: a simple blog application Requirements: 1.Install a basic symfony 2.0 2.Overview a symfony application 3.Create new bundle /src/Likipe/BlogBundle 4.Create an entity Blog with doctrine ORM 5.Create simple CRUD actions. 6.Create simple views for the application.
3
1 – Installation symfony Tutorial: http://symfony.com/doc/current/book/inst allation.html http://symfony.com/doc/current/book/inst allation.html Achievement: ◦ Application structure ◦ Vendor (with Git) Notice: ◦ XAMPP is recommend XAMPP ◦ Download symfony 2.0.15 (.tgz) Download symfony 2.0.15
4
2 – Overview Tutorial: http://symfony.com/doc/current/book/page_creati on.html http://symfony.com/doc/current/book/page_creati on.html Achievement: ◦ Route/controller ◦ Run demo link ◦ View with Twig ◦ Basic configuration Note: ◦ Namespace ◦ Config with yaml ◦ Environment
5
3 – LikipeBlogBundle Tutorial: http://symfony.com/doc/current/book/page_c reation.html http://symfony.com/doc/current/book/page_c reation.html Achievement: ◦ Command line ◦ Bundle ◦ AppKernel Note: ◦ Bundle structure ◦ Default config
6
4 – Doctrine ORM Tutorial: http://symfony.com/doc/current/book/doctri ne.html http://symfony.com/doc/current/book/doctri ne.html Achievement: ◦ Entity ◦ Mapping (Annotation) ◦ Doctrine generate ◦ Repository & Query Builder Note: ◦ Base repository methods ◦ Default config
7
5 – C.R.U.D. Tutorial: http://symfony.com/doc/current/book/doc trine.html http://symfony.com/doc/current/book/doc trine.html Achievement: ◦ doctrine Persist & Flush ◦ Route -> action controller ◦ Controller’s request & response Note: ◦ Routes
8
6 – Views Tutorial: http://symfony.com/doc/current/book/tem plating.html http://symfony.com/doc/current/book/tem plating.html Achievement: ◦ Twig ◦ Layout & inheritance ◦ Link to page Note: ◦ Twig functions & filters Twig functions & filters ◦ Debugging Debugging
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.