<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/vendor/feed/atom.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US">
                        <id>https://www.glutendesign.com/feeds/rss</id>
                                <link href="https://www.glutendesign.com/feeds/rss" rel="self"></link>
                                <title><![CDATA[Gluten Design]]></title>
                    
                                <subtitle></subtitle>
                                                    <updated>Mon, 05 Feb 2018 11:15:11 +0100</updated>
                        <entry>
            <title><![CDATA[6 astuces pour les Collection dans Laravel]]></title>
            <link rel="alternate" href="https://www.glutendesign.com/posts/6-astuces-pour-les-collection-dans-laravel" />
            <id>https://www.glutendesign.com/5</id>
            <author>
                <name><![CDATA[Gluten Design]]></name>
            </author>
            <summary type="html">
                <![CDATA[Jeff Madsen présente six astuces très utiles si vous travaillez avec Laravel et notamment son excellent ORM, Eloquent.
La prochaine fois que vous avez à faire un &lt;select&gt; dans un formulaire, n’oubliez pas celle-ci (modifiée pour Laravel 5.1) :
$engineer = $collection
               -&gt;where('type', 'engineer')
	           -&gt;lists('first_name')
	           -&gt;all();

Voir les autres as...]]>
            </summary>
                                    <updated>Wed, 16 Dec 2015 11:50:44 +0100</updated>
        </entry>
            <entry>
            <title><![CDATA[Automatic password resets with Laravel]]></title>
            <link rel="alternate" href="https://www.glutendesign.com/posts/automatic-passwords-resets-with-laravel" />
            <id>https://www.glutendesign.com/6</id>
            <author>
                <name><![CDATA[Gluten Design]]></name>
            </author>
            <summary type="html">
                <![CDATA[I’ve recently had to implement a way to force the registred users of a Laravel 5.1 application to change their passwords after a given period. It’s not a very good security measure if you ask me because of the burden it puts on the users: an effective security policy is a necessary trade-off between ease of use and things like password complexity. But if you ever need to implement such functionnal...]]>
            </summary>
                                    <updated>Wed, 16 Dec 2015 11:50:58 +0100</updated>
        </entry>
            <entry>
            <title><![CDATA[Detect and change language on the fly with Laravel]]></title>
            <link rel="alternate" href="https://www.glutendesign.com/posts/detect-and-change-language-on-the-fly-with-laravel" />
            <id>https://www.glutendesign.com/7</id>
            <author>
                <name><![CDATA[Gluten Design]]></name>
            </author>
            <summary type="html">
                <![CDATA[If you’re builiding a multilingual site you may want to guess the user’s language in order to provide the correct content and still let her decide afterwards which language to use. So this a is two part problem:

Find a way to detect the user’s native language and tell Laravel to use it
Provide a way for the user to change it and store that choice in session

This tutorial will <em>not</em> cover...]]>
            </summary>
                                    <updated>Wed, 16 Dec 2015 11:49:59 +0100</updated>
        </entry>
            <entry>
            <title><![CDATA[A Laravel factory with starting and ending dates]]></title>
            <link rel="alternate" href="https://www.glutendesign.com/posts/laravel-factory-starting-ending-dates" />
            <id>https://www.glutendesign.com/8</id>
            <author>
                <name><![CDATA[Gluten Design]]></name>
            </author>
            <summary type="html">
                <![CDATA[Laravel provides a convenient way to seed your database with fake data for testing purpose using a system of factories for your Eloquent models.
vh
This is a demonstration of how to create a factory for a model that is using starting and ending dates, like a Workshop model for example.
First we need a starting date that would be useful for the tests: one that’s not already past and yet not too far...]]>
            </summary>
                                    <updated>Mon, 04 Jan 2016 15:06:48 +0100</updated>
        </entry>
            <entry>
            <title><![CDATA[Search for your github stars with Alfred]]></title>
            <link rel="alternate" href="https://www.glutendesign.com/posts/search-for-your-github-stars-with-alfred" />
            <id>https://www.glutendesign.com/9</id>
            <author>
                <name><![CDATA[Gluten Design]]></name>
            </author>
            <summary type="html">
                <![CDATA[As part of my web development activity I find myself constantly referencing the Github repositories of libraries used in my current project. I also got into the habit of starring every repo that I’m using as it is quite convenient to filter out the bazilion Github repositories by going to the dedicated Your stars page.
As an avid user of Alfred, the next logical step is to make use of the awesome...]]>
            </summary>
                                    <updated>Wed, 20 Jan 2016 15:56:14 +0100</updated>
        </entry>
            <entry>
            <title><![CDATA[Drupal Code Linting with Sublime Text, PHPStorm and VSCode]]></title>
            <link rel="alternate" href="https://www.glutendesign.com/posts/drupal-code-linting-with-sublime-text-phpstorm-and-vscode" />
            <id>https://www.glutendesign.com/10</id>
            <author>
                <name><![CDATA[Gluten Design]]></name>
            </author>
            <summary type="html">
                <![CDATA[Using ZSH?
Create a .zprofile with this: export PATH=$HOME/.composer/vendor/bin:$PATH
Getting CodeSniffer and Drupal Coder


Install code sniffer v2.7 globally with composer (see this issue): composer global require squizlabs/php_codesniffer


Install drupal/coder globally with composer: composer global require drupal/coder


Register the Drupal and DrupalPractice Standard with PHPCS: phpcs --conf...]]>
            </summary>
                                    <updated>Mon, 05 Feb 2018 11:15:11 +0100</updated>
        </entry>
    </feed>
