PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 1661 to 1680 of 6889

PHPMaster.com: Working with Files in PHP

PHPMaster.com: Working with Files in PHP
On PHPMaster.com today there's a new tutorial that shows you some examples of working with files and the local file system in your PHP applications.You may well be familiar with databases such as MySQL and Access which are an ever-increasingly common means of storing data. But data is also stored in files, like Word documents, event logs, spreadsheets, image files, and so on. Databases generally require a special query language to retrieve information, whereas files are 'flat' and usually appear as a...

Refulz Blog: Yii Framework - Scenarios for Conditional Multiple Validation Rules

Refulz Blog: Yii Framework - Scenarios for Conditional Multiple Validation Rules
On the Refulz blog there's a post showing you how to set up conditional multiple validation rules in a Yii framework application.I am yet to write the last article of the Yii Session series. I just decided to write something about the scenarios in the Validation feature of Yii framework. Scenarios are a very useful tool for adding different validations rules for different cases on the same model. In a real life situation, you would require one validation rule for user registration but the same rule might...

Kevin Schroeder's Blog: A little more advanced ZF2 EventManager usage

Kevin Schroeder's Blog: A little more advanced ZF2 EventManager usage
Kevin Schroeder has a new post to his his blog with a bit more advanced example of using the Zend Framework 2 EventManager to make global event triggers.If you look at my previous post on the ZF2 EventManager class you might be tempted to think that you are limited only to listening to events for local instances of the event manager. But no, my friend, you would be wrong. The event manager actually provides access to a sort of global event manager. But it's more than that. This global event manager...

Getting to grips with an existing XML structure

Getting to grips with an existing XML structure
Very often I find myself writing input filters for large XML files using PHP. Common enough task; and PHP offer a great variety of tools to do this effectively depending on the situation. Unfortunately, almost as common is the lack of documentation for the aforementioned XML files. Manually trying to document the XML structure is not a fun job. And I have looked around for a simple tool but I didn't really find a Atool that gave me the quick and dirty overview I wanted. A year or so ago I finally wrote a...

Community News: Latest PECL Releases for 04.24.2012

Community News: Latest PECL Releases for 04.24.2012
Latest PECL Releases: cairo 0.3.2 sundown 0.3.3 sundown 0.3.2 spidermonkey 1.0.0 chdb 1.0.2 yaf 2.1.12 spidermonkey 0.2.1

SitePoint.com: SitePoint Podcast #159: PHP Master with Tim Boronczyk

SitePoint.com: SitePoint Podcast #159: PHP Master with Tim Boronczyk
On SitePoint.com today there's a new podcast posted, an interview with Tim Boronczyk, the managing editor of their PHPMaster tutorial site.Episode 159 of The SitePoint Podcast is now available! This week our regular interview host Louis Simoneau (@rssaddict) interviews Tim Boronczyk (@zaemis), the Managing Editor of phpmaster.com about the new features in PHP5.4, PHP's strengths and weaknesses, and the DIY approach of the PHP community.You can listen to this latest episode either via the in-page player,...

PHPMaster.com: In My Language, Please! - Translating WordPress Themes and Plugins

PHPMaster.com: In My Language, Please! - Translating WordPress Themes and Plugins
On PHPMaster.com there's a new tutorial showing how to use the localization support that comes with WordPress to make using different language definitions much simpler.WordPress itself is translated to many languages and people can use it in their preferred language. But this is not the case with themes, plugins, and other front-end customizations. [...] The purpose of this article is to show you how to translate properly any theme or plugin by using internationalization and localization methods. In...

Chris Hartjes' Blog: Metatesting: Extending Your Testing Tools

Chris Hartjes' Blog: Metatesting: Extending Your Testing Tools
Chris Hartjes has had a few posts about "metatesting" already and in this latest article he takes the series one more step. He looks at moving outside of the current toolset and expanding on them to meet your testing needs.While PHPUnit is awesome out of the box, it still lacks some tools that are required to do things like test protected class methods or assign values to protected class attributes. Lucky for me we have an awesome testing engineer at Kaplan named Will Parker who has shown me some ways...

Wojciech Sznapka's Blog: Deploying Symfony2 applications with Ant

Wojciech Sznapka's Blog: Deploying Symfony2 applications with Ant
In this new post Wojciech Sznapka shows you how to can set up an Apache Ant deployment for a basic Symfony2 application - including installation of vendor packages and assets.When you have plenty of Symfony2 applications and you need to deploy them from time to time, you are probably sick of thinking about every activity you need to do for every deploy. Often people use some build scripts, which are hard to maintain and tends to be unreadable. I wanted to automate it as much as it possible and I've...

Rob Allen's Blog: An introduction to ZendEventManager

Rob Allen's Blog: An introduction to ZendEventManager
Rob Allen has a new post to his blog today introducing you to the ZendEventManager component of the Zend Framework v2, a key part of how this latest version of the framework does its job.Zend Framework 2's EventManager is a key component of the framework which is used for the core MVC system. The EventManager allows a class to publish events that other objects can listen for and then act when the event occurs. The convention within Zend Framework 2 is that any class that triggers events composing its own...

Community News: ZendCon 2012 Call for Papers Open!

