|
Sponsored Link
|
Want to try out PHP5.next (PHP5.4?) on Ubuntu?
After the death of PHP6.0 a while ago, development of PHP.next (PHP5.4 probably?) has been going on.
There are a lot of cool features there try out - like traits, scalar type hint, and sh**loads of smaller features.
There is still no public "development preview" or alpha release, but that doesn't mean we can't play around with it, report bugs, ensuring our apps still properly work with it etc etc etc.
It is however a bit annoying needing to "go old-school"...
If you've been coding in PHP for a while, you may be familiar with the foreach loop. It provides an easy way to analyze every item in an array, e.g.
$myArray = array();
$myArray[] = "First item";
$myArray[] = "Second item";
$myArray[] = "Third item";
foreach ($myArray as $i) {
echo "$i";
}
As well as arrays, it's also possible loop through an object. If your object contains a collection of items, you can use a foreach loop to iterate over each of them. It doesn't matter what's in that collection or how...
Wowa€¦ more than one year since my last post. Time flies, especially if your company got aquired and you experience suddenly very exciting adventures. What a year!
Anyway, back to business - I'll increase slowly my public appearance and therefore I am happy to announce these two upcoming events:
1. I am attending next week a MASS Technology Leadership Council Breakfast Seminar in Cambridge, MA where I'll speak about a€othe Secrets to Achieving Unprecedented Rates of Growth and Innovationa€¯ at KAYAK
2....
The IKS Project and Liip are organizing a PHP Content Repository Workshop in Zurich, Switzerland on May 8-9 2011. If you're working on PHP-based content management technologies, this event should be a very useful one to join or at least follow.
What is a content repository?
Content Repository is a programming interface for connecting with various persistent data stores. On the Java side, the JCR specification has gained quite a bit of traction, allowing for easy decoupling of a Content Management System...
In my Beyond Frameworks talk, I explained how a component-based architecture can help answer some of the important (i.e. expensive!) questions you might face when creating long-lived apps that rely on a PHP framework. In this series of blog posts, I'm going to look at how to go about creating and working with components.
I'm now going under the bonnet of our components, and looking at the different file roles that the PEAR installer expects to find when we distribute our component as a PEAR-compatible...
OTN has published two articles by Eli White that stem from his long experience with protecting high volume websites from unwanted and malicious use. Eli has worked on many large scale PHP projects including Digg, TripAdvisor, and for the Hubble...
Vito Chin has posted a quick mention of the book that he and Ivo Jansch wrote together about cloud computing and how PHP fits into the picture - PHP Development in the Cloud.I had a conversation with Ivo at the Claddagh Ring of Hendon and we'd decided to write this book together. We wanted to clarify where cloud computing will intersect with the internet & the WWW; and parts of it that makes having a different term to describe the cloud necessary. We do so from a PHP perspective because it is the...
In another in his framework series, Jason Gilmore has a new post on PHPBuilder.com about another popular framework - the Yii framework. He introduces you to the framework and shows the creation of a sample, basic site.Frameworks have been the topic du jour here at PHPBuilder.com, with numerous recent articles covering DooPHP and Fat-free. In this latest stop on the framework tour, we'll check out Yii, a relatively new framework (less than three years old) that boasts an impressive array of features and...
Brian Swan has a quick new post to his blog for the PHP + Azure users out there on how to easily sort table entities by a timestamp through the Azure SDK for PHP. The timestamp is a property on the parent storage table class, so you don't need to create it in your entity, it's already there.The problem boils down to sorting an array of objects by a timestamp property, so the information here is nothing that hasn't been done before. However, after spending some time looking for a way to use a filter in...
Now that you're done paying the Tax Man (for the North Americans reading this blog post), it's time to pay it forward by helping an open source project close some issues! For those who haven't put the reoccurring event in their calendar, this announcement is for you: Zend Framework Monthly Bug-hunt is here again! Tomorrow, Friday and Saturday of April (the 28th, 29th and 30th 2011), we'll be hosting our monthly bug hunt. For those of you unfamiliar with the event, each month, we organize the community to...
Over on RubySource, our resident PHP developer Mal Curtis discusses a feature of Ruby that eases the management of repeated code: mixins.Read the full article-Confessions of a Converted PHP Developer: Mixing Like a Baker-over on RubySource.
In my Beyond Frameworks talk, I explained how a component-based architecture can help answer some of the important (i.e. expensive!) questions you might face when creating long-lived apps that rely on a PHP framework. In this series of blog posts, I'm going to look at how to go about creating and working with components.
I've just put out ComponentManager version 1.1.3, with the following (hopefully useful) changes:
Bug Fixes For The php-library Skeleton
Any text docs in your component's top-level...
If you're still interested in contributing your ideas and feature requests for a PEAR channel aggregator, Stuart Herbert wants to know (last call before the development starts).There's already been a sizeable response so far, but if you haven't had your say yet, please head on over and leave a comment soon. I'll write up a summary of the suggested requirements on Monday.The idea behind the aggregator is to provide a single place for developers to look (besides the PEAR site, of course) for PEAR packages...
Stefan Koopmanschap has a quick post to his blog with a handy, not immediately obvious tip for the Symfony users out there - how to remove site-wide stylesheets in a Symfony application so it's not loaded automatically.Today I encountered a situation I've not encountered before: I have a project-wide stylesheet that should be used for everything, except one specific module that has different (brandable) stylesheets. I created a view.yml for this module with a different stylesheet, but of course the...
Smileys To IMG
FTP Manager tools
Simple Cache
SQL builder
URL shortener by hycus
Simple full site cache
Mini Fast Template
PID process check
Chinese Character Conversion
ClickATell SMS Gateway API
JPanel Tab
Today I encountered a situation I've not encountered before: I have a project-wide stylesheet that should be used for everything, except one specific module that has different (brandable) stylesheets. I created a view.yml for this module with a different stylesheet, but of course the configuration files are merged so it doesn't actually overwrite the main stylesheet file. And this wasn't really what I needed here.
A couple of weeks ago, I posted a call for requirements for a PEAR channel aggregator.
There's already been a sizeable response so far, but if you haven't had your say yet, please head on over and leave a comment soon.
I'll write up a summary of the suggested requirements on Monday.
I like cloud computing for two reasons:It's shared!Personal space is vital and enjoyable for many of life's activities, but easily accessible public spaces/utility/services can be more efficient for many other activities (for example, we don't need to own a football field to play it, renting a pitch for 2 hours will be better). I think public clouds such as Amazon, Rackspace and others like it are analogous to accessible public utilities.It's alive!"The illusion that we are separate from one another is...
Brian Moon was a presenter at the PHP Community Conference that just wrapped up last week where he talked about Phorum and some general thoughts on frameworks. In his latest post he recaps some of these thoughts and comments.n my session, I talked about the history of Phorum. One of the things I covered was the early days of PHP. Back in the 90s, before PHP, most dynamic web work was done in C or Perl. At that time, in those worlds, you had to do all the HTTP work yourself. [...] PHP changed all that....
The Voices of the ElePHPant podcast has released their latest episode - an interview with Kevin Schroeder of Zend Technologies.Cal's "three questions" center less around his work at Zend and more about his work with the language:
How did you come into programming in PHP?
Which part of PHP programming surprised you the most (as a programmer who didn't start with PHP)?
What one aspect of PHP programming do you enjoy the most?
As always you can listen to this latest episode either through the in-page...
|
|