Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
OGAWA Katsuhiro‣ @fivestr‣
OGAWA Katsuhiro‣ @fivestr‣
‣ http://crocos.co.jp/‣ 2011 2     7‣ Facebook‣                    PHP   2
‣‣ symfony 1.x‣ Form‣ Validator‣ Form‣
‣
symfony 1.x‣ symfony 1.x‣ Doctrine      ORM   Form‣
Symfony2‣ Form‣    ‣‣ ORM
‣ symfony 1.x Form     Doctrine‣ Symfony2 ‣
Form
Form‣ SymfonyComponentForm‣          Form
Form‣ Form              3    ‣ FormFactory    ‣ FormBuilder    ‣ FormType‣                   Form
‣    AbstractType‣ FormBuilder FormType
FormType‣ FormType‣              FormType‣ FormTypeInterface‣ HTML5
FormType‣   BirthdayType     ‣   LocaleType‣   CheckboxType     ‣   MoneyType‣   ChoiceType       ‣   NumberType‣   Collec...
FormBuilder‣ FormType buildForm()    FormBuilder  FormType‣        1    FormBuilder             FormType
FormType‣ add()             2   FormType‣ FormType‣              DI
‣ alias FormType
FormFactory‣ FormBuilder       Form‣ create()            1  FormType      2
Form‣        1   Form‣ Form
‣ createView()  FormView‣ FormView
‣ Twig ‣ form_widget() ‣ form_errors() ‣ form_label()
‣ bind()‣ bindRequest()   Request‣
‣ FormBuilder   FormType‣ FormFactory    Form‣ Form‣                   createView()                FormView
Validator
Validator‣ SymfonyComponentValidator...‣ Validator‣ Form                             Form                       Validator
ConstraintValidator‣ Constraint ‣‣ ConstraintValidator ‣
Constraints‣   Blank               ‣   Locale‣   Callback            ‣   Max‣   Choice              ‣   MaxLength‣   Colle...
Form Validator‣‣ Form       isValid()‣                        Form
symfony 1.x‣ symfony 1.x‣ Symfony2
‣ 1‣     Constraint‣
Form
FormTypeGuesser‣ Doctrine Validator           FormType‣                      Email               EmailType‣ FormBuilder ad...
FormTypeGuesser‣ data_class      FormFactory   create()    2
DataTransformer‣‣          true or false ’1’ or ‘’      BooleanToStringTransformer    ‣ DatetimeToString    ‣ FileToArray
EventDispatcher‣ symfony 1.x       Observer‣ Form      EventDispatcher‣
FormEvents‣ form.pre_bind‣ form.post_bind‣ form.pre_set_data‣ form.post_set_data‣ form.bind_client_data‣ form.bind_norm_da...
FormType‣ FormType getParent()            FormType‣             AbstractType‣ Form    ‣ DataTransformer
FormType
‣ symfony 1.x   Form              Form‣ symfony 1.x                       Symfony2        FormType
‣‣
‣‣‣
Symfony2のフォームフレームワーク
Symfony2のフォームフレームワーク
Symfony2のフォームフレームワーク
Symfony2のフォームフレームワーク
Symfony2のフォームフレームワーク
Symfony2のフォームフレームワーク
Symfony2のフォームフレームワーク
Symfony2のフォームフレームワーク
Symfony2のフォームフレームワーク
Symfony2のフォームフレームワーク
Symfony2のフォームフレームワーク
Symfony2のフォームフレームワーク
Symfony2のフォームフレームワーク
Symfony2のフォームフレームワーク
Symfony2のフォームフレームワーク
Symfony2のフォームフレームワーク
Upcoming SlideShare
Loading in …5
×

Symfony2のフォームフレームワーク

13,749 views

Published on

2011.06.04 第4回Symfony2勉強会

