🌐 Public

Brush up on your PHP skills

By Tom Readings

Introduction

Survey of some more recent PHP tools and projects. For anyone who has mainly been working with other languages recently, or just been busy maintaining pre 5.4 apps or established frameworks.

Tom Readings — Learning Technologist, geek #edtech

Added by Tom Readings: “Debugging is less of a chore with a proper php profiler/debugger like xdebug, and some help from your IDE/editor and your browser.

2 Debugging with Xdebug and Sublime Text 3

Debugging - we all do it a lot. Writing code perfectly the first time around is hard and only a few (if any) succeed at it. More than a year ago, Shameer wrote an article on SitePoint about how you can debug your application using Xdebug and Netbeans. In this article, we are going to have a look at how

Added by Tom Readings: “PHP gets some bad press. A lot of it is undeserved. This article rounds up some of the forward movement in the php community but remains even handed. Especially useful topics are package management and TDD.

3 Why 2013 is the Year of PHP - Tuts+ Code Article

2012 was an excellent year for the PHP community, thanks to many badly needed features being added to version 5.4, as well as the countless projects, advancing PHP to the next level. In this article, I'd like to review a handful of the issues that people had with PHP in the past, and provide a glimpse at why 2013 just

Added by Tom Readings: “I find comparing one language framework to another really helpful in understanding both. The amendment to this article also has a neat write up of positive changes within the PHP ecosystem, each of which I intend to look into.

4 Ruby on Rails vs PHP - The good, the bad - Leonard Teo

Note - this article was written in 2012. I've added an addendum to update the article with latest thoughts on May 30th, 2014 at the bottom. I've been developing with PHP since version 2 (a very long time ago).

Added by Tom Readings: “Follow up on generators with practical examples

5 PHP Master | Generators in PHP

If you've followed my previous posts about iterators then you'll know that iteration is an important programming concept, but implementing the required interfaces to create an iterable object can be a hassle at best because of the amount of boilerplate code that is required. With the release of PHP 5.5, we finally have generators! In this article we'll take a

Added by Tom Readings: “Straight forward explanation of PHP 'generators'

6 ircmaxell's blog

The concept of generators was recently proposed for addition in PHP's core (Possibly for 5.5.0). While I believe that this is a great tool, it appears that many PHP developers aren't familiar with the concept of generators. So I thought I would take a little time and explain some of how it works, and how it can be used to

Added by Tom Readings: “Traits are a new feature of PHP that allow horizontal sharing of capabilities between classes

7 What are PHP Traits?

One of the problems of PHP as a programming language is the fact that you can only have single inheritance. This means a class can only inherit from one other class. However, a lot of the time it would be beneficial to inherit from multiple classes. For example, it might be desirable to inherit methods from a couple of different

Added by Tom Readings: “How to go about using Traits

8 Using Traits in PHP 5.4

Minimizing code duplication through better organization and code reuse is an important goal of Object Oriented Programming. But in PHP it can sometimes be difficult because of the limitations of the single inheritance model it uses; you might have some methods that you would like to use in multiple classes but they may not fit well into the inheritance hierarchy.

Added by Tom Readings: “Excellent explanation of the 'why' of php package management, and the 'how' of composer. Leaves no doubt.

9 Composer: Part 1 - What & Why | Nelmio Blog

You may have heard about Composer and Packagist lately. In short, Composer is a new package manager for PHP libraries. Quite a few people have been complaining about the lack of information, or just seemed confused as to what it was, or why the hell we would do such a thing. This is my attempt at clarifying things. This second

Added by Tom Readings: “Proper dependency management for PHP. Pear never really took off, and PHP developers must have been really jealous of ruby gems

10 Composer

Added by Tom Readings: “Using Composer to manage packages and dependencies is a great relief, much simpler and more powerful than pre-cursor PEAR. To get the most out of this I will need to create some packages of my own.

11 Creating your first Composer/Packagist package

Hi everybody! Today I'll write about how you can contribute with PHP community creating packages (or updating your's) using Composer and Packagist. First, if you're a PHP developer and don't know yet what is Composer, take a look on the post Why you should use Composer and how to start using it to get more information about. Using ComposerComposer is

Added by Tom Readings: “Test driven development has been a bigger hurdle than it should have been for php. Some of these links are a couple of years old, but reading around the subject should help preparation for using PHP unit more appropriately, and also for Laravel's functional testing, which is based on top of PHP unit.

12 Test-Driven PHP - Tuts+ Code Tutorials

12 Posts Let's be honest: the PHP community hasn't been as quick to the test-driven development scene as other communities, such as those around the Ruby and Python languages. We hope to help change that on Nettuts+! In this session, you'll learn both why and how to test-drive your applications using the fantastic PHPUnit. Ready? It's Time To Dig InLet's

Added by Tom Readings: “Simple functional testing for PHP, looks similar to capybara in Ruby. Makes Test Driven Development much more workable in PHP

13 Codeception

Added by Tom Readings: “PHP equivalent of Sinatra? (Ruby). This lightweight framework might serve as a useful counterpoint to the larger, more powerful Laravel framework, handling routing etc but staying out of the way a little. It will be useful to try some simple use cases in both, to illuminate some of Laravel's inner workings without going back to basics. Also a simpler system like this might be much more useful for basic apis etc

14 Slim Framework

Added by Tom Readings: “Advanced: HHVM looks like a sensible approach to scalability for php apps. Once the rest of this list is out of the way, I intend to get this up and running.

15 HHVM

HHVM is an open-source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining the development flexibility that PHP provides. HHVM runs much of the world's existing PHP. Developers and hosts are adopting HHVM. We are aware of minor incompatibilities (please open issues when you find

Vladimir Poluyan

Freshman

  • 2 Playlists
  • 0 Followers

Роман Лукьянов

Freshman

  • 0 Playlists
  • 0 Followers

hallovarvara

Freshman

  • 0 Playlists
  • 0 Followers

Сергей Гинц

Freshman

  • 0 Playlists
  • 0 Followers

KonshensX

Freshman

  • 0 Playlists
  • 0 Followers

cld3800

Freshman

  • 0 Playlists
  • 0 Followers

AHaa

Freshman

  • 0 Playlists
  • 0 Followers

Wern Ancheta

JavaScripter, PHP Junkie, Anime Fanatic, Pokemon Master, Supernatural Enthusiast

  • 0 Playlists
  • 0 Followers

Roman Bull Di Gaetano

Freshman

  • 0 Playlists
  • 0 Followers

Nikola Čupić

Expanding the Web

  • 0 Playlists
  • 0 Followers

NAVIN KUMAR CHAHAR

I AM HUMAN ,SIMPLE AND STRAIGHT.

  • 0 Playlists
  • 0 Followers

glomikuz

Freshman

  • 0 Playlists
  • 0 Followers

RubenKoopman

Freshman

  • 0 Playlists
  • 0 Followers

Flora Edwards

Freshman

  • 0 Playlists
  • 0 Followers

Khal Ixto

Computer Science student at UFPR

  • 0 Playlists
  • 0 Followers

Beanez

Freshman

  • 0 Playlists
  • 0 Followers

Madhunica Bala

Freshman

  • 0 Playlists
  • 0 Followers

Greg

Freshman

  • 0 Playlists
  • 0 Followers
Load more

Delete your comment

Are you sure you want to delete your comment?