By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
<?php | |
// app/AppKernel.php | |
use Symfony\Component\Config\Loader\LoaderInterface; | |
use Symfony\Component\HttpKernel\Kernel; | |
class AppKernel extends Kernel | |
{ | |
public function registerBundles() | |
{ |
Date | Topics | URL | Summary |
---|---|---|---|
May 21st, 2015 | core team organization, issue tagging/organization, PSR-7 | logs | -- |
June 4th, 2015 | PSR-HttpFoundation, DI-PSR, issue triaging/organization, meeting organization | logs | -- |
June 18th, 2015 | workflow/notifications, removing forums/ML, 3.0 changes - templating | logs | -- |
July 2nd, 2015 | issues bot / HttpFoundation PSR-7 / dropping templating / new SE structure/ config component split / HttpKernel split | logs | summary |
July 16th, 2015 | issues bot / updates on initiatives / closing old issues | logs | -- |
July 30th, 2015 | deprecatio |
<?php | |
return Symfony\CS\Config\Config::create() | |
->level(Symfony\CS\FixerInterface::SYMFONY_LEVEL) | |
->fixers([ | |
'short_array_syntax', | |
'ordered_use', | |
]) | |
; |
A user provider reading users from the filesystem.
This is useful when you have an API with just a few different users (different frontends, not end users). Our data comes from elasticsearch for most API calls, so we don't want to block all access just because MySQL has gone away.
As we have a multi server setup, we have a cronjob to trigger the UserProvider::dumpUsers method regularly.
I wanted to be able to use Sculpin to generate GitHub pages. Here's what I did...
Created a super awesome Sculpin site from the Sculpin Blog Skeleton
Make sure everything is under version control in my master
branch (except things that shouldn't be. see the .gitignore
)
Updated publish.sh
:
#!/bin/bash
<?php | |
use Symfony\Component\HttpFoundation\RequestStack; | |
class HttpFacade | |
{ | |
/** | |
* @var RequestStack | |
*/ | |
private $requestStack; |
<?php | |
mb_internal_encoding("UTF-8"); | |
function λ($fn) { | |
list($args, $body) = explode('=>', $fn, 2); | |
$args = trim($args); | |
$args = ltrim($args, '('); | |
$args = rtrim($args, ')'); |