Note: this article was supposed to be released on November 3rd, but I was not able to finish and release it in time. So don't wonder if the tense in the article is not correct.
Some days ago Cem Derin proposed the idea of the Developers Shame Day. As his blog entry is German only here is a short summary of what this is about: basically, a developer should look into old source code of him/her and present a piece of code which is stupid in some kind, be it obvious errors, bad structure or security flaws -...
In a new post to his blog Jose de Silva takes a look at how using the Cache_Lite PEAR package can help to speed up your application by reducing overhead caused by data fetching.Cache_Lite is one of the fast, light and reliable cache system for PHP. It's an extremely easy and small learning curve system to work with. This post will try to make you a light introduction to PHP Cache_Lite.He starts from the beginning - installing the package through the PEAR installer and setting up a basic configuration for...
On DZone.com today there's a new article from Giorgio Sironi about making the switch from Doctrine 1 to Doctrine 2 and some of what might be involved.Doctrine 2 is an implementation of the Data Mapper pattern, and does not force your model classes to extend an Active Record, nor to contain details about the relational model like foreign keys. [...] Note that you will have to run your application of PHP 5.3 for Doctrine 2 to work, mainly because of the use of namespaces in it.He talks about some of the...
In a new post to her blog, Vanessa Vasile has a reminder about a built-in PHP function that can help quite a bit when you're working with SSL certificates - openssl_x509_parse.PHP has a nifty little function for parsing an x.509 SSL certificate into an array to easily pull out the elements: openssl_x509_parse. Essentially, all you need to do is load up the contents of the certificate, either through a file or POST value, and enclose it in the array.She includes a code snippet that pulls in the...
Lorna Mitchell has a new post to her blog with a quick example of how to get namespaced values with SimpleXML out of a properly formatted XML file.Recently I was working with some google APIs and needed to retrieve some namespaced elements from the result set. This confused me more than I expected it to so here's my code for the next time I need it (and if you use it too, then great!) I was reading from their analytics data feed API, this returns a few key fields and then multiple tags, each with...
As is mentioned in this message to the php-dev mailing list from Derick Rethans, there's a desire to start on the next alpha release version for PHP - the 5.4.x series.We're a bit further along now; and with the typehinting resolved
(http://thread.gmane.org/gmane.comp.php.devel/62298/focus=62858) I want
to start started with PHP 5.4 with the first alpha on Wednesday,
November 24th. There are a few things that need sorting
out and/or clarification: Annotations, Lemon rewrite, APC in trunk.
Keep in mind...
On Qafoo.com there's a new tool that's been introduced to help you keep track of the current Call for Papers that are currently happening for PHP conferences. The start of the PHP conference season is in full swing, and sometimes it can be hard to keep up. Their Call for Papers Manager can keep that information at your fingertips.The tool works quite simple: You can add CFPs you know about and which are relevant for the PHP community through a simple form. In order to remember the CFPs, you can configure...
Here's what was popular in the PHP community one year ago today:Developer.com: Managing File Uploads with the Zend Framework
NETTUTS.com: Book Review: Zend Framework 1.8 Web Application Development
PHPFreaks.com: Template based document generation using LiveDocx and Zend Framework
Phil Sturgeon's Blog: CodeIgniter "2.0": Rumours, facts and requests
Brandon Savage's Blog: Why Every Developer Should Write Their Own Framework
SitePoint.com: The Easy Way To Install PHP on Windows
Elliot Haughin's Blog:...
My slides for the "Hidden Features of PHP" talk that I've given at ZenCon 2010 are now available at:
zendcon_2010_hidden_features.pdf
Thanks to everyone for listening, and I look forward to feedback at: http://joind.in/talk/view/2270
Ahmed Shreef has a post he's written up about using SOAP services in PHP (specifically in a CakePHP-based application using some Zend Framework libraries) and drops in a helpful hint at the end about getting .NET clients to play nicely with it.Last week, I was working on implementing a SOAP server for one of our projects at work, this web service was built to be consumed by some other software that is built using .Net . It wasn't that easy and I faced some problems that made me go crazy for some hours...
If you've ever wanted to do any split testing in your PHP-based application (show one group one thing, a different group another - gather statistics), you might want to check out a newly released tool from James Sylvanus called PHPScenario.I recently wrote up a bunch of split testing code for an application of mine (listy.us) and decided to round out the code, smooth the edges, and make it available under a BSD license. The result is phpScenario (http://www.phpscenario.org), a free object-oriented split...
Amit Singh has a recent post to his blog with step-by-step instructions on how to get PEAR, PHPUnit and a WAMP installed and working on Windows 7.In the project that i am currently working on, we decided to use PHPUnit for doing our unit testing, and i found that it was not a straight forward thing to install that I had thought it would be. I had to start by installing Pear, and as soon as i type 'go-pear' in command prompt and pressed enter key I got my first error. So here are the steps needed to...
If you've been looking for a great way to start branching out into the Model-View-Controller world of PHP frameworks, but have been intimidated by the learning curve of some of the others, you might consider CodeIgniter. The Lear-CodeIgniter.com site has "posted a new screencast that can help you get started down your road to understanding it.This is our first episode in our CodeIgniter Basics training series. This episode explains to you what CI is, what MVC is, and the overall structure of CI, as well...
A litte tardy, but better late then never. The slides from my talk on Memcached extension are now up and can be downloaded from here:
ZendCon_Memcached_2010.pdf
Thanks to all the people who attended the talk and I really am looking for your feedback via Join.in .
According to a new article on the W3Tech.com site today, around three quarters of all websites are based on PHP. They've run their own survey to gather the results about the use of several different languages like ASP.NET, Java, Ruby and, of course, PHP.Our server-side programming language survey shows that a very remarkable 74.9% of websites use PHP, slightly increasing in the last year. ASP.NET technologies (presumably mostly C#) come in second, and a few percentages are left for Java. That's about it....
In a new post to the techFounder blog today, Eran Galperin shares a tool that he's created to make life outside of the Zend Framework simpler. It's a simple script that, when they're needed, grabs the Zend Framework libraries from the remote SVN and drops them in place.Reusing Zend Framework based code can be a bit of a pain - you do not want to include the entire framework just for a few classes, yet tracking down the dependencies needed to run your code can be time consuming and it's hard to tell if...
On the Zend Developer Zone there's a recent article about using APIs, specifically on how to use the Digg API with the Services_Digg2 PEAR package.A few weeks ago, a client asked me to add a feed of interesting news stories to his Web application. Naturally, my thoughts turned immediately to Digg, which invariably has something interesting to read and which also offers a Web service API [...] A little Googling, and I found the PEAR Services_Digg2 class, which exposes a neat little PHP interface to the...
simpleGMapAPI
YouTube URL parser
Simple GMap API
DB Backup Class
HTML form generator and submit
XLS Class
Easy Hit Counter
Simple DBA
te-edu Input Sanitize
PHP MVC and AJAX
Cubic Equation Solver
Metalix Encryption
CSS sprite class
keeper
Gravity Calculs
Do you speak at PHP conferences regularly? Or do you plan to do so? Do you occasionally forget when the call for papers for a conference starts or ends? So, you have a similar problem than we have. And we hacked up a simple solution: The Call For Papers manager (qaCFP) a€¦
Recently I was working with some google APIs and needed to retrieve some namespaced elements from the result set. This confused me more than I expected it to so here's my code for the next time I need it (and if you use it too, then great!)
I was reading from their analytics data feed API, this returns a few key fields and then multiple tags, each with namespaced children. The entry tags look something like: gd:etag="W/"Ak8EQX47eSp7I2A9Wx5VFks."" gd:kind="analytics#datarow"A ...
|
Latest PHP Tweets
|