symfonyイントロダクション
Upcoming SlideShare
Loading in...5
×
 

symfonyイントロダクション

on

  • 2,479 views

symfony触ったことない人向けの資料です。

symfony触ったことない人向けの資料です。

Statistics

Views

Total Views
2,479
Views on SlideShare
2,449
Embed Views
30

Actions

Likes
1
Downloads
1
Comments
0

1 Embed 30

http://www.slideshare.net 30

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

symfonyイントロダクション symfonyイントロダクション Presentation Transcript

  • symfony introduction MITSUMUNE Tomohiro 2010/05/13 2010 5 13
  • About • Web • • Mojavi + Ruby on Rails • PHP5 • DRY KISS XP 2010 5 13
  • Features • MVC • URL Routing • configuration • ORM • i18n • scaffolding • CLI • 2010 5 13
  • Version 1.0 2007 1.0.22 1.1 1.2 1.2 1.0 1.3 1.2 1.4 2.0 1.X http://www.symfony-project.org/installation 2010 5 13
  • Basics 2010 5 13
  • MVC Archtecture 2010 5 13
  • project_root/ apps/ application_root/ config/ i18n/ lib/ modules/ templates/ cache/ config/ data/ lib/ model/ log/ plugins/ symfony test/ web/ 2010 5 13
  • Project Initialize • • symfony init-project [project_name] • • symfony init-app [app_name] • • symfony init-module [app_name] [module_name] 2010 5 13
  • Project Initialize • • 1.0 1.4 • 1.0 • symfony init-module app_name module • 1.4 • symfony generate:module app_name module 2010 5 13
  • module directory modules/ sample/ actions/ config/ lib/ templates/ validate/ hogehoge/ ... 2010 5 13
  • Controller 2010 5 13
  • Actions 2010 5 13
  • Actions • executeXXX • XXX action • Routing • View • • 2010 5 13
  • Routing • module action • routing.yml http://www.yourdomain.com/[module_name]/[action_name] 2010 5 13
  • Routing 2010 5 13
  • User Session • PHP • get/set $this->getUser()->setAttribute(‘notice’, ‘Hello,Wolrd!’) $this->setFlash(‘salt’, ‘password’) 2010 5 13
  • Filter • • 2010 5 13
  • View 2010 5 13
  • View • XXXSuccess.php • XXX • • XXXError.php • action 2010 5 13
  • Helpers • function HTML • Helper • link_to, image_tag, form_tag • Helper 2010 5 13
  • Forms • 1.0 1.1 • 1.0 • Form Helper • 1.1 • sfForm Class 2010 5 13
  • Validators • validation 2 • controller validateXXX • yaml • Validation class • Validation class 2010 5 13
  • Validators 2010 5 13
  • Page Layout • decorator • global layout • action content 2010 5 13
  • Page Fragment • • •2 • controller view components • view partial • _hogehoge.php Fragment 2010 5 13
  • Page Fragment • • include_partial • include_component 2010 5 13
  • Model 2010 5 13
  • ORM • Object-Relational Mapping • • SQL • OK • Propel • 1.2 Doctrine 2010 5 13
  • schema • • YAML (schema.yml) 2010 5 13
  • schema 2010 5 13
  • CLI • Model • symfony propel-build-model • schema SQL • symfony propel-build-sql 2010 5 13
  • DB Access • • = Class • = Object • = Property 2010 5 13
  • DB Access 2010 5 13
  • Cache 2010 5 13
  • Caching • • controller • view • fragment • configuration 2010 5 13
  • Caching • • file • database • APC • memcached 2010 5 13
  • Plugins 2010 5 13
  • Plugins • • • • http://www.symfony-project.org/plugins/ • 2010 5 13
  • Plugins • install • symfony plugin-install plugin_name • list • symfony plugin-list • uninstall • symfony plugin-uninstall symfony/ plugin_name 2010 5 13