The International PHP Conference (October 14-17th - Mainz, Germany)
is a globally recognized event for PHP developers,
web workers, IT managers and everyone interested in web technologies.
Once again the conference will explore key topics and core technologies for developers and decision makers.
It will be demonstrated how to scale your applications, explain the details of Continuous Integration or
evaluate different approaches to NoSQL.
Attendees will have the opportunity to meet with...
PHPMaster.com has posted the second part in their series looking at design patterns in handling views in your framework of choice. In this new article they focus on the decorator pattern, using additional functionality to augment the results from the view being rendered.It's also feasible to manipulate views in fairly flexible fashion by appealing to the niceties of a few other patterns as well, including the rather underrated Decorators. If you're wondering in what parallel universe Decorators get along...
In this new post to Reddit, a poster asks for opinions on the Laravel framework:t seems to be the hot framework this year, straight out of the oven, and into the hands of many bloggers who religiously swear by it. I've been using it for a few weeks and have formed my own opinion on it.He lists some his own pros (easy to learn, good routing) and cons (still very news, smaller community and support sources) and asks for thoughts from other users of the framework. Comments include things like:
One of the...
To solve this problem, you'll have to use quite a technology stack. At first it seems a bit overwhelming but after you set the whole thing up...
On NetTuts.com today there's a new tutorial introducing dependency injection and how it compares to other injection types (like setter and constructor). It shows how to apply the "Inversion of Control" methodology to create a container that can be reused across the entire application.Chances are, at some point in your learning, you've come across the term, "dependency injection." If you're still relatively early in your learning, you likely formed a confused expression and skipped over that part. Still,...
Image Fit Text Class
Facebook Open Graph Search
Bing Search Results
Copenhagen has been the last stop of the current Create.js tour. In here we've been integrating VIE and Create into TYPO3 Phoenix, the next major version of this popular CMS.
As usual, this collaboration has ended up in some new features in the libraries. The major one of these is more flexible collection handling.In previous Create.js versions, collection handling was pretty simplistic. Essentially you could only add a single type of content into each of them:Create will use the first entity inside a...
In this new post to his blog PĂˇdraic Brady has proposed a "combining of forces" in the PHP community centered around promoting best practices in the security of PHP applications.Once you start to dig around PHP Security in earnest, you begin to notice trends and patterns in how programmers behave and accumulate knowledge. The most obvious feature of PHP culture is that we do not have an active "leadership" in security. There is no appeal to authority in PHP security debates, only personal opinions...
If you've been developing any PHP at all recently, you've probably heard about the Composer package management tool that's caught on like wildfire in the community. If you're not currently using it, you might wonder what it's all about. Well, in this recent post on the Fortrabbit blog, Ulrich Kautz explains the tool and how to get started using it.Composer describes itself as "a tool for dependency management in PHP". It uses a large repository of packages which is continuously extended and maintained by...
In this new post to the Umpirsky.com development blog, they show you how to use poedit to extract translations from Twig templates.By default, Poedit does not have the ability to parse Twig templates. In Twig documenation there is a simple example which shows how to extract translations. This can work with few modifications, but I wanted to make reusable tool which will allow you to parse Twig templates just like you do with plain PHP templates.The result is the Twig-Gettext-Extractor that's set up...
There's an exciting new venture coming up soon - something I've been working on with Emma Jane for a while (yes, Lorna Jane and Emma Jane, we know) - it's called phpfordevelopers.com. From the site:
This spring Emma Jane and Lorna Jane were chatting about PHP and Drupal and workshops and came to the conclusion that Drupal developers were not necessarily equipped for Drupal 8. With all of the Drupalisms in the Drupal code, it can sometimes be difficult to implement code that is both a Drupal best practice...
On the Programmers Community Blog there's a post (with quite a bit of feedback) that lists twenty controversial opinions about programming and programmers in general that have been proposed over the years.One of the very first ideas we had for this blog was to convert some of the wonderful gems of the early era of our site, the undisciplined period, to blog posts. Questions that were once enthusiastically received by the community, but no longer fit Programmer's scope.The post has the top twenty answers...
Wojciech Sznapka has shares his technique for creating colorized exports of Behat tests for use in PDF files:Behat scenarios are one of the best ways to describe system. UML Use Cases or tons of pages in SRS documents are fine, but hard to understand from the begining, and even harder to maintain in the future. Behat eases this process and also gives opportunity to automate requirements verification. To write Behat scenarios you need a text editor. I've picked my favourite - Vim, which highlights...
NIST NVD 2006 Data - Ed Finkler (Photo credit: tychay)
It's about a year since I sat down, quite despondant and discouraged, faced with the seemingly insurmountable task of overcoming PHP's culture where it concerns PHP Security. Over the previous couple of years I had accepted the status quo, trusted in PHP and its programmers to be secure, reported vulnerabilities responsibly, and made occassional forays into research concerning how well PHP programmers actually practiced security. All the while, my...
In this new post to his site Freek Lijten picks back up his series on the SOLID design principles with a look at the "L" in the acronym - the Liskov Substitution Principle.The Liskov Substitution Principle (LSP) was coined by Barbara Liskov as early as 1987. The principle is very tightly connected to the earlier discussed Open Closed Principle. A good way of adhering to the OCP is understanding and implementing code that uses the Liskov Substitution Principle. In this article we will discover why and...
The PHPBenelux conference has officially announced the opening of the Call for Papers for their 2013 event (happening January 25th and 26th):fter three successful conferences earlier this year and last year, the PHPBenelux team is proud to announce the 4th edition of the PHPBenelux Conference. Like last year, the conference will last two full days, starting with a half day tutorial followed by 1.5 days of conference. The conference is on Friday 25th January and Saturday 26th January 2013 in Antwerp,...
Latest PECL Releases:
The latest issue of Web & PHP Magazine has been published - Issue 6, "Breaking New Ground". In this latest edition, articles include:
"Social Authentication with Zend Framework 2" by Nicholas Calugar
Sebastian Bergmann discussing reliability in software engineering
Scriptable sockets with ZeroMQ by Louren Naude
You can download this latest issue for free from the Web & PHP site and pick up the other previous issues while you're there!
On PHPMaster.com today Matt Turland has an article posted about using XHProf and XHGui to find the performance issues in your application and profile them to help optimize things.Profiling is the process of measuring the execution time of each function or method call involved in servicing a single page request. The data collected from this process can reveal issues such as a particular method taking a long time to execute or being called a large number of times. Profiling a PHP script generally requires...
Gonzalo Ayuso has a new post talking about dependency injection today and proposes his own DIC solution (dependency injection container) "when Pimple is not enough".Two months ago I wrote an article about Dependency Injection with PHP and Pimple. After the post I was speaking about it with a group of colleagues and someone threw a question: "What happens if your container grows up? Does Pimple scale well?" The answer is not so easy. Pimple is really simple and good for small projects, but it becomes a...