PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 221 to 240 of 246

Community News: Latest PECL Releases for 10.05.2010

Community News: Latest PECL Releases for 10.05.2010
Latest PECL Releases: mongo 1.0.10 memcache 2.2.6 memcache 3.0.5

Objects, property visibility, and trade-offs

Objects, property visibility, and trade-offs
As if on cue, the public vs. private debate has sprung up again within Drupal. The timing is fitting given my last blog post on programming language paradigms. Of course, property visibility is not a new debate, and the PHP community debates this subject from time to time (sometimes humorously). What I believe is usually missing from these discussions, and what I hope to offer here, is a broader picture view of the underlying assumptions that lead to different conclusions about when different visibility...

Michelangelo van Dam's Blog: Single User Zend_Service_Twitter

Michelangelo van Dam's Blog: Single User Zend_Service_Twitter
Michelangelo van Dam has a new post to his blog today with an example of using the Zend_Service_Twitter component of the Zend Framework to set up a simple Twitter client to connect and grab the latest tweets from an account.Although the Zend Framework manual extensively describes how to set up a true Twitter application with the new OAuth implementation of Twitter using Zend_Service_Twitter and Zend_Oauth (since ZF-1.10.0), this is not what you're looking for. You need a simple approach, using the single...

Sameer Borate's Blog: Importance of logging in web development

Sameer Borate's Blog: Importance of logging in web development
Sameer Borate has posted some of his thoughts about logging in PHP applications and how it can be one of the most important things you do.Software development is an exercise in managing complexity, and the more tools and methods we have at our disposal the easier it gets. One of my favorites is logging - recording important code execution points that I think are important, especially during debugging. [...] But what information does one log and what does one keep out. This usually depends on what kind of...

Nurul Ferdous' Blog: Here is my 2 cents on Doctrine (ORM)

Nurul Ferdous' Blog: Here is my 2 cents on Doctrine (ORM)
Nurul Ferdous has posted his "two cents" on Doctrine - his thoughts on the good and bad things about the popular ORM tool.What is Doctrine? Doctrine is a popular ORM for PHP which works with RDBMS via PHP objects. This is built inspired by Hibernate from JAVA. This acts as an abstraction layer between PHP and RDBMS.In his list of good things about Doctrine are things like its hiding of business logic, automatic CRUD, automatic modification of DQL queries, migrations and unit testing interfaces. On his...

Speaking at PHP North West 2010

Speaking at PHP North West 2010
Work has been crazy this year, with a lot of stuff going on professional and personal and in between this energetic chaos I totally forgot to mention I'm speaking at one of the best community driven conferences: PHP North West 2010 (sorry Jeremy).But it's never to late to announce that I will be speaking about "Unit Testing with Zend Framework after version 1.8" and a community talk "Community works!".Unit testing after Zend Framework 1.8 Now that I'm dealing with a ZF-1.7 project, I cannot emphasize how...

High-Performance String Concatenation in PHP

