PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 141 to 160 of 183

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,...

Book Review: MongoDB and PHP

Book Review: MongoDB and PHP
Despite having been toying with MongoDB and PHP for quite a while, I've only just picked up and read the "MongoDB and PHP" by Steve Francia, published by O'Reilly (disclaimer: I've collaborated with Steve on a few articles and he sent me a copy of the book to read) My first impressions are that this isn't a heavy book. I don't have the physical version but I'll have to look out for it at the next O'Reilly stand that I see. That said, it covered everything I think you need to get your PHP application...

Boston PHP Northeast Conference Call for Papers Closing!

Boston PHP Northeast Conference Call for Papers Closing!
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 User Experience (UX) Boston PHP will be hosting the event in partnership with other northeast regional user groups including the Burlington, Vermont PHP...

Marcelo Gornstein's Blog: Advanced telephony applications with PHP and PAGI using call flow nodes

Marcelo Gornstein's Blog: Advanced telephony applications with PHP and PAGI using call flow nodes
Marcelo Gornstein has a new post to his blog (in his PHP and PAGI series) showing how you can use call nodes to create more complicated telephony applications.Now, since version 1.10.0, PAGI comes with a neat feature, which is a small abstraction layer over the pagi client, called "Nodes". Also, the "NodeController" will orchestrate how those nodes interact with each other. Nodes are essentially call flow nodes. These new features will allow you to implement complete call flows in no time, and maybe even...

Infosec Institute: SQL Injection through HTTP Headers

Infosec Institute: SQL Injection through HTTP Headers
While not specific to PHP, security is something that all developers need to think about in their applications. To that end, the Infosec Institute has published this guide to helping you prevent SQL injection attacks that could come in via the HTTP headers of requests to your site.During vulnerability assessment or penetration testing, identifying the input vectors of the target application is a primordial step. Sometimes, when dealing with Web application testing, verification routines related to SQL...

Johannes Schlüter's Blog: Quick setup for PHP development trees

Johannes Schlüter's Blog: Quick setup for PHP development trees
In this new post to his blog Johannes Schlüter shows you how to easily set up a development environment for the recently moved PHP repositories (to git) using "out of tree" builds to keep versions and configurations separate.As PHP has moved to git recently everybody who works on the PHP source has to recreate his work environment. When working on PHP I have a few requirements for my working dirs. For one I want to be able to use different branches (like 5.3, 5.4 and master) at the same time and I want...