In this new post to the PHPMaster.com site today Vito Tardia introduces you to Phing, a tool for making builds and deploying your applications (and it's PHP based!)Suppose you have a web application that is installed on many hosts. Each installation may have a custom configuration, and the application is still in active development. You need an easy way to deploy new features and bug fixes to all of hosts. [...] In this article I show you how to use this knowledge [from this previous article] to write a...
Here's what was popular in the PHP community one year ago today:Kenny Meyers' Blog: How CodeIgniter Works (Video from EECI 2010)
Chris Hartjes' Blog: Book Review -- Easy PHP Websites with the Zend Framework
Kenny Katzgrau's Blog: Why PHP Was a Ghetto
WebTutor.pl: Strong data typing in PHP, part II: autoboxing and indestructable objects
Community News: IPC10 - PHP: Yesterdays Scala and the Cobol of tomorrow? (video)
Victor Farazdagi's Blog: New Project: Phrozn - static site generator in PHP
Oracle...
Wasn't sure what to name this entry, but have had a few discussions with some people over the past month or so about their experiences.A All of them were finishing up a€oweb developmenta€ť degree programs (under somewhat different nams) at institutions in the area, and all were talking about looking for jobs.
I was dismayed (but not necessarily shocked) at how little understanding they had about the basics trade skills that are necessary for most real world webdev work.A Now, I'm obviously passing my...
The jsDay and phpDay conferences have just posted their final schedules and from the looks of them, they're both going to be great events!Sessions from jsDay include:
Backbone.js FTW! (Pierre Spring)
JavaScript Application Architecture (Brandon Keepers)
Ember.js - Focus on your app not on boilerplate code (Garret Alfert)
Getting Started with Nodejitsu (Nuno Job)
Go to hell Flash! We have Open Web! (Michal Budzynski)
Sessions from phpDay include:
Test Driven Development with Symfony 2 (Jacopo Romei)...
In this new post to the Symfony blog Fabien Potencier talks about the schedule for this year's Symfony Live event happening in Paris (June 6th-9th).With more than 130 talk submissions, we had a hard time putting together what we think is a great schedule for Symfony Live Paris 2012. This year, we will have three parallel tracks with many great talks and great speakers. We will have many Symfony talks based on real-life experience: learn new tricks about Security and Assetic from Kris Wallsmith, and let...
On the BinaryTides blog there's a series of posts that share some tips and suggestions aimed at helping you and your code be the best they can be - things to enhance your application (including suggestions not just about code but also about environment and development practices).The three posts in the series include tips like:
Maintain debugging environment in your application
Collect all output at one place, and output at one shot to the browser
Set the correct character encoding for a mysql connection...
Juan Treminio has started up series of posts over on his blog looking at the Kohana framework and guiding you through the creation of a sample application with it (in-depth).The Kohana Framework started off as a fork of the very popular CodeIgniter Framework. During the KO 2.x versions, it stayed fairly similar to how CodeIgniter functioned, and a developer could easily jump from one to the other and feel very familiar. With the introduction of the Kohana 3.x version, this all changed, as Kohana was...
WKHTMTOPDF HTML to PDF creator
PHP PDO Singleton Database Wrapper
Data Migrator and Merger
Greatest
Quick DD
QuickDD
Config Class
Larrys Form Generation
Cradlecore MVC
MySQL Database Wrapper Class
ICEO-Paginator
File Size Helper
Content downloader
PHP Dialog
Named Buttons Captcha
Apk Parser
Recently we implemented some quite sophisticated caching mechanisms using varnish. In addition to just caching, backend errors and invalidated pages had to be handled gracefully whenever possible so we implemented grace mode, saint mode and backend probes.
Everything was working great during development but then we did some real performance testing... The results really gave us some headache because at some point we noticed the following in varnishlog from time to time:
A 11 FetchErrorA A c no backend...
I read a rather interesting post yesterday called PHP: a fractal of bad design. It's been getting a lot of traffic among the PHP community lately because it's ratherA inflammatory. But to be honest, it does make a lot of really good points. It also makes a lot of mistakes and misses a bigger picture.Read more A»
The Voices of the ElePHPant podcast has posted their latest episode - an interview with another member of the PHP community, Justin Carmony, a member of the Utah Open Source Foundation/Conference.Cal's "three questions" for Justin are around his work with Redis and the Utah open source community and conference:
For those that don't know, can you tell us what Redis is and why did you choose it over other options?
Can you tell us why "middle-scale" sites are different and what challenges do they uniquely...
On the Ibuildings techPortal site, they've posted the latest episode of their "DPC Radio" series (as recorded at the 2011 Dutch PHP Conference) - Rowan Merewood's session "TDD and Getting Paid".Test-driven development is generally regarded as a good move: it should result in simple decoupled design, your tests tend to cover behaviour not methods, and far fewer bugs. However, just getting unit tests in on a real, commercial project is hard - switching to TDD is even harder. [...] So, instead of beating...
In this new post Joseph Scott takes a look at hashing in PHP, specifically around md5 hashes, and a better alternative (that's also more secure.The majority of the Coding Horror: Speed Hashing post talks about speed based on MD5. [...] If you are still using MD5 to hash passwords (or worse, aren't hashing passwords at all) then please stop and go use bcrypt. For those using PHP phpass is a great option.He talks about the crypt method, how its encryption method and "cost" value effects the speed and how...
Gonzalo Ayuso has a new post to his blog looking at a method for injecting dependencies into your application's code based on comments in the PHPDocumentor-formatted comments of your methods.Last month I attended to Codemotion conference. I was listening to a talk about Java and I saw the "@inject" decorator. I must admit I switched off my mind from the conference and I started to take notes in my notebook. The idea is to implement something similar in PHP. It's a pity we don't have real decorators in...
On DZone.com today there's a new tutorial from Giorgia Sironi giving an example of working with the PageObject pattern and how it's implemented to help with testing in the PHPUnit_Selenium plugin.In the realm of acceptance testing, a possibility for hooking into the application and exercising it end-to-end is to work through a user interface, which nowadays is in more and more cases web-based. The Page Object pattern is a way to model pages (intended as screens) of a web application as independent...
Another day, another article posted on Hacker News that describes PHP's failures and complexities as though they actually mattered. The truth is, only programmers care about languages. Only programmers care about the methods, routines, algorithms and organization of programming languages. Only programmers argue about coding styles, whether white space or brackets is the best way [...]
Latest PECL Releases:
taint 0.5.1
intl 3.0.0a1
intl 2.0.0
mongo 1.2.10
yaf 2.1.10
sphinx 1.2.0
In this new post to his blog Joshua Thijssen describes something that can help when processing large amounts of data (like, in his example, the text of a book) to search through the information and find if a certain piece of data is in the set - a bloom filter.Most of my co-workers never really heard of bloom filters, and I'm continuously need to explain what they are, what their purpose is and why it's a better solution than other ones. So let's do an introduction on bloom filters. [...] Bloom filters...
On the 7php.com site today they've posted their latest interview with a member of the PHP community - Chris Cornutt (disclaimer: yep, that's me), the author/editor behind PHPDeveloper.org.In this edition I talked with Chris Cornutt, the Hero Behind PHPdeveloper.org. If you are a PHP fan and you haven't heard about @phpdeveloper and @enygma, it's just like you are a manga fan without having ever heard of Goldorak (Grendizer in english) and Actarus (Duke Fleed in english)! If this is the case, you should...
Back in March, I announced that I was giving away three copies of The PHP Playbook to three lucky winners. Since I'm selecting winners on April 15th, this is your last week to register to win your copy! Since not everyone can win, I'm also excited to announce that PHP Architect, the publisher of my [...]
|
Latest PHP Tweets
|