PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 1761 to 1780 of 6889

Sameer Borate's Blog: PHP 5.4.0 in a nutshell

Sameer Borate's Blog: PHP 5.4.0 in a nutshell
If you've been looking for the "quick and dirty" definition of all of the changes that come with the latest version of PHP 5.4, you should check out this new post from Sameer Borate. It has a quick rundown, code included, of these new features and changes.Although purists have always sneered upon PHP for being a "patched" language; the evolution of PHP over the years, with new features added in every version, has only increased its popularity. The latest 5.4 release has followed the trend with some major...

PHPMaster.com: Bulletproofing Database Interactions with PHPUnit's Database Extension

PHPMaster.com: Bulletproofing Database Interactions with PHPUnit's Database Extension
On PHPMaster.com today there's a new tutorial showing you how to test your application's interface with the database using "bulletproof" PHPUnit testing.There's already a great article here that discusses Test Driven Development, but did you know that you can also test the code that interacts with your database? Especially if your application is data intensive, subjecting your CRUD code to a battery of tests is good practice that helps ensure that your application is working correctly. In this article...

PHPMaster.com: 6 Extra Skills Every PHP Developer Should Have

PHPMaster.com: 6 Extra Skills Every PHP Developer Should Have
On PHPMaster.com today there's a new article with six things that they (well, Daniela Baker) thinks every independent PHP developer should know and have in their arsenal.PHP development is hot right now, but there are also lots of people in PHP development. If you want to make it as an independent PHP developer you've got to know more than just PHP. Here are six other essential skills you need to succeed as a PHP developer.Her list of six is made up of: JavaScript, HTML, and CSS Knowing What You Don't...

Community News: Latest PEAR Releases for 04.09.2012

Community News: Latest PEAR Releases for 04.09.2012
Latest PEAR Releases: HTML_Common2 2.1.0 Image_3D 0.4.2 Services_Hatena 0.1.5 HTTP_Request2 2.1.1 Auth_PrefManager 1.2.1 Validate_US 0.5.5 XML_Transformer 1.1.2 Validate_SE 0.1.1 PEAR_Command_Packaging 0.3.0 File_MARC 0.7.1 HTTP_Request2 2.1.0 Net_Growl 2.6.0 MP3_IDv2 0.1.7 File 1.4.1 Validate_ES 0.6.2 MP3_IDv2 0.1.6 Image_Transform 0.9.5

Javascript Templating, AngularJS and Roo.XTemplate

Javascript Templating, AngularJS and Roo.XTemplate
Article originally from rooJSolutions blog AOk, as I said earlier, a nice Easter break, meant I could get back to coding for fun. The other issue I had to deal with over the weekend was how to do the templating for the Javascript application.AHaving written a template engine for PHP, I can pretty much say that not using a template engine (which automatically escapes output) is essential for outputing html. It makes everything more maintainable, and reduces the risks that as a error prone human being,...

Roo.XComponent introduction

Roo.XComponent introduction
Article originally from rooJSolutions blog http://www.roojs.com/roojs1/docs/symbols/Roo.XComponent.htmlWith a nice longAEasterAholiday, I finally got a chance to hack on some of those todo items that I'd been putting off for quite a while. One of the core mini tasks was to enable mtrack information inside of my main email/accounting do everything platform.AThe Pman codebase, as I've mentioned before forms the core of pretty much all applications I work on now, mostly intranet or extranet focused web...

XPertDeveloper.com: Configure PHP, Apache, MySQL on Ubuntu 11.10

XPertDeveloper.com: Configure PHP, Apache, MySQL on Ubuntu 11.10
In this tutorial on the XPertDeveloper site today they show you the "quick and not-so-dirty" way to get PHP + Apache + MySQL set up on a Ubuntu machine (from packages).I have started working with Ubuntu 11.10 and my first task was to install PHP, Apache and MySQL in that. This is because without these three things computer is useless for PHP Developer. So Here I am sharing this article which shows how to install PHP, MySQL and Apache and configure with each other. This would be very useful for newbies,...

Reddit.com: How and When do you use Bitwise?

Reddit.com: How and When do you use Bitwise?
In this new question to Reddit, there's a question about the usage of bitwise operators - when they might come in useful.As I get deeper into PHP I notice some lower level functionality that looks like it could be interesting, maybe even useful. I'm trying (other than switching the hex value of a color) to figure out when Bitwise operators might come in handy. Any real world examples?Responses to the post mention a few cases they'd be useful in - handling permissions, route matching and error reporting....

DZone.com: 2 years of Vim and PHP distilled

DZone.com: 2 years of Vim and PHP distilled
On DZone.com there's a new post from Giorgio Sironi with some of his tips for PHP developers that want to use VIM in their development - some handy tricks to help make you a more effective developer.In the case of PHP development, you'll need to add some configuration and plugins to speed up your activities. Most of the responsibilities of an IDE - like testing and version control - are outsourced to the terminal while running Vim; however, there are some tweaks that make writing and editing code faster,...

Chris Hartjes' Blog: Metatesting: Testing Constructors

Chris Hartjes' Blog: Metatesting: Testing Constructors
In a new post to his blog Chris Hartjes, promoter of all things testing, looks a a method for testing constructors - an effective way to validate the things that happen when your objects are generated.If you have a PHP application that makes heavy use of objects (which is probably 95% of you reading this) then you will have objects with constructor methods in them. It is also very likely that there is some stuff going on in those constructors. So how do you test things like this?He includes a sample...

Site News: Popular Posts for the Week of 04.06.2012