Community News: ZendCon 2012 Call for Papers Open!
The Call for Papers for this year's ZendCon Conference have officially opened! This year's event will be once again in Santa Clara, CA and will be from October 22nd through the 25th.We are happy to announce that planning is underway for the 2012 Zend PHP Conference, to be held in Santa Clara, October 22-25, 2012. ZendCon 2012 will be the best conference yet and we would like to invite you to be a part of it! A conference is only as good as its speakers and we are looking for the best speakers to share...

7php.com: Interview with Davey Shafik, The Original Author of Phar

7php.com: Interview with Davey Shafik, The Original Author of Phar
On the 7php.com blog today they've posted the latest in their series of PHP community interviews - a few questions with Davey Shafik, the original author of phar.In this edition I talked with Davey Shafik (@dshafik), who is one of the Founding Contributor of PHP Zend Framework. He has been a co-author of several prominent books, namely: php|architect's PHP 5 Zend Certification Study Guide, PHP Master: Write Cutting Edge Code, The PHP Anthology: 101 Essential Tips, Tricks & Hacks. He is also a well-known...

Community News: Latest PEAR Releases for 04.23.2012

Community News: Latest PEAR Releases for 04.23.2012
Latest PEAR Releases: Services_Libravatar 0.1.2 XML_XUL 0.9.0 Services_Libravatar 0.1.1 Net_DNSBL 1.3.7 HTML_QuickForm2 2.0.0beta2


Community News: OSCON 2012 Schedule Announced (with PHP Track)

Community News: OSCON 2012 Schedule Announced (with PHP Track)
The schedule for this year's OSCON conference has officially been announced and there's several PHP sessions on the schedule this year including: The MicroPHP Manifesto (Ed Finkler) Get Some Rest: Best RESTful API Practices (Lorna Mitchell) Daemonizing PHP (Andy Blyler) A Stitch In Time Saves Nine: Solving the N+1 Problem (Paul Jones) Social Commerce with magento and Open Graph (John Jawed) There's lots more on the list too, so check out the full list for the PHP track at this year's event! OSCON is...

Shashikant Jagtap's Blog: PHPUnit + Behat/Mink + Page Object: The Rockstar Combination of Testing

Shashikant Jagtap's Blog: PHPUnit + Behat/Mink + Page Object: The Rockstar Combination of Testing
Earlier this month Shashikant Jagtap wrote up a post about a powerful combination in testing your applications - a "rockstar" combo of PHPUnit + Behat/Mink + Page Object to give you a great foundation for BDD (behavior-driven) testing.Last month, we had discussion about implementing page object pattern in Behat/Mink framework at London Behat Users meetup. Page object pattern is a cool way to make tests maintainable, reusable and readable. Everyone was interested to know more about Page Object Pattern. In...

Gaurish Patil's Blog: URL rewriting in Yii to hide index.php

Gaurish Patil's Blog: URL rewriting in Yii to hide index.php
In this new post to his blog Gaurish Patil shows users of the Yii framework how they can update their configuration settings to hide the "index.php" in their requests and make cleaner URLs.Finally we figure out the basics of Yii. While working on basic of Yii, I want to rewrite the url to SEO friendly. So I started to search on google, forum got useful information here http://www.yiiframework.com/doc/guide/1.1/en/topics.url To hide the index.php from url I did changes in config/main.php [...] and I...

Nodeable Blog: Marten Mickos: The LAMP Stack is Dead, and Cloud has Killed It

Nodeable Blog: Marten Mickos: The LAMP Stack is Dead, and Cloud has Killed It
In this recent post to the Nodeable Blog, they suggest that the days of the typical LAMP stack (Linux, Apache, MySQL, PHP) are numbered because of what many of the cloud services have to offer.For the past 10 years, the LAMP stack has laid waste to proprietary software stacks. Yes, Microsoft has held onto gargantuan profits, but LAMP has become the foundation for leading web services, whether Google or Facebook or [Insert Big Web Brand Here]. LAMP is the future. Or was. That is, until cloud killed it, as...

Site News: Popular Posts for the Week of 04.20.2012

Site News: Popular Posts for the Week of 04.20.2012
Popular posts from PHPDeveloper.org for the past week:Lee Davis' Blog: In ORM's Defense Hakre's Blog: Iterating over Multiple Iterators at Once Pádraic Brady's Blog: PHP: Innocent Villagefolk or a Pillagin' Pirate? Sebastian Göttschkes' Blog: Testclasses for symfony2 PHP.net: PHP 5.4.1RC2 Released for Testing Engine Yard: Cloud Out Loud Podcast - Future of PHP DZone.com: PHP Ajax Cookbook (Book Review) Code2Learn.com: Using HighCharts with php, MySQL and CodeIgniter PHPMaster.com: Maintaining your...

Code2Learn.com: Generating CSV file using CodeIgniter Framework

Code2Learn.com: Generating CSV file using CodeIgniter Framework
The Code2Learn site has posted another in their CodeIgniter "series" about producing various kinds of output from an application based on this framework. In this new article Farhan Khwaja shows how to output a CSV-formatted file.I have already written posts on how to generate pdf files using CodeIgniter Framework and also on how to generate tabulated pdf file using CodeIgniter Framework. This post will help you to generate a CSV file using CodeIgniter. The data for the CSV File will be taken from the...

Latest PHP Tweets