High-Performance String Concatenation in PHP
We recently examined the complexities of fast string concatenation in JavaScript so I thought it would be useful to repeat the exercise for PHP. 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: $str = 'a' . 'b'; $str .= 'c'; You can also join an array of strings using the implode function (or...

Web Builder Zone: What we don't need in object-oriented programming

Web Builder Zone: What we don't need in object-oriented programming
On the Web Builder Zone, Giorgio Sironi has a few suggestions about things that aren't really needed in object-oriented development but seem to have found their way in none the less (most of them are in PHP too).It is in general true that you should strive for writing code as simple as possible (in length but in complexity too) to obtain an end result specified by a requirement or a user story. If there are two designs for a feature, almost always we would choose the simplest. This article takes a...

Using Action Helpers To Implement Re-Usable Widgets

I had a twitter/IRC exchange yesterday with Andries Seutens and Nick Belhomme regarding applications that include widgets within their layout. During the exchange, I told Andriess not to use the action() view helper, and both Andriess and Nick then asked how to implement widgets if they shouldn't use that helper. While I ended up having an IRC exchange with Nick to give him a general idea on how to accomplish the task, I decided a longer writeup was in order. Continue reading "Using Action Helpers To...

Community News: PHP Unconference 2011 Announced

Community News: PHP Unconference 2011 Announced
According to this new post on the PHP Unconference Europe site, they've officially announced their next event happening in February 2011 (the 19th and 20th).PHP Unconference has established itself as a forum for core developers, developers and users to discuss PHP and other related web technologies. The next PHP Unconference will take place on 19th & 20th February, 2011 in Manchester, UK. The organizers are expecting 180 participants from all over Europe. Learn more about PHP Unconference Europe. The...

ZendCon 2010: 3 Questions with Ivo Jansch

ZendCon 2010: 3 Questions 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 acorss the globe. One of the speakers coming from afar is Ivo Jansch. Fresh off his role at CTO for Ibuildings, Ivo is now stepping out on his own and has started egeniq. Since Ivo will be with us again this year for ZendCon, I thought I would catch up with him and ask hima3 Questions.

php|architect: The CodeWorks 2010 early-bird extended to October 4th (TODAY!)

php|architect: The CodeWorks 2010 early-bird extended to October 4th (TODAY!)
As mentioned on the php|architect blog today, they've extended the Early Bird deadline for the event (in all cities) out to October 4th to ensure that everyone that wants to attend is able to get the discount ($75/ticket).By popular demand, we have extended the early-bird special for our upcoming CodeWorks tour until Monday, October 4th in order to give everybody an opportunity to sign up for one (or more!) of the tour stops for the low, low, low price of $75 (or even cheaper if you get in with groups of...

Community News: Latest PEAR Releases for 10.04.2010

Community News: Latest PEAR Releases for 10.04.2010
Latest PEAR Releases: CodeGen_PECL 1.1.3 CodeGen 1.0.7 Net_DNS2 0.6.0 Log 1.12.3 VersionControl_Git 0.4.3 Services_GeoNames 1.0.1 XML_svg2image 0.2.0 Math_Integer 0.9.0 Math_Quaternion 0.8.0 Math_Stats 0.9.0

PHPUnit 3.5

PHPUnit 3.5
Last weekend, during the great PHP Unconference in Hamburg, I released PHPUnit 3.5. Back then I did not have the time to write a proper release announcement. This posting tries to make up for that. What is new?The biggest change in PHPUnit 3.5 is one that should not affect end-users in any way: PHPUnit has been refactored into multiple components. This will hopefully ease and speed up the development of PHPUnit in the future.More details can be found in the ChangeLog.UpgradingDue to an issue with the...

Domain-Driven Design Immersion Class

Domain-Driven Design Immersion Class
I just wrapped up a four day Domain-Driven Design Immersion class with Eric Evans (author of Domain-Driven Design) and Paul Rayner. The class was put on by Eric's company, Domain Language. If you're looking for training or consulting in Domain-Driven Design, I highly recommend that you get in touch with them. I'd like to share some highlights of the class here. Putting the Model To Work Domain-Driven Design is a set of three guiding principles: Focus on the Core Domain as that is where the complexity is....

Single User Zend_Service_Twitter

Single User Zend_Service_Twitter
When running a website for yourself or your company based on Zend Framework, you might want to show the Twitter messages to your audience.Although the Zend Framework manual extensively describes how to set up a true Twitter application with the new OAuth implementation of Twitter using Zend_Service_Twitter and Zend_Oauth (since ZF-1.10.0), this is not what you're looking for. You need a simple approach, using the single user OAuth implementation of Twitter.Registration at Twitter.Register your "app" to...

Jack Slingerland's Blog: 24 PHP Dark Arts: Multi-Processing (Series)

Jack Slingerland's Blog: 24 PHP Dark Arts: Multi-Processing (Series)
Jack Slingerland has a series of new posts to his blog looking at a method for multi-processing in PHP applications and some of the considerations of forking off processes from a main script.Of all the glorious programming languages in existence, you've chosen to work with PHP. Okay, maybe you were forced to, but that doesn't mean you can't have fun right? Hmm, fun...What' fun? Threading, race conditions, and deadlocks. Sounds like loads of fun! But alas, PHP doesn't have functionality to cover this....

Zend Developer Zone: ZendCon 2010: 3 Questions with Matthew Weier O'Phinney

Zend Developer Zone: ZendCon 2010: 3 Questions with Matthew Weier O'Phinney
The Zend Developer Zone has posted another in their "3 Questions" series today - a short interview with Matthew Weier O'Phinney, the lead of the Zend Framework project.Matthew is a busy man these days working on Zend Framework 2.0, speaking at local user groups and in all his spare time being a dad and husband. I recently caught up with up with Matthew on IRC and in between answering my Zend Framework tech support questions, he agreed to answer...3 Questions.His questions cover things like how he became...

Bradley Holt's Blog: Immutable Value Objects in PHP

Bradley Holt's Blog: Immutable Value Objects in PHP
Bradley Holt has a new post to his blog about a subject he's recently been learning about, Domain-Driven Design, and how immutable value objects could be useful in PHP.Yesterday I tweeted: Modern object-oriented programming languages need support for immutable Value Objects. #DDD The "DDD" in that tweet stands for Domain-Driven Design. There were several interesting responses to this tweet.Responses to his tweet included comments from Matthew Weier O'Phinney, Ralph Schindler, Nicolas Berard-Nault and...

Hrmmmm...

Hrmmmm...