次世代PHPフレームワーク Symfony2

2,835 views

Published on

PHPカンファレンス関西のLT

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,835
On SlideShare
0
From Embeds
0
Number of Embeds
447
Actions
Shares
0
Downloads
17
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • \n
  • 新しくSymfony2のためのサイト\nフランスセンシオのファビアン\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • more than 300 pull requests in the last month\n
  • more than 300 pull requests in the last month\n
  • \n
  • \n
  • \n
  • 次世代PHPフレームワーク Symfony2

    1. 1. namespace AcmeDemoBundleContoller;use SymfonyBundleFrameworkBundleControllerController;use SymfonyComponentHttpFoundationRedirectResponse;use AcmeDemoBundleFormContactForm;class DemoController extends Controller{ public function contactAction() { ......... }}
    2. 2. namespace AcmeDemoBundleContoller;use SymfonyBundleFrameworkBundleControllerController;use SymfonyComponentHttpFoundationRedirectResponse;use AcmeDemoBundleFormContactForm;class DemoController extends Controller{ public function contactAction() { ......... }}
    3. 3. public function registerBundles(){ $bundles = array( new SymfonyBundleFrameworkBundleFrameworkBundle(), new SymfonyBundleTwigBundleTwigBundle(), new SymfonyBundleZendBundleZendBundle(), new SymfonyBundleSwiftmailerBundleSwiftmailerBundle(), new SymfonyBundleDoctrineBundleDoctrineBundle(), new SymfonyBundleAsseticBundleAsseticBundle(), new SensioBundleFrameworkExtraBundleSensioFrameworkE );}
    4. 4. public function registerBundles(){ $bundles = array( new SymfonyBundleFrameworkBundleFrameworkBundle(), new SymfonyBundleTwigBundleTwigBundle(), new SymfonyBundleZendBundleZendBundle(), new SymfonyBundleSwiftmailerBundleSwiftmailerBundle(), new SymfonyBundleDoctrineBundleDoctrineBundle(), new SymfonyBundleAsseticBundleAsseticBundle(), new SensioBundleFrameworkExtraBundleSensioFrameworkE );}

    ×