PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 4361 to 4380 of 6889

Community News: Latest PEAR Releases for 04.04.2011

Community News: Latest PEAR Releases for 04.04.2011
Latest PEAR Releases: PEAR_PackageFileManager2 1.0.2 PEAR_PackageFileManager_Plugins 1.0.2 Services_Amazon_S3 0.3.2 Services_ShortURL 0.2.0 XML_Query2XML 1.7.2 HTTP_Request2 2.0.0beta3

Beyond mysqldump

Beyond mysqldump
There are several ways to transfer data from one mysql server to an other. Dumping a full table and re-importing it is rather simple, but sometimes you only want to transfer a selection of data. I will quickly explain the most common ones and then explain how i solved my way out of having neither phpmyadmin nor the privileges of SELECT...INTOAOUTFILE. My use case was the following:AA client inadvertedly deleted many entries in a database table. There was no way of finding out what exactly was deleted as...

PHP Components: Explaining File Roles

PHP Components: Explaining File Roles
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. In previous articles, I've introduced you to the component skeleton that ComponentManager creates for you when you run the phix php-library:init command. Our skeleton is designed to be...

Validation Blind Spots Hurt Real Users

Validation Blind Spots Hurt Real Users
A friend of mine lives on Bonieta Harrold Drive. I live on a Windsor Hill Drive. Both of us have a problem in common, which is that poorly designed software is incapable of accepting the length of our street address. For me, American Express refuses to accept more than aoWINDSOR HILL Da, which still arrives [...]

Symfony CMF: why, how, when (part III)

Symfony CMF: why, how, when (part III)
And now for the final post in this series, unless I start to get some serious questions :) But if other NoSQL databases are not trustworthy, why are JCR implementations? First up, plenty of people run very success large scale mission critical applications on top of MongoDB and friends. The interesting bit is that JCR is an API and the implementations are free to choose any database for final persistence. Jackrabbit for example can be installed using any RDBMS for storage or even the file system. Our own...

Migrating from ExpressionEngine to Jekyll

Migrating from ExpressionEngine to Jekyll
I've run Funkatron.com on ExpressionEngine for a long time. It's a strong, flexible, powerful CMS that I recommend to many folks who need to build content-driven sites, especially those where the site will be administered by non-programmers. It's a very solid choice for consultants and freelancers, who can build the relatively small license cost into their fees - and probably save the client in the long run.However, over the years, I've found ExpressionEngine to be overkill for a blog site. If you're...

Oracle 11gR2 XE Beta is now available

Oracle 11gR2 XE Beta is now available
Oracle 11gR2 Express Edition ("XE") Beta is now downloadable for Linux x86_64 and Windows (32-Bit). Oracle XE is a free, slimmed down version of the full Oracle DB. Documentation for XE 11gR2 is here. One of the Oracle features retained...

Web2project v2.3 Released

Web2project v2.3 Released
While under development, we didn't fully realize what all this release would entail. As this development cycle began, we had a perfect storm of events: a holiday break, a particularly motivated project team, a few moments of clarity, and an engaged community. These things gave us significantly more updates, fixes, and improvements for v2.3 than we expecteda

DZon.com: The PHP frameworks poll results

DZon.com: The PHP frameworks poll results
On DZone.com today the results of their framework poll have been posted with some not-so-surprising results base on popularity and number of users in general.A disclaimer: creating this poll was a bit of a catch-22, as I could not include all PHP frameworks (would have been a very long list) and had to make a selection based on popularity; of course that meant a guess by using Twitter and google results, but the ultimate popularity of the framework, at least in the audience of Web Builder Zone, would...

April What?

April What?
I really like the way Trent describes blogs: There's something sacred about reading a blog post on someone else's site. It's like visiting a friend's house for a quick meal 'round the breakfast table. It's personala-ayou're in their space, and the environment is uniquely suited for idea exchange and uninterrupted conversation. In many ways, we should be treating our blogs like our breakfast tables. Be welcoming & gracious when you host, and kind & respectful when visiting.My blog is my personal space,...

Benford's Law

Benford's Law
Benfords Law is not an exciting new John Nettles based detective show, but an interesting observation about the distribution of the first digit in sets of numbers originating from various processes. It says, roughly, that in a big collection of data you should expect to see a number starting with 1 about 30% of the time, but starting with 9 only about 5% of the time. Precisely, the proportion for a given digit can be worked out as:function benford($num) {A A A A return log10(1+1/$num);}Real data does...

Eric Hogue's Blog: Profiling a PHP Application

