Charlie McClaskie has written in to tell us about a new PHP user group that's formed (and will be meeting next week!) in the south Florida area, in Ft. Lauderdale - the South Florida PHP Users Group.There is a new PHP User Group in South Florida being hosted at The Art Institute of Fort Lauderdale on the second Tuesday of every month. [...] I have thought about starting a PHP users group in the area for a few years, and have had many in the PHP world-wide community urge me to finally get one going. So,...
On his blog today Shameer has posted an introduction to Smarty 3, the upcoming version of the popular PHP-based templating engine. He talks about some of the improvements that have been made since version 2 in several categories including:
The Smarty 3 API (as of beta 8) has been refactored to a syntax geared for consistency and modularity. The Smarty 2 API syntax is still supported, butwill throw a deprecation notice. You can disable the...
In a new post to his blog Benjamin Schneider looks at how you can use the Tidy extension to clean up the (X)HTML markup that comes out of your application.Tidy is a very cool PHP extension. You can let it tell you what kind of mistakes you might have in your HTML markup and even correct it for you - if you want. In my projects I use it to give me a hint if my generated markup is invalid. This way I can easily correct it during development without being dependent on external validators. In this post I...
On the IBuildings techPortal today there's a new tutorial from Vito Chin that wants to help you understand what APC (the Alternative PHP Cache) is all about and get you on the road to using it in your application.APC is a performance-enhancing extension. It should not be confused with a magic pill, although having it around does provide a positive impact on performance! If configured incorrectly, APC can cause unexpected behaviour, however when implemented optimally APC can be a useful weapon in your...
If you're going to be attending this year's International PHP Conference you'd do well to check out some of the sessions thePHP.cc will be doing during the event.There's ten different sessions given by the different members of the trio:
Your Tests are lying!
Why MVC is not an application architecture ...
Introduction to Testing with Selenium
Practical PHP Refactoring
Agility and Quality
State of the Mocks
Security by Design
XML with PHP: The Hidden Gems
Hand in Hand: Dynamic and Static Testing
Here's what was popular in the PHP community one year ago today:CMSMatch.com: Top 10 CMS scored by functionality
Ladislav Prskavec's Blog: PHP and Hudson
NetBeans Blog: Symfony Support Finished
Gilang Chandrasa's Blog: CodeIgniter Tutorial Compilation
Content with Style Blog: Zend Framework DB and Mysql pre 5.17
Wes Shell's Blog: Quicky 1: PHP is Loosely Typed '" What does that Mean?
Mike Willbanks' Blog: Deployment of PHP Applications
Zend Developer Zone: Announcing the Apache Solr extension in PHP...
PHP is a great back-end for a lot of projects. However, these days, many projects aren't using just HTML for their client side. Many projects are turning to Flex, Adobe's Open Source framework built on top of ActionScript to build desk-top applications that talk to their PHP back-end systems. If you are using Flex to build AIR based desktop apps or browser based Flash apps, you probably want ot check out Adobe's MAX conference. Click on in and I'll give you links and pictures.
The German Edition of the PHP Quality Assurance book started shipping. Stefan and I, as well as all our contributing authors, are very happy about this. Below you can find additional information about the book in German.Wenn die HA¼tte brennt, werden Aoberstunden gemacht und Urlaube abgesagt. Trotzdem werden Termine und QualitA¤tsziele meist verfehlt. Da Software jedoch weit lA¤nger lebt als ursprA¼nglich geplant, gehen die Probleme erst dann richtig los, wenn spA¤ter A„nderungen und Erweiterungen...
APC is a performance-enhancing extension. It should not be confused with a magic pill, although having it around does provide a positive impact on performance! If configured incorrectly, APC can cause unexpected behaviour, however when implemented optimally APC can be a useful weapon in your arsenal. In this post we will examine APC's capabilities and it's application both as an opcode cache and in its less common usage as a data cache.
How APC differs from Memcached
APC is not a replacement for...
Coding for a day job is interesting, but sometimes you just want to flex your development skills in something a bit more fun. phpGolf might be what you're looking for.The term comes from Perl Golf where the point is to solve programming challenges with as few bytes as possible. Just like in real golf where players aspire to get the ball in the hole with as few strokes as possible.There's some good challenges posted including several that are just output like "99 Bottles" or "Rot13" as well as some more...
In this recent post Laurie Voss has voiced his opinion about the PHP language - that it needs to die, but also asks what should replace it.The reason I know PHP has to die is because I've seen this before. Roughly a decade ago, PHP killed Perl. [...] As a language for newcomers, and especially for web developers, it was already dying in 1999 and was mostly dead by sometime around 2005. [...] There was no reason you couldn't write a perfect web app in Perl, but in PHP you'd do it faster and easier,...
According to this new post on the Zend Developer Zone, the voting state of the Packt 2010 Open Source Awards has officially started and you can cast your vote in one of many categories (and maybe win a prize for your efforts).The nomination stage is now closed and voting has begun in the 2010 Open Source Awards. [...] You can cast your vote here: http://www.packtpub.com/open-source-awards-home/voting-stage.The categories for the awards this year are:
Open Source CMS Award
Hall of Fame CMS
On CodeForest today there's a new tutorial showing you how to localize your application with the help of the gettext functionality PHP offers or just simple arrays.Wikipedia says: Localization is the process of translating a product into different languages or adapting a language for a specific country or region. There are several techniques that developer can use to localize an application. The most common ones are using arrays and gettext. I will try to explain both and how to use them.They provide...
On Elijaa.org there's an interesting post (from back in May 2010) about using the "cas()" command in the memcached PECL extension to update the cached value of an object while preventing collisions with other scripts that might be updating the same value.A series of commands is not atomic. If you issue a 'get' against an item, operate on the data, then wish to 'set' it back into memcached, you are not guaranteed to be the only process working on that value. In parallel, you could end up overwriting a...
Gonzalo Ayuso has posted the results of some performance testing he did with bind parameters in a PDO-based request for his application.Some months ago a work mate asked me for the differences between using bind variables versus executing the SQL statement directly as a string throughout a PDO connection. Basically the work-flow of almost all database drivers is the same: Prepare statement, execute and fetch results. [...] What's the best one? Both method work properly. The difference is how databases...
Small Google Translator
Pop under class
The nomination stage is now closed and voting has begun in the 2010 Open Source Awards. Your vote could reward an open source project with cash awards (I know the developers will appreciate that!) Registering to vote will require your name and email, and it's a single button click to cast your vote.
thePHP.cc - The PHP Consulting Company will present the following workshops and sessions at this year's International PHP Conference in Mainz:
Your Tests are lying!
Sebastian Bergmann, 2010-10-11, 11:45 AM - 12:45 PM, Zagreb I
Unit Tests help reducing the cost and risk of any individual change smaller. But how do you know that your tests are not lying and give you a false sense of confidence? In this session you will learn how to automatically detect problems in your test code, so called Test Smells,...
On the Zend Developer Zone there's another new post in their "Three Questions" series with speakers presenting at this year's Zend/PHP Conference - an interview with Ivo Jansch.PHP is used all over the world and for all sorts of interesting projects. So it is no surprise that ZendCon pulls speakers from across the globe. One of the speakers coming to Santa Clara from afar is Ivo Jansch. [...] Since Ivo will be with us again this year for ZendCon, I thought I would catch up with him and ask him...3...
On the SitePoint PHP Blog there's a new post today looking at performance in string concatenation where they compare some of the different methods for appending values and which might give you that minute edge.This could be a more important to your application: large string operations are often handled on the server when generating HTML pages. There are no special libraries in the standard PHP installation and string concatenation is implemented using the dot operator. [...] You can also join an array of...
Latest PHP Tweets