Published in: Technology
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Symfony2のフォームフレームワーク

  1. 1. OGAWA Katsuhiro‣ @fivestr‣
  2. 2. OGAWA Katsuhiro‣ @fivestr‣
  3. 3. ‣ http://crocos.co.jp/‣ 2011 2 7‣ Facebook‣ PHP 2
  4. 4. ‣‣ symfony 1.x‣ Form‣ Validator‣ Form‣
  5. 5.
  6. 6. symfony 1.x‣ symfony 1.x‣ Doctrine ORM Form‣
  7. 7. Symfony2‣ Form‣ ‣‣ ORM
  8. 8. ‣ symfony 1.x Form Doctrine‣ Symfony2 ‣
  9. 9. Form
  10. 10. Form‣ SymfonyComponentForm‣ Form
  11. 11. Form‣ Form 3 ‣ FormFactory ‣ FormBuilder ‣ FormType‣ Form
  12. 12. ‣ AbstractType‣ FormBuilder FormType
  13. 13. FormType‣ FormType‣ FormType‣ FormTypeInterface‣ HTML5
  14. 14. FormType‣ BirthdayType ‣ LocaleType‣ CheckboxType ‣ MoneyType‣ ChoiceType ‣ NumberType‣ CollectionType ‣ PasswordType‣ CountryType ‣ PercentType‣ DateTimeType ‣ RadioType‣ DateType ‣ RepeatedType‣ EmailType ‣ SearchType‣ FieldType ‣ TextType‣ FileType ‣ TextareaType‣ FormType ‣ TimeType‣ HiddenType ‣ Timezonetype‣ IntegerType ‣ UrlType‣ LanguageType ‣ EntityType
  15. 15. FormBuilder‣ FormType buildForm() FormBuilder FormType‣ 1 FormBuilder FormType
  16. 16. FormType‣ add() 2 FormType‣ FormType‣ DI
  17. 17. ‣ alias FormType
  18. 18. FormFactory‣ FormBuilder Form‣ create() 1 FormType 2
  19. 19. Form‣ 1 Form‣ Form
  20. 20. ‣ createView() FormView‣ FormView
  21. 21. ‣ Twig ‣ form_widget() ‣ form_errors() ‣ form_label()
  22. 22. ‣ bind()‣ bindRequest() Request‣
  23. 23. ‣ FormBuilder FormType‣ FormFactory Form‣ Form‣ createView() FormView
  24. 24. Validator
  25. 25. Validator‣ SymfonyComponentValidator...‣ Validator‣ Form Form Validator
  26. 26. ConstraintValidator‣ Constraint ‣‣ ConstraintValidator ‣
  27. 27. Constraints‣ Blank ‣ Locale‣ Callback ‣ Max‣ Choice ‣ MaxLength‣ Collection ‣ Min‣ Country ‣ MinLength‣ Date ‣ NotBlank‣ DateTime ‣ Null‣ Email ‣ NotNull‣ False ‣ Regex‣ File ‣ Time‣ Image ‣ True‣ Ip ‣ Type‣ Language ‣ Url
  28. 28. Form Validator‣‣ Form isValid()‣ Form
  29. 29. symfony 1.x‣ symfony 1.x‣ Symfony2
  30. 30. ‣ 1‣ Constraint‣
  31. 31. Form
  32. 32. FormTypeGuesser‣ Doctrine Validator FormType‣ Email EmailType‣ FormBuilder add() 2
  33. 33. FormTypeGuesser‣ data_class FormFactory create() 2
  34. 34. DataTransformer‣‣ true or false ’1’ or ‘’ BooleanToStringTransformer ‣ DatetimeToString ‣ FileToArray
  35. 35. EventDispatcher‣ symfony 1.x Observer‣ Form EventDispatcher‣
  36. 36. FormEvents‣ form.pre_bind‣ form.post_bind‣ form.pre_set_data‣ form.post_set_data‣ form.bind_client_data‣ form.bind_norm_data‣ form.set_data
  37. 37. FormType‣ FormType getParent() FormType‣ AbstractType‣ Form ‣ DataTransformer
  38. 38. FormType
  39. 39. ‣ symfony 1.x Form Form‣ symfony 1.x Symfony2 FormType
  40. 40. ‣‣
  41. 41. ‣‣‣

×