Eric Hogue's Blog: Profiling a PHP Application
Eric Hogue has written up a new post about a few different technologies you can use to profile your PHP applications quickly and easily.There are many available tools to profile a PHP application. Learning how to use them can help us pinpoint which parts are slow. With this information we can pick the optimizations that will give us the best results. This post describes the installation and configuration of some of them. I tested them in a Ubuntu 10.10 virtual machine. If you want to try those tools,...

php|architect: php|architect Announces the First Annual Impact Awards

php|architect: php|architect Announces the First Annual Impact Awards
php|architect has announced a new effort they've launched to recognize the groups and projects in the PHP community that have had an impact. The Impact Awards is a yearly effort to recognize those contributions.In short, we at php|architect recognize that we are standing on the shoulders of giants. We build our site, our training and our magazine using tools created by developers who are giving freely of themselves. We want to recognize a few of those who have had an impact specifically on the PHP...

PHPCodeBase.com: PHP Magic Function : glob()

PHPCodeBase.com: PHP Magic Function : glob()
On PHPCodeBase.com there's a recent post looking at a handy file system function that you can use to search directories simpler than a usual opendir/readdir method - glob.Are you guys still using opendir() function to read the the files from the folder in PHP? Luckily PHP have the glob() function which perform this task very faster and smarter.He compares an example of the opendir/readdir method to a few line replacement with glob, both searching the same directory for files. He looks at the arguments...

Site News: Popular Posts for the Week of 04.01.2011

Site News: Popular Posts for the Week of 04.01.2011
Popular posts from PHPDeveloper.org for the past week:Propel Blog: The End of Autoloading Slawek's Blog: Efficient file serving in PHP application with nginx Stoyan Stefanov's Blog: JavaScript-style object literals in PHP Sameer Borate's Blog: Easy thumbnail generation using PHP Eran Galperin's Blog: Database Optimization Techniques You Can Actually Use Zend Developer Zone: Using the Plurk API with PHP XPertDeveloper.com: PHP coding tips for Performance Improvement php|architect: Looking for a simpler...

Symfony CMF: why, how, when (part II)

Symfony CMF: why, how, when (part II)
Continuing with my post from the other day I will try to answer some of the questions that seem a bit reoccurring. The first question I want to address is why JCR? While we were making some decisions over the summer it became clear fairly quickly that we want a clear separation of the storage and the frontend layers. One big reason there was to become database agnostic (ORM vs. ODM vs ..). But also to ease in scaling and deployment and most importantly to ease development (single server vs. cluster). So...

Recap of POSSCON

Recap of POSSCON
Last week I had the distinct pleasure to be invited to the 4th annual Palmetto Open Source Software Conference (known as POSSCON). It couldn't be a better place to be this time of year; while the weather in Northeast Ohio is still cold and dreary, Columbia, SC was sunny and beautiful in the mid 80s during the entire time I was there. But the weather wasn't the primary reason why I enjoyed my time at POSSCON. In all of the open source conferences I've been to, I think this one really was able to bring out...

David Müller's Blog: Parallel processing in PHP

David Müller's Blog: Parallel processing in PHP
In a recent post to his blog David Müller has taken a look at parallel processing in PHP using a few different methods - system calls, fork, and curl.Since PHP does not offer native threads, we have to get creative to do parallel processing. I will introduce 3 fundamentally different concepts to emulate multithreading as good as possible.For each of the technologies mentioned above, he provides a simple bit of sample code that does simple tasks like echoing out strings and writing to files. He also...

Nicolas Bérard-Nault's Blog: The unknown value of Value Objects

Nicolas Bérard-Nault's Blog: The unknown value of Value Objects
Nicolas Bérard-Nault has put together a new post looking at the role that Value Objects play in application development and, more specifically, how they fit in with domain driven design (DDD). He looks to explain the unknown value of Value Objects to developers that might not know how helpful they really can be.One of the main rules of DDD is that value objects are immutable. This is often not as self-evident as it seems, as many programmers are not even aware of the state they leak and create. Sadly,...

Zend Developer Zone: PHP Community webinars by Zend (and others)

Zend Developer Zone: PHP Community webinars by Zend (and others)
In a recent post to the Zend Developer Zone, Cal Evans points out some webinar recordings that have been made available by Zend as a part of their webcasts series.There are a lot of webinars out there begging for developers to participate. Many contain quality content that is useful to developers; others, not so much. As a company who builds tools for developers, most assume Zend's webinars are nothing more than ads for their products; this is why we don't assume things. In reality, about 1/2 of their...

Latest PHP Tweets