1 / 8

Symfony2 - Step-by-step

Symfony2 - Step-by-step. Portfolio 3.0 Symfony 2.0 MongoDB jQuery UI RESTfull services. Day 1 – Symfony 2 basic. Purpose: a simple blog application Requirements: Install a basic symfony 2.0 Overview a symfony application Create new bundle / src / Likipe / BlogBundle

emelda
Download Presentation

Symfony2 - Step-by-step

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Symfony2 - Step-by-step • Portfolio 3.0 • Symfony 2.0 • MongoDB • jQuery UI • RESTfull services

  2. Day 1 – Symfony2 basic • Purpose: a simple blog application • Requirements: • Install a basic symfony2.0 • Overview a symfony application • Create new bundle /src/Likipe/BlogBundle • Create an entity Blog with doctrine ORM • Create simple CRUD actions. • Create simple views for the application.

  3. 1 – Installation symfony • Tutorial: http://symfony.com/doc/current/book/installation.html • Achievement: • Application structure • Vendor (with Git) • Notice: • XAMPP is recommend • Download symfony 2.0.15 (.tgz)

  4. 2 – Overview • Tutorial: http://symfony.com/doc/current/book/page_creation.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_creation.html • Achievement: • Command line • Bundle • AppKernel • Note: • Bundle structure • Default config

  6. 4 – Doctrine ORM • Tutorial: http://symfony.com/doc/current/book/doctrine.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/doctrine.html • Achievement: • doctrine Persist & Flush • Route -> action controller • Controller’s request & response • Note: • Routes

  8. 6 – Views • Tutorial: http://symfony.com/doc/current/book/templating.html • Achievement: • Twig • Layout & inheritance • Link to page • Note: • Twig functions & filters • Debugging

More Related