YoVDO

Getting Crazy with Form Themes

Offered By: SymfonyCasts

Tags

Symfony Courses Web Development Courses Twig Courses

Course Description

Overview

We already learned all the form basics. But, controlling how you render your forms? That's a huge and super-fun topic all on its own. Themes! Form variables! Rainbows! Let's go!

  • Creating your own form theme
  • Controller form variables
  • Using form variables in your theme
  • Rendering a field 100% by hand
  • Controller variables in your form type
  • Adding a "help" text system that renders for all fields
  • Leveraging a FormTypeExtension to tweak any field in your system
  • Customizing how a single field renders

This stuff is black magic: learn these fundamentals, and you'll be unstoppable!


Syllabus

  • Form Parts & Functions Reference
  • Form Rendering Functions
  • Form Variables are the Bomb
  • Pro Form Theming
  • Form Theming: Add an Error Icon
  • Complex Blocks & the parent() Function
  • Adding Form Field Help Text
  • Go Deeper: Vars, Twig merge & Form Functions
  • Form Options & Variables: Dream Team
  • Controlling Vars with finishView()
  • Form Type Extension Magic
  • Compound & Embedded Forms
  • Rendering Fields Manually

Taught by

Ryan Weaver and Leanna Pelham

Related Courses

Software as a Service
University of California, Berkeley via Coursera
Intro to Computer Science
University of Virginia via Udacity
Web Development
Udacity
Software Engineering for SaaS
University of California, Berkeley via Coursera
CS50's Introduction to Computer Science
Harvard University via edX