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 (18.104.22.168, 22.214.171.124, 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 theA culminationA of 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 a€oScaling 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: a€oSilex is a PHP microframework for PHP 5.3. It is built on the shoulders of Symfony2 and Pimple and also inspired by Sinatra.a€¯To give you some context of how and why that little thing left so much...
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 a€oprobinga€¯ 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.
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...
The Voices of the ElePHPant podcast has posted its latest interview with a member of the PHP community.This time it's Moses Ngone of the Atlanta PHP User Group.Cal's "three questions" for Moses involve his involvement in the community and experience in the language:
Tells us about you, what you do and how you got started in PHP
Talk to us about the Atlanta PHP group and the wider area web group (from a member perspective)
How do you see the market for PHP developers in the southeast U.S.?
You can listen...
On PHPMaster.com today there's a new tutorial showing you how to use Swift Mailer, a popular (and well-established) mailing tool.Sending emails programmatically is a common task that programmers must deal with often. Although you can use PHP's native functions, they can be too low-level, especially when you want to attach one or more files to your message. If you don't want to use the native functions, or if you want to send mail using an object-oriented approach, then this is the article for you. I'll...
Continuing on with his look at the newly released version of the MongoDB driver for PHP Derick Rethans has posted more detail about the advanced connection handling options this new driver version provides.The 1.3 release series of the PHP MongoDB driver features a rewritten connection handling library. This is quite a large change and changes how the PHP driver deals with persistent connections and connection pooling.He starts with an example of a v1.2 driver connection, how the connection is requested...
In another of his series looking "under the covers" at what actually happens in the PHP language during its use, Sharif Ramadan has posted this look at the object handling in PHP's OOP functionality.I would love to take a good long look under the hood at just how PHP objects and classes do the work that they do, and hope that you could benefit from that knowledge. [There are] many questions that come across my desk, on a regular basis, from developers and beginner PHP enthusiasts that I've worked with...
Recent releases from the Packagist:eloquent/typhoon (0.5.2, 0.5.1, 5.0.1)
srtfisher/codeigniter-features (0.5, 0.3)
webignition/web-page-model (0.4.1.1, 0.4.1, 0.4.2)
Latest PHP Tweets