If you're a PHP developer and have been looking for a good way to manage 3rd party dependencies in your applications, look no further than Composer. If you're already using it, you know how useful it can be, but you might not know about some of the extra features that come with it. In this new tutorial on PHPMaster.com, they describe the automation that is also possible as a part of Composer's management process.Following Alexander Cogneau's introduction to dependency management with Composer, you now...
Anthony Ferrara has posted the third video in his series on programming over on Youtube. In this new episode, he talks about variable and object references (and the differences between them).The two other video tutorials he's posted are:
an introduction to encryption
about programming paradigms
If you like the videos, leave him feedback on what you'd like to see in future videos.
In a previous post Pablo Viquez talked about integrating JMeter and Zend Debugger for testing your PHP applications. In this new post he goes one more step in and talks about integrating Eclipse, JMeter and using XDebug this time for the debugging.In a previous post I wrote about doing step by step debugging using Zend Debugger and Zend Studio making the calls from JMeter, however not everyone has Zend Server or Zend Studio installed, and since XDebug is an awesome project I though that will be awesome...
I did an email interview with the folks at PHP Magazin; their German version is here. What follows is our original email exchange in English. First of all, congratulations for releasing Aura 1.0! Thanks! Most of the packages are at a Continue reading a'
If you use the excellent CtrlP plugin for VIM here's a quick tip. You can automatically insert the word under your cursor into CtrlP. This is super handy especially for PHP development where class names often map to file names 1:1. To do this we need to create a mapping that will bring up CtrlP, press and then press w:
1nmap lw :CtrlPw
If you want to insert a selected line straight into CtrlP you can do that asAwell:
1vmap lw y:CtrlPc
Pressing lw in normal mode should now open CtrlP, insert and...
Recent releases from the Packagist:clio/clio (0.1.3)
bcen/yauc (0.0.3, 0.0.2, 0.0.1)
triagens/ArangoDb (1.0.1, v1.0.1)
unknownbliss/zurb-foundation-bundle (220.127.116.11, 18.104.22.168, 3.2.3)
illuminate/foundation (v1.1.2, v1.1.1)
doctrine/mongodb (1.0.0-BETA3, 1.0.0-BETA2)...
Here's what was popular in the PHP community one year ago today:Volker Dusch's Blog: Book Review: PHP Masters
Wokay.com: 12+ Tutorials for creating PHP5 MVC Framework
PHPMaster.com: Untangling MVC with CodeIgniter
Nelm.io Blog: Composer: Part 1 - What & Why
DZone.com: Codeigniter and Object-Oriented PHP: Two Guides
PHPBuilder.com: PHP Arrays: Advanced Iteration and Manipulation
Devshed: Building a PHP ORM: Deploying a Blog
VG Tech Blog: Unit Testing with Streams in PHP
Reddit.com: Should I be doing just...
My, that's a pretty web browser you're using, concurrently making requests to various servers, interpreting and rendering the nearly indecipherable html and CSS. It's a fantastic piece of technology, yet for developers it has a fatal flaw. You. Browsers need users, and when it comes to testing, this is a major drawback when working on today's complex web apps.
PhantomJS is a rather new kid on the block. It's a headless WebKit-based browser. It's statically built against QT, so it works across platforms...
In a recent (controversial) post Richard Roger talks about why he's given up on coding standards and includes a few of the reasons that might make you think about your own proceses.Every developer knows you should have a one, exact, coding standard in your company. Every developer also knows you have to fight to get your rules into the company standard. Every developer secretly despairs when starting a new job, afraid of the crazy coding standard some power-mad architect has dictated. It's better to...
In this new post to his site Volker Dusch talks about some of his first experiences with the Silex microframework (from the folks behind Symfony) and the evolution his code went through in its first few versions.A couple of weeks ago Igor wrote a fantastic blog post about "Scaling a Silex code base" which made me remember a story I wanted to share about how I fell in love with Silex. This blog post aims to tell that story. If you never heard of Silex is let me paste the blurp from the silex home page for...
If you've been around PHP for any length of time, you know about the static functionality and keyword that the language offers. You might have used it in the past for a few things, but maybe you're not 100% sure of how to use it right. If this describes you, you should check out this article from David Zentgraf for a great summary of their use and how to not kill the testability of your application by using them,"Class Oriented Programming" is what people do when they write classes which are all static...
The third video to my Programming With Anthony series is up! In this video, I talk about variables in PHP and how they work under the hood. I explain the difference between variable references and object references, along with the semantics of each. Give it a watch!This is theAculminationAof my trial at these YouTube videos. I have done a high-level one (focusing on abstract concepts), a mid-level one (focusing on the theory behind a concept) and a low-level one (focusing on implementation details). So...
David Parra has a new post to his site today about a method of using Systemtap to profile PHP as the code executes (as an alternative when DTrace may not be available.PHP introduced DTrace support with PHP 5.3, enabling probing points in the PHP executable that can be used to simplify probing of PHP applications without having to the PHP implementation details. We enabled probes on function calls, file compilation, exceptions and errors. But this has always been limited to the operating systems that...
If you've wondered what this "dependency injection" term is that's been floating around the PHP community for a bit now is all about, you should check out this new tutorial on NetTuts.com today. It's a an introduction to the term/functionality and its use in PHP.Dependency injection has been a frequent subject of discussion among many corporate developers in the past few years. Many feared that they might sacrifice too much time building their application architecture without doing any real work. In this...
Recent releases from the Packagist:ner0tic/php-api-core (1.0.5)
pihi/industrial (0.3.2, 0.3.1, 0.3.0)
Rend Double Select
WBR TAG Insertion like Gmail
Google Auto Translate
Time Difference with Unit Test
A couple of weeks ago Igor wrote a fantastic blog post about aoScaling a Silex code basea which made me remember a story I wanted to share about how I fell in love with Silex.This blog post aims to tell that story.If you never heard of Silex is let me paste the blurp from the silex home page for you: aoSilex is a PHP microframework for PHP 5.3. It is built on the shoulders of Symfony2 and Pimple and also inspired by Sinatra.aTo give you some context of how and why that little thing left so much impact...
SSH is a way to access remote servers via the command line. It is a really fabulous secure communications channel that you can use for all kinds of things! Today, I thought I'd share some of my favorite SSH tips, from starting out, to using multiple SSH keys easily, to using SSH as a tunnel for something else entirely.
To SSH to a remote server, simply take a terminal program (Windows users should grab PuTTY) and type:ssh username@serverYou'll be prompted for your password (or passphrase for your key;...
DTrace is a dynamic tracing tool build by Sun Microsystems and is available for Solaris, MacOS and FreeBSD. It features a tracing language which can be used to probe certain aoprobinga points in kernel or userland. This can be very useful to gather statistics, etc. Linux comes with a separate solution called systemtap. It also features a tracing language and can probe both userland and kernel space. A few Linux distributions such as Fedora enable systemtap in their default kernel.
PHP introduced DTrace...
On the Symfony blog today there's a new post talking about a new addition to the "Symfony Live" series of events - Symfony Live Portland happening in May of 2013.For the first time ever, Symfony Live is going to co-locate with two other significant long-standing conferences: I'm speaking of course about DrupalCon Portland and WebVisions. On May 20-24, you will have 5 days to get trained on Symfony or Drupal features, to attend the talks you want, to meet and learn from other communities and to share your...