|
Sponsored Link
|
In this new post to his blog, Philip Norton reminds you about a handy feature of PHPUnit, the popular PHP unit testing tool, that can make generating tests for your application simpler - the skeleton class generator.If you create classes in PHP then you should be unit testing them as much as you can. Setting up unit testing classes for your code can be time consuming and involve a bunch of copying and pasting. Thankfully, PHPUnit comes with a couple of helper functions that allow the creation of unit...
On the Symfony blog Fabien Potencier has posted about the roadmap to a final release for the Symfony2 version of the popular framework including some of the things that will and will not change after the release.We are now ready to release Symfony 2.0 final. As we have made some significant changes in the last couple of weeks, we are publishing another release candidate (RC5) today and we will wait for a week before releasing Symfony 2.0 final on Thursday 28th.The upgrade to Symfony2 is just a few...
Christian Weiske has a new post to his blog today on how to get PHP extensions installed for phpfarm, the tool that lets you switch between multiple PHP versions on the same machine.When using several PHP installations with phpfarm, installing PHP extensions is not always easy - mostly because Pyrus is very strict about package files - and many of the packages in PECL unfortunately have invalid non-validating package.xmls.The installation follows most of the normal process with one exception - you use...
Latest PEAR Releases:
Config_Lite 0.1.2
Apache's mod_rewrite is a really powerful tool, but with great power comes great responsibility. You wouldn't like your customer to have to edit your rewriting rules. Continue reading "Decoupling URLs from Rewrite Rules"
After a long pause, a new version. Having young children and a busy work schedule has been keeping me too occupied.
Mostly bug-fixes. Some minor enhancements for Oracle performance monitoring.Click here to Download.
Regards,
John Lim
Postgres: Added information_schema support for postgresql.
Postgres: Use pg_unescape_bytea() in _decode.
oci8: Fix bulk binding with oci8.
http://phplens.com/lens/lensforum/msgs.php?id=18786
oci8 perf: added wait evt monitoring. Also db cache advice now handles...
When using several PHP installations with
phpfarm, installing PHP extensions
is not always easy - mostly because
Pyrus is very strict about package files
- and many of the packages in
PECL unfortunately
have invalid
non-validating package.xmls.
Getting the package
While you can download the tgz manually, you can use an existing PEAR
installation to get it:
$ cd /opt/phpfarm/
$ pear download pecl/xdebug
downloading xdebug-2.1.1.tgz ...
Starting to download xdebug-2.1.1.tgz (303,198...
In a new post to his blog Jigal Sanders shares some of his experience in working with Doctrine 2.1 in a Zend Framework-based (1.11.9) application for his database interface needs.I hadn't been using Doctrine for a while and decided to pick it up two weeks ago, as we wanted to see if we can implement it for our CMS at our office. So I setup a clean installation of the zend framework (1.11.9) and tried tried to implement Doctrine. The main goal was to see if we can reverse engineer existing databases and...
Sameer Borate has a quick post to his blog today with some code that lets you read the version of a PDF document programmatically without a dependency on a PDF extension or library being installed.The following [example] is a very short code to read the version number of a PDF document using PHP. I needed this recently during a PDF processing app developed in PHP. As Adobe uses different compression methods in various versions, it becomes necessary to be able to identify the version of the PDF under...
Not even ten days after the release of vfsStream 0.9.0 today the fresh version 0.10.0 hits the streets, containing various improvements to make your life with vfsStream much easier. Especially when you want to create more than just two or three files it's really noisy to create the directory structure. To ease this vfsStream now provides a vfsStream::create() method which accepts an array and builds the directory structure from it. See create complex directory structures for more details.
Another...
Philip Olson has a (tongue-in-cheek) post to his blog today about how PHP can make the most of its popularity financially.Today Rasmus mentioned that he received a $500 offer for the php.net domain name. Discussion ensued, which ultimately led to the indisputable belief that php.net is worth over 10 million US dollars. Therefore, let's think about this further...He compares the worth of several popular languages (with a "reliable source") and does some math where PHP.net account holders would profit from...
Popular posts from PHPDeveloper.org for the past week:Community News: An Effort to Deprecate the MySQL Extension
Project: ArrBDD - a Behavior-Driven Development Library for PHP 5
Liip Blog: First Release of Proxy-Object
Tom Jowitt's Blog: Streamlined PHP Development - Part I
Michelangelo van Dam's Blog: Quality Assurance on PHP projects (and PHPLint)
Fabien Potencier's Blog: The PHP Ternary Operator: Fast or not?
Brian Swan's Blog: PHP Driver for SQL Server - Request for Feature Feedback
TutsWall.com:...
After 5 months of development, I released
SemanticScuttle
version 0.98.0 yesterday evening.
Your own self-hosted online bookmark manager got a bunch of new features, as
well as some nagging bugs.
New features
Private keys for RSS feeds
It's possible now to get protected and private bookmarks in an RSS
feed by using a private key.
As soon you enable it in your profile, all pages with a feed will have
a second - private - feed linked.
While private feeds were possible before with HTTP...
Within the Zend
Framework 2 repository, I recently performed a conversion from
DocBook 4 to 5. The latter is a
more modern version of the toolchain, and offers a somewhat simpler
syntax and workflow. For example, you no longer need to track how
many levels deep you are in your chapter sections -- you simply use
a tag. One of the nicer changes is
that you do not need to specify a doctype any more; you simply
declare XML namespaces on your root elements and continue merrily
on your way. This actually...
Within the Zend
Framework 2 repository, I recently performed a conversion from
DocBook 4 to 5. The latter is a
more modern version of the toolchain, and offers a somewhat simpler
syntax and workflow. For example, you no longer need to track how
many levels deep you are in your chapter sections -- you simply use
a tag. One of the nicer changes is
that you do not need to specify a doctype any more; you simply
declare XML namespaces on your root elements and continue merrily
on your way. This actually...
Today Rasmus mentioned that he received a $500 offer for the php.net domain name. Discussion ensued, which ultimately led to the indisputable belief that php.net is worth over 10 million US dollars. Therefore, let's think about this further: Languages by worth [1] (in USD): php.net : $10,176,050 python.org : $4,088,792 perl.org : $246,064 ruby-lang.org : [...]
In a new post Justin Carmony looks at what it means to me a "middle-scale website" and has some recommendations for anyone working with their applications and considering things like scalability, overcompensation and finding real results through profiling.Hopefully at some point, your website is going to get a lot of traffic. Yay, you've reached your goal of getting good traffic, but it is soon followed by issues with performance and load. I like to call these the growing pains of a website. So as a web...
Anthony Ferrara has a new post to his blog today looking at true random number generation as it relates to predictability and bias. He also talks about a method/tool you can use (based on RFC 4086) to generate truly random numbers - PHP-CryptLib.When we talk about "random" numbers, we generally talk about two fundamental properties: Predictability and Bias. Both are closely related, but are subtly different. Predictability in reference to random numbers is the statistical problem of predicting the next...
In a new post Bradley Holt looks at some of his exploration into the combination of RabbitMQ and PHP as a possible platform for messaging between process (or applications).I'm exploring the possibility of using RabbitMQ for an upcoming project. RabbitMQ is a free/open source message broker platform. It uses the open Advanced Message Queuing Protocol (AMQP) standard and is written in Erlang using the Open Telecom Platform (OTP). It promises a high level of availability, throughput, scalability, and...
On the Voices of the ElePHPant podcast has posted their latest interview with a member of the PHP community. This time it's Rafael Dohms, a member of the Brazilian PHP community.Cal's questions for Rafael are related to
The Brazilian PHP community has an umbrella organization that supports the local communities - can you describe how this works?
Can you explain the differences in the communities between the two countries [USA and Brazil]?
What one thing from the Brazilian PHP community would you like to...
|
|