|
Sponsored Link
|
In case you weren't able to make it (or missed the live stream) Rasmus Lerdorf gave a presentation last night at Etsy as a part of their "Code as Craft" series. They recorded the session and you can watch it here.He talks about a few things:
the history of the PHP language
the state of PHP currently
what's coming up in 2012
and touches some on the upcoming PHP 5.4 features.
You can find more about their "Code as Craft" series (and other videos) on the Etsy page.
I was privileged to be invited to be a part of the /dev/hell podcast this week. Thanks to Chris and Ed for having me on. Check it out. And subscribe to their podcast.
In this quick new post to his blog Henrik Bjørnskov shows how to use the validators in Symfony2 in a more traditional Symfony 1 style for a form.Two of the more complicated components in Symfony2 is the Form and Validator component. The Validator is created in such a way it "always" need an Domain Object with Constraints associated through metadata. This is explained in detail here. But there is another way. A way that resemble's the symfony1 forms. Where you could specify the validations directly in...
Artur Ejsmont has a recent post to his blog showing how to get a MongoDB PECL extension to compile in a 32bit OSX environment (Snow Leopard).Here is a quick step by step guide on how to get mongodb and PHP5.2 mongo pecl extension going on your MacOSX in 32bit mode! NOTE: 32 bit mongodb binaries have 2GB address space limit so you wont be able to process too much on your laptop. You will still be able to code and connect to remote instances just fine.His process includes five steps - well, eight if you...
Freek Lijten has posted another "Currently on PHP's internals..." post to his blog today (here's the previous one) with a look at the discussions around the idea of having "property accessors" in PHP - a standardized way of defining getters/setters in objects.Today I will be discussing a feature that at this moment is called "Property Accessor". It is a method of defining getters and setters. Originally an RFC was defined as early as september 2009, but recently new discussion took place and an actual...
The PHP development team has officially announced the release of the latest version of PHP in the 5.3.x series - PHP 5.3.10:The PHP development team would like to announce the immediate availability of PHP 5.3.10. This release delivers a critical security fix. [...] Fixed arbitrary remote code execution vulnerability reported by Stefan Esser, CVE-2012-0830.It is highly recommended that users upgrade to this latest version to avoid falling victim to this recently introduced bug relating to the new...
Popular posts from PHPDeveloper.org for the past week:/Dev/Hell Podcast: Episode 4: The Cool Kids Club
Project: Patchwork-UTF8 - UTF8 Support for PHP
Anson Cheung's Blog: Top 10 PHP Best Security Practices for Sys Admins
Charles Sprayberry's Blog: Why you should use DI
Alessandro Nadalin's Blog: Managing PHP dependencies with composer
Mike Wallner's Blog: Dropping server load with HTTP caching
DevShed: PHP Closures as View Helpers: Lazy-Loading File Data
AndroidHive: Android Login and Registration with...
With the release of Zend Framework 1.8 came the long awaited component for bootstrapping a Zend Framework application. Many different bootstrapping-solutions became obsolete with Zend_Application.
In the beginning of the framework most developers didnA't give much thought on bootstrapping. Most of the initialisation work was done directly in index.php, the central starting point of the application. Teams often moved that bootstrapping code to a separate configuration script. The solution worked, but...
Another Serious Security Bug on PHP 5.3.9
By Manuel Lemos
PHP 5.3.9 release was mostly meant to fix a security bug, but it introduced a new more serious bug. PHP 5.3.10 was just released to fix this issue.
Meanwhile Debian Linux maintainers decided to stop enabling the Suhosin extension by default. This extension is used by several Linux distributions to provide protection against present and future security bugs of PHP.
Read this article to learn more about the just fixed bug what you should do to...
This blog posting is in German as the event it relates to is German-only.Sorry for the inconvenience.
Bei allen PHP-Themen zA¤hlt nichts mehr als die Praxis. Deshalb bieten wir unsere Power-Workshops interaktiv und mit intensivem Praxisbezug an. Aober die behandelten Themen entscheiden die Teilnehmer mit ihren konkreten Fragen. Anstelle von Frontalunterricht erleben sie die Entwicklung von neuem Code unmittelbar. Mit Augenzwinkern und SpaAY erlA¤utern Sebastian Bergmann, Arne Blankerts und Stefan...
Ten months ago when I started at Mozilla, I began transitioning away from PHP and into Python and Django. This was inevitable: the Mozilla Webdev team favors Python over PHP in almost every webapp (Socorro is the critical exception). However, over time I had become disillusioned with the direction that PHP was taking. The project [...]
The past weeks I finally had some time to invest in the DMS library again, so i got busy with a few things. I also had to fix a big problem which had gone unnoticed to me, so i have to thank Mr. Guilherme Blanco for pointing it out.
Sadly this means a BC break, so please follow and make adjustments.
The BC break: -filter() becomes -filterEntity()
The reasoning here is simple, PHP still supports legacy from PHP4 meaning a function with the same name as the class is understood as a constructor. This...
Jeremy Cook is back with the next part of his series looking at the handy features PHP's SPL provides. In this new post he looks at the ArrayAccess interface and how it can make your data more accessible to PHP's own array handing functions.ArrayAccess allows you to treat an object that implements it as if it is an array for the purposes of setting, unsetting and retrieving data from it. Please note the emphasis in the last sentence! ArrayAccess does not make an object behave like an array in any other...
The PHP development team would like to announce the immediate
availability of PHP 5.3.10. This release delivers a critical security
fix.
Security Fixes in PHP 5.3.10:
Fixed arbitrary remote code execution vulnerability reported by Stefan
Esser, CVE-2012-0830.
All users are strongly encouraged to upgrade to PHP 5.3.10.
For source downloads please visit
our downloads page, Windows binaries can be found
on windows.php.net/download/.
On the Leaseweb Labs blog there's a recent post looking at using the POC framework to work with flexible output caching. The tool makes it easy to create a new object and push cache content into it, automatically caching the data to sources like the file system, a Redis instance or a MongoDB database.Last year at the Symfony conference in Paris I have heard a really good quote: "There are only two hard things in Computer Science: cache invalidation and naming things" - Phil Karlton. I agree with it and...
On the LearnComputer.com site there's a new post comparing the benefits/downfalls of online versus classroom learning of PHP development. They list a few advantages and disadvantages of each.There can be many factors in the decision to learn PHP online or to take a class in-person, and for some, this can be a difficult decision to make. This article discusses the pros and cons of each method of PHP training to help you find the learning method that is going to suit your needs best. PHP isn't a new...
On the AndroidHive site there's a recent tutorial (plus screencast) about combining PHP, MySQL and SQLite to act as the backend authorization for your Android application.In my previous article Android Login and Registration Screen Design i explained designing the login and registration interfaces, but it has no functionality. In this tutorial i am explaining how to build complete login and registration system in android using PHP, MySQL and SQLite. Also this tutorial covers how to build simple API using...
On the Script-Tutorials.com site today there's a new tutorial about form validation using a combination of jQuery on the frontend and PHP on the backend.In this tutorial, I will show you how to create an attractive, pleasant to look form for your website and then I will explain you how to dynamically validate them using Javascript. We'll also cover server-side validation with PHP to make everything 100% safe. This tutorial will help you to add more functionality to your forms which leads to better user...
In PHPMaster.com's latest tutorial Lukas White introduces you to using the Yahoo "Placemaker" web service to geographically locate a place from a free-form text string. The results include "place details" like the type of the location, latitude, longitude and how confident they are in their match.The challenge then is to do two things: work out what place you could be talking about, disambiguate if necessary, and then identify exactly where on Earth that is. That's what I'll show you how to do in this...
Here's what was popular in the PHP community one year ago today:Chris Hartjes' Blog: Book Review: PHP 5 Social Networking
Rob Allen's Blog: Zend Framework 2 in Action
Mike van Riel's Blog: Introducing: DocBlox
SocialDevelopers.net: Facebook and the Zend Framework - Part 1: Iframe Authentication
Binpress.com: Web Developer Programming Contest
Matthew Weier O'Phinney's Blog: Why PHP Namespaces Matter
Michael Feichtinger's Blog: PHP5 WebSocket Example - A Simple Chat
Greepit.com: Behavior Driven Development...
|
Latest PHP Tweets
|
|