Php

Last Month in PHP: 2016 March

Published: April 04, 2016

From a KCPUG lightning talk being given on 06 Apr 2016. BASH COMING TO WINDOWS! Yes, Microsoft is adding the linux Bash shell to Windows. - Uses Ubuntu user mode binaries - So, (maybe?) in the Windows Command Line: apt-get install nginx php7-fpm mysql-server php7-mysql PHP development on Windows is about to get much better! See: MSDN: BASH Running in…

Read more...

Last Month in PHP: 2016 February

Published: March 19, 2016

From a KCPUG lightning talk given on 02 Mar 2016 PHP Updates Security and bugfix updates to PHP were released in February. Upgrade if you have a version less than: - 7.0.3 - Added HTTP 451 - 5.6.18 - Added HTTP 451 - 5.5.32 CMSes Drupal released security updates. Upgrade! WordPress released a security update. Upgrade! - Drupal 8.0.4 -…

Read more...

Last Month in PHP: 2016 January

Published: February 06, 2016

From a KCPUG lightning talk given on 03 Feb 2016 January was a relatively light month in PHP. Yet, we saw an exciting new microframework get its first non-beta release. PHP Updates Security and bugfix updates to PHP were released in January. Upgrade if you have a version less than: - 7.0.2 - 5.6.17 - 5.5.31 CMSes Drupal and WordPress…

Read more...

Playing with Docker and Linked Containers

Published: January 26, 2016

In my current job, I am starting the process to upgrade our PHP 5.4 application to a PHP 5.6 application (PHP 7 is not yet support by the majority of the 3rd party libraries we use). I have been tasked with building the staging server for use in testing our legacy application as well as our newer Symfony-based application. We…

Read more...

Last Month in PHP: 2015 December

Published: January 06, 2016

From a KCPUG lightning talk given on 06 Jan 2016 December was a busy month in PHP. A major update to PHP was released, PHP-FIG approved a new PSR, major CMSes had major releases and/or were patched, and frameworks had major, minor, and patch releases. PHP 7.0.1 PHP 7.0 was released on 3 December and was patched to 7.0.1 two…

Read more...

My Year of Code

Published: November 13, 2015

2015 was my year to really dive into PHP. Up until this year, PHP was hobby language for me -- much as Python, Haskell, C++, Dart, JavaScript, and Java have been hobby languages. Granted, last year I finally took a job where PHP is where I spend half of my time. This year, I took up intensive study of PHP.…

Read more...

Bite of PHP: Switch Statement

Published: August 13, 2015

The "switch" statement within various languages, contains a similar structure. This makes the PHP switch statement familiar. A failing example of PHP's switch statement was brought up yesterday at work. Someone asked why the expected responses to this were not received. php <?php $convertQ = function ($str) { switch ($str) { case 0: return 'no'; case 'No': return 'no'; case…

Read more...

Php's Array_filter Oddity

Published: July 08, 2015

I was studying the arrayfilter in PHP and was enjoying coming up with a test that could help me learn better arrayfilter magic. For instance, to filter all words whose first letter is a vowel, I created this PHPUnit test: php public function testFilterVowelWords() { $vowel = function ($word) { $vowels = ["a", "e", "i", "o", "u"]; return inarray($word[0], $vowels);…

Read more...

Leveled up: PHP Certified

Published: May 08, 2015

On Wednesday, I took an extended lunch break in order to take the Zend PHP Certification test at a local Pearson VUE Testing Center. After a few years of using PHP and studying for a few months, I am a Zend Certified PHP Engineer! Books that have helped me: - Programming PHP, 3rd Ed by Kevin Tatroe, Peter MacIntyre, &…

Read more...

Lone Star PHP 2015

Published: April 28, 2015

I attended Lone Star PHP last year with much hope and even more trepidation as to my abilities to hold my own with other members of the PHP community. I was the recipient of the Lone Star PHP scholarship, so my attendance and stay were taken care of by the conference sponsors (thank you! thank you! thank you!). I spent…

Read more...