PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 2861 to 2880 of 6889

Subversion 1.7 to 1.6 downgrade with MacPorts

Subversion 1.7 to 1.6 downgrade with MacPorts
MacPorts told me that there had been a subversion update (1.7.1), which I went ahead and installed. Woo! Huge speed improvements for everything I tried with the CLI client, great stuff. A short time later my IDE (PHPStorm) fell over screaming. It doesn't like 1.7 yet, and it's a bit stuck until SVNKit supports it. I should have checked really. So how to downgrade? Fortunately this post makes it very easy. So I just did: sudo port deactivate subversion @1.7.0_1 sudo port activate subversion @1.6.17_1...

Henri Bergius' Blog: Composer Solves The PHP Code-Sharing Problem

Henri Bergius' Blog: Composer Solves The PHP Code-Sharing Problem
Henri Bergius has a new post to his blog today about a tool that could help make code reuse across PHP applications a much simpler process. The Composer tool (and Packagist) make setting up packages and dependencies easy.In PHP we've had a lousy culture of code-sharing. Because depending on code from others as been tricky, every major PHP application or framework has practically had to reimplement the whole world. Only some tools, like PHPUnit, have managed to break over this barrier and become de-facto...

PHPMaster.com: Localizing PHP Applications "The Right Way", Part 2

PHPMaster.com: Localizing PHP Applications "The Right Way", Part 2
PHPMaster.com has posted the second part of their series about localizing PHP applications "the right way" (hint: it uses gettext).Welcome back to this series of articles which teach you how to localize your PHP applications using gettext and its PHP extension. In Part 1 you took your first steps towards towards this by installing gettext and Poedit, creating a translation file, and writing a Hello World script. In this part you'll lean about each of the function used in the script, and dive more into...

Kevin Schroeder's Blog: What is phpcloud.com?

Kevin Schroeder's Blog: What is phpcloud.com?
In a new post to his blog today Kevin Schroeder answers a question about a product his employer, Zend currently offers - what is phpcloud.com?Well that's a stupid question, isn't it? It's "Development done right", "Fast, Elastic, Dependable" and on "Any Cloud", right? If you are unclear as to what phpcloud.com is, what the Zend Application Fabric is and what the DevCloud is then this is a good post for you.The phpcloud platform offers their own Zend Application fabric to provide resources based on the...

Wojciech Sznapka's Blog: Why Mockery is better than PHPUnit Mock Builder (with Symfony2)

Wojciech Sznapka's Blog: Why Mockery is better than PHPUnit Mock Builder (with Symfony2)
Wojciech Sznapka has a new post today sharing his opinions as to why Mockery is better than PHPUnit Mock Builder in testing Symfony2-based applications.Recently I did a lot of Test Driven Development on my Symfony2 bundle. I used PHPUnit's built-in mocks and stubs for many projects, so I took it again. But while I was working on mocking Symfony2 core objects I found those mocks very uncomfortable in use. I tried Mockery and it saved my day. Let's see how to get it working with Symfony2 and how it kicks...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
SQL Parser Capturing data in a simplified form post WebmasterTools FSOP Firebug Console Log PHP Form Validation SOAP HTTP Header Sender 100% PHP Uploader


Composer solves the PHP code-sharing problem

Composer solves the PHP code-sharing problem
In PHP we've had a lousy culture of code-sharing. Because depending on code from others as been tricky, every major PHP application or framework has practically had to reimplement the whole world. Only some tools, like PHPUnit, have managed to break over this barrier and become de-facto standards across project boundaries. But for the rest: just write it yourself. But now Composer, and its repository counterpart Packagist, promise to change all that. And obviously new conventions like PHP's namespacing...

Dave Marshall's Blog: Phpmig - Simple migrations for php

Dave Marshall's Blog: Phpmig - Simple migrations for php
In a new post to his blog Dave Marshall shares a homegrown migration tool he's created to help make database migrations a simpler task - phpmig.I've previously blogged about migrations with phing and dbdeploy and also porting ActiveRecord::Migrations to PHP, now here I am again blogging about yet another way of doing migrations in PHP projects. Only maybe this time it's different, maybe this time I've found a way I'm happy with...? Phpmig is a simple migrations system that was written to be easily...

Anthony Ferrara's Blog: IteratorIterator - PHP Inconsistencies And WTFs

Anthony Ferrara's Blog: IteratorIterator - PHP Inconsistencies And WTFs
Anthony Ferrara has a new post to his blog sharing some inconsistencies with iterators that he discovered as discussed with a fellow developer - why some iterators only accept Iterator arguments and others don't.We were talking about why some of the SPL Iterators accept only an Iterator as the constructor argument (Such as LimitIterator), and others accept either an Iterator or an IteratorAggregate as the argument (Such as IteratorIterator). Feeling that this would be a useful feature to add (having all...

PHPBuilder.com: An Early Look at Zend Framework 2.0

PHPBuilder.com: An Early Look at Zend Framework 2.0
On PHPBuilder.com Jason Gilmore has posted a first peek at Zend Framework 2, an upcoming reworking of the popular framework with PHP 5.3-centric features.Version 2.0 seeks to improve upon the current release in a number of ways, focusing on making it easier to get started using the framework, improving performance, and fully embracing the latest PHP language enhancements made available to version 5.3. [...] Although the official release won't be out for several more months, it never hurts to take an...

ArsMagnaTutorials: FuelPHP Tutorial Videos

ArsMagnaTutorials: FuelPHP Tutorial Videos
On the ArsMagnaTutorials YouTube channel has posted three video tutorials (so far) covering the Fuel PHP framework, introducing you to some of the core concepts behind using this powerful framework.The three videos in the series give an overview of: Installation and configuration Folders and structure the framework provides Controllers, view and using the HTML5 boilerplate. You can find out more about Fuel on its website and more about the HTML5 Boilerplate here.

PHPMaster.com: Using the Ternary Operator

PHPMaster.com: Using the Ternary Operator
On PHPMaster.com today there's a new tutorial showing the use of a sometimes overlooked (but very handy) alternate syntax that PHP includes - the ternary operator, a short-hand if/else.You're probably already familiar with PHP's if statement. It's very similar to its counterparts in many other programming languages and represents one of the most fundamental concepts in programming. [...] But there's a way to build on this concept and increase your $coolFactor a bit in the process. Allow me to introduce...

Developer Drive: Create Your Own CRUD App with MySQL and PHP

Developer Drive: Create Your Own CRUD App with MySQL and PHP
On the Developer Drive blog today there's a new tutorial helping you build out a simple CRUD (create, read, update and delete) system using a MySQL backend. This is just the first part of the series, introducing you to some concepts and getting the ball rolling connecting PHP and the database.You're may be wondering what exactly CRUD is. CRUD simply stands for Create, Read, Update and Delete and it is the one of the fundamental principles of programming logic that can be expanded and applied to larger...

Community News: Latest PECL Releases for 11.01.2011

Community News: Latest PECL Releases for 11.01.2011
Latest PECL Releases: cld 0.3.0 eio 0.3.0 cld 0.4.0

Johannes Schmitt' Blog: A New Killer Feature for Symfony2 Security

Johannes Schmitt' Blog: A New Killer Feature for Symfony2 Security
Johannes Schmitt has a new post about his "killer feature" he's added to the security for Symfony2 framework (as a bundle) - a new customized expression-based query language that's compiled down to native PHP to make permissions checking simpler and faster.If you have used the Symfony2 Security Component to any modest degree, you will know that we have a quite heavy voting system which uses attributes like "IS_AUTHENTICATED_FULLY" to make authorization decisions. [...] If you are concerned about...

DZone.com: MySQL PHP search: four-part video tutorial series

DZone.com: MySQL PHP search: four-part video tutorial series
As linked to on DZone.com today, there's a video series about PHP/MySQL and creating a basic search engine from Adam Khoury's collection:Fresh from Adam Khoury's massive library of instructional videos comes a four-part, full-fledged tutorial on searching a MySQL database using PHP. The tutorials use the 'worked example' format (like Khan Academy), which makes learning relatively painless for newbies and not completely useless for more experienced developers.The four videos require you to have at least a...

PHPClasses.org: Lately in PHP podcast episode 17 - PHP 5.4 & PHP-GTK in the Browser

PHPClasses.org: Lately in PHP podcast episode 17 - PHP 5.4 & PHP-GTK in the Browser
On PHPClasses.org today they've released their latest episode of their "Lately In PHP" podcast - episode #17. In this new episode Manuel and Ernani talk about PHP-GTK in a web browser and the proposed PHP 5.4 release date.PHP 5.4 beta 2 was just released, so the final version of 5.4.0 is coming soon. Many PHP Developers want to know when it will be the final PHP 5.4 release date. Manuel Lemos and Ernani Joppert talk about this and other interesting PHP related topics in episode 17 of the Lately in PHP...

Ibuildings techPortal: Architecture Patterns: Domain Model and Friends

Ibuildings techPortal: Architecture Patterns: Domain Model and Friends
On the Ibuildings techPortal today there's a new post from Robert Raszczynski about domain modeling and how a good knowledge of it can help your application's architecture.Architectural and design patterns help software architects to break systems in to smaller, more maintainable sections organised by their functionality and usage. [...] There are three major layers in software architecture: presentation, domain and data source. [...] Now that we know what types of layers we can find in software...

PEAR Blog: Newly stable packages in PEAR

PEAR Blog: Newly stable packages in PEAR
The PEAR blog has a recommendation for those that might not have updated their package udage in a while - there's been major changes in many packages, but two in particular.We've had 60 releases since July. While most are often minor improvements or bug fixes; a number of packages really stand out. Net_DNS2, and HTTP_Request2. Each of these packages represents the second edition of their respective APIs; each having been honed over time to a point of stability.Net_DNS2 gives you the ability to...

Latest PHP Tweets