Option A)
Null content items break things.
foreach ($foos as $foo) {
if (! $foo instanceof Face) {
throw new Exception ('AAAGGGGGHHH!');
}
}
Option A)
Null content items break things.
foreach ($foos as $foo) {
if (! $foo instanceof Face) {
throw new Exception ('AAAGGGGGHHH!');
}
}
Following the assumption that part of what makes something a "framework" is that it dictates architecture, the "sample application" or "application layer" is what should be called the "Framework". In which case those people would label these repos differently.
https://github.com/laravel/laravel/ - This is the "framework"
https://github.com/illuminate - This is the "component vendor", where multiple "components" or "packages" can be found.
https://github.com/laravel/framework - This is... something other than "framework". FuelPHP use foundation, or maybe "kernel", or... something.
For other projects this distinction is different.
We had a long discussion about all of this over email (should have done that sooner) and here are most of the points for anyone reading this:
If you want to add a line in a twitter bio about Laravel, DO IT. If you want to put on your LinkedIn profile that you use Laravel on your projects, DO IT. You’re not hurting PHP. You’re helping it and anyone who was around during PHP’s dark days should know this.
I never suggested you shouldn’t do it, or that you would “hurt PHP”. I said branding yourself as a “Laravel developer” first is damaging to yourself. Lots of people branded themselves as a CodeIgniter developer for a while. What good has that done them now?
People will not be confused by this. Employers will not be confused by this. As someone who has probably looked at 1000 resumes for Laravel developers I’ve never seen even one where the only reference to anything PHP or development related is Laravel.
Here’s one. http://www.linkedin.com/profile/view?id=263426041&authType=OUT_OF_NETWORK&authToken=a0_e
<?php | |
$foo = null; | |
// If's - verbose and uneccassry | |
if (! $foo) { | |
$foo = 'default'; | |
} | |
// Short Ternary syntax |
{ | |
"require": { | |
"laravel/framework": "4.0.*", | |
}, | |
"require-dev": { | |
"behat/behat": "2.4.*", | |
"mockery/mockery": "0.7.*", | |
"fzaninotto/Faker": "1.2.*", | |
"pdepend/pdepend" : "1.1.*", |
$1 - That warm fuzzy feeling of being a good person
$5 - A thank you tweet praising your or your company
$10 - Any one of the following:
[2013-06-25T15:50:22+00:00] INFO: Processing template[/etc/sudoers] action create (sudo::default line 41) | |
[2013-06-25T15:50:22+00:00] INFO: Processing execute[apt-get-update] action run (apt::default line 22) | |
[2013-06-25T15:50:22+00:00] INFO: Processing execute[apt-get update] action nothing (apt::default line 29) | |
[2013-06-25T15:50:22+00:00] INFO: Processing package[update-notifier-common] action install (apt::default line 36) | |
[2013-06-25T15:50:22+00:00] INFO: Processing execute[apt-get-update-periodic] action run (apt::default line 40) | |
[2013-06-25T15:50:22+00:00] INFO: Processing directory[/var/cache/local] action create (apt::default line 50) | |
[2013-06-25T15:50:22+00:00] INFO: Processing directory[/var/cache/local/preseeding] action create (apt::default line 50) | |
[2013-06-25T15:50:22+00:00] INFO: Processing package[git] action install (git::default line 24) | |
[2013-06-25T15:50:22+00:00] INFO: Processing package[build-essential] action install (build-essential::default line 48) | |
[2013-06-25T15:50:22+00:00] INFO: |