Site News: Popular Posts for the Week of 04.06.2012
Popular posts from PHPDeveloper.org for the past week:Refulz Blog: Traits in PHP 5.4 - Why we need Traits DZone.com: How to Set up Wordpress on EC2 Using Puppet and Git Infosec Institute: SQL Injection through HTTP Headers Lee Davis' Blog: FormFactory - Driving Doctrine 1.2 / 2.x Mappings into Zend_Form objects Community News: Web & PHP Magazine Launched! Rob Allen's Blog: Returning JSON using the Accept header in ZF2 PHPMaster.com: An Introduction to Services PHPMaster.com: Continuous Integration (with...

PHPClasses.org: Lately in PHP, Episode 22 - Will the Git Move Encourage more Non-Core Contribution?

PHPClasses.org: Lately in PHP, Episode 22 - Will the Git Move Encourage more Non-Core Contribution?
On the PHPClasses.org site there's a new episode of their "Lately in PHP" podcast wondering if the move of PHP to git will encourage more non-core developers to contribute to the project.The PHP development migrated to a Git repository. With the integration with GitHub it became easier for non-core developers to submit pull requests with bug fixes and new feature improvements to PHP. Will this new possibility make it PHP core developers accept more contributions from non-core developers?The episode also...

The MVC Paradox

The MVC Paradox
Use of the Model View Controller (MVC) design pattern is generally accepted as a best practice in modern web applications. Like all design patterns, MVC is a reusable solution to a common problem. The MVC pattern is intended to address the following concerns: Support for multiple types of clients Reduce duplicate code when supporting multiple types of clients Isolating domain logic from the user interface Note that items 2 and 3 are both dependent on item 1. Support for multiple types of clients is the...

Sebastian Göttschkes' Blog: Using vsfstream (with symfony2)

Sebastian Göttschkes' Blog: Using vsfstream (with symfony2)
In this recent post Sebastian Göttschkes shows how to use the vfsStream stream wrapper in a Symfony2 application to create tests that involve the local file system.I read about vsfstream when skipping through the phpunit docs. Back then, I decided I don't need a virtual file system. Some time later, I had to test classes which read and write files and found myself creating and deleting temporary folders, messing around with nasty errors (like my favourite one where for some reasons tests fail when I...

Reddit.com: What are some genuine criticisms of PHP?

Reddit.com: What are some genuine criticisms of PHP?
On Reddit.com there's a long thread with responses to the question "What are some genuine criticisms of PHP?" with opinions ranging from small issues (like syntax) out to more community-related topics.PHP tends to get a lot of flak, but mostly it is for something that isn't really the fault of PHP. Things like "there is so much bad PHP code out there" may be true but you can write bad code in any language. You shouldn't be mixing PHP, SQL and HTML, and you should be escaping/parameterizing variables for...

Lorna Mitchell's Blog: Book Review: MongoDB and PHP

Lorna Mitchell's Blog: Book Review: MongoDB and PHP
Lorna Mitchell has posted a book review of an O'Reilly publication (by Steve Francia) - "MongoDB and PHP".The tone of the book is quite informal and approachable [...]. This book also does a great job of deferring to other resources where that is appropriate; in particular where some features of MongoDB will change rapidly and the online documentation is well-maintained. [...] There is no hiding from the very lovely, very technical, features available in MongoDB and although this book doesn't drill into...

Bradley Holt's Blog: Boston PHP Northeast Conference Call for Papers Closing! (Apr 12th)

Bradley Holt's Blog: Boston PHP Northeast Conference Call for Papers Closing! (Apr 12th)
Bradley Holt has posted a reminder that the Call for Papers for this year's Boston PHP Northeast Conference is closing soon!The Boston PHP Northeast Conference's Call for Papers will be closing on Thursday, April 12th so be sure to get your talk submissions in before then! The conference will be taking place on Saturday, August 11th and Sunday, August 12th at Microsoft's NERD Center in Cambridge, MA and will be focused around four tracks: Core PHP, Web Development, Training and User Experience (UX)You...

Will PHP development Migration to Git improve non-Core Developer Contribution Interest? - Lately in PHP podcast episode 22

Will PHP development Migration to Git improve non-Core Developer Contribution Interest? - Lately in PHP podcast episode 22
Will PHP development Migration to Git improve non-Core Developer Contribution Interest? - Lately in PHP podcast episode 22 By Manuel Lemos The PHP development migrated to a Git repository. With the integration with GitHub it became easier for non-core developers to submit pull requests with bug fixes and new feature improvements to PHP. Will this new possibility make it PHP core developers accept more contributions from non-core developers? That is one of the main topics discussed by Manuel Lemos and...

Site News: Blast from the Past - One Year Ago in PHP

Site News: Blast from the Past - One Year Ago in PHP
Here's what was popular in the PHP community one year ago today:PHPBuilder.com: The PHP Fat-Free Framework: Slim Down Your PHP Development Zend Developer Zone: Creating Web Page Templates with PHP and Twig (part 1) SitePoint.com: An Introduction to CodeIgniter DZone.com: PHP Quick Reference DZone.com: Solarium PHP Solr client Vance Lucas' Blog: Protected vs Private Scope: Arrogance, Fear and Handcuffs Smashing Magazine: Image Manipulation With jQuery and PHP GD CatsWhoCode.com: 10 super useful PHP...

Working at 10gen

Working at 10gen
Working at 10gen London, UK Thursday, April 5th 2012, 13:00 BST As of today I am working for 10gen, the company behind MongoDB. I have been contracting with them for a few months to work on the PHP driver for MongoDB. I am now making the switch to a full time position. I am responsible for supporting MongoDB in the PHP ecosystem through driver development, integration with open source tools, community support, and developer advocacy. For now, I will concentrate to get the driver into a better shape,...

Latest PHP Tweets