These are chat archives for ppi/framework

17th
Nov 2015
Paul Dragoonis
@dragoonis
Nov 17 2015 00:07
I’ve been coding tonight - updating the create module Console command to accept params for Templating Engine and Router
:shipit:
Paul Dragoonis
@dragoonis
Nov 17 2015 03:00
Refactored the whole Create Module console command, and it now accepts input for chosen templating engine and router.
Paul Dragoonis
@dragoonis
Nov 17 2015 03:58
$ app/console module:create HelloModule
Where's the modules dir? [/Users/dragoonis/code/ppi/skeletonapp/modules]:
Choose your templating engine [php]
  [1] php
  [2] twig
 > 2
Choose your routing engine [symfony]
  [1] symfony
  [2] aura
 > 2
Created module: HelloModule
To activate it, add 'HelloModule' to your 'active_modules' setting in your app config file.
Paul Dragoonis
@dragoonis
Nov 17 2015 04:41
More :)
dragoonis$ app/console module:create HelloModule
Where is the modules dir?
  [1] /Users/dragoonis/code/ppi/skeletonapp/modules
 > 1
Choose your templating engine [php]
  [1] php
  [2] twig
  [3] smarty
 > 2
Choose your routing engine [symfony]
  [1] symfony
  [2] aura
  [3] laravel
 > 2
Created module: HelloModule
To activate it, add 'HelloModule' to your 'active_modules' setting in your app config file.
4:43am - I will sleep now ;)
Paul Dragoonis
@dragoonis
Nov 17 2015 11:36
Morning!
Paul Dragoonis
@dragoonis
Nov 17 2015 15:07
@dannym87 can you update a github ticket with your latest work on the symfony bridge / PSR-7 integration ?
Korvin Szanto
@KorvinSzanto
Nov 17 2015 20:13
@dragoonis saw the irc discussion and wanted to add a pain point in foundation -> psr-7 bridging
due to UploadedFileInterface->moveTo only allowing one move ever, you can only bridge a psr-7 request to a symfony request once
the docs in symfony's bridge don't reflect that, I've been waiting on confirmation for awhile
symfony/psr-http-message-bridge#15
so make sure if you bridge from PSR-7 to http foundation, you wrap it in a try catch and write your code to deal with innevitable failures