Skip to content

Instantly share code, notes, and snippets.

View Danielss89's full-sized avatar

Daniel Strøm Danielss89

  • Copenhagen, Denmark
View GitHub Profile
before
'salonCalendar' => array(
'parameters' => array(
'locator' => '\Zend\Di\Locator',
),
),
now:
@Danielss89
Danielss89 / module.config.php
Created February 15, 2012 20:28
Module config which ads another path for entities
<?php
return array(
'display_exceptions' => true,
'di' => array(
'instance' => array(
'alias' => array(
'salonCalendar' => 'Salon\Controller\CalendarController',
),
'Zend\Mvc\Router\RouteStack' => array(
'parameters' => array(
@Danielss89
Danielss89 / DanFoceSSL
Created April 30, 2012 22:06
Force SSL on ZF2
<?php
namespace DanForceSSL;
use Zend\Module\Manager,
Zend\EventManager\StaticEventManager,
Zend\Module\Consumer\AutoloaderProvider;
class Module implements AutoloaderProvider
{

Keybase proof

I hereby claim:

  • I am danielss89 on github.
  • I am danielss89 (https://keybase.io/danielss89) on keybase.
  • I have a public key whose fingerprint is C4FD BD62 C8B5 CFBC 0A2F CF4F 540E AFCC 0E85 8A63

To claim this, I am signing this object:

@Danielss89
Danielss89 / gist:39b83200f6885dd05220
Last active August 29, 2015 14:25
Framework presenters

Battle of the frameworks

Presentations should be 10-20 minutes long and contain information on why the framework is good(don't bash the other frameworks).

  • Zend Framework 2 (Daniel Strøm)
  • Symfony (Need presenter)
  • Laravel (Need presenter)
  • CakePHP (José Lorenzo Rodriguez)
  • CodeIgniter (Simion Zafiu)