PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 121 to 140 of 186

Community News: Latest PEAR Releases for 06.11.2012

Community News: Latest PEAR Releases for 06.11.2012
Latest PEAR Releases: Mail_Mime 1.8.5 Services_W3C_CSSValidator 0.2.3 pearweb_gopear 1.1.7 Date_HumanDiff 0.3.0

Fetching Your Talks from the Joind.In API

Fetching Your Talks from the Joind.In API
I'm a regular speaker at a variety of (okay, mostly technical, so not really that varied!) events, and I submit talks to many CfPs (calls for papers). Whenever this happens, I tend to look back at whether I have any existing talks that I gave and liked and which would be a good fit. I use my joind.in speaker page for this: http://joind.in/user/view/110 as it's simpler than dredging through my directory of talks/articles on my hard drive (this is now rather large and unmanageable!). I've recently been...

Latest sprint at InterNations II

Latest sprint at InterNations II
What we did in the last weeks at InterNations Had an ugly downtime due to our master database crashing Implemented registration via Facebook (with a little help of FOSFacebookBundle) Learned a lot about message queues and decided to go with RabbitMQ and possibly RabbitMqBundle A colleague who developed an enthusiastic hatred for JavaScript in the last years started doing JS with Backbone and thinks it was fun (Yay!) Gradually rolled out our new registration process (still rolling) Got annoyed by...

Arvind Bhardwaj's Blog: How to Test PHP Emails on Localhost

Arvind Bhardwaj's Blog: How to Test PHP Emails on Localhost
In this quick tutorial Arvind Bhardwaj shows a method for testing your scripts that need to send emails, but on your localhost system.While developing web applications on localhost you must have always missed the functionality to send mails. As localhost does not support email service, so it has always been a bottleneck for email testing on localhost. But I have found a simple way to test emails on localhost using PHP. I have overridden the default mail() function of PHP to create a text/html file based...

Project: CodeSniffer for PSR's (PSR-0, PSR-1 & PSR-2)

Project: CodeSniffer for PSR's (PSR-0, PSR-1 & PSR-2)
Klaus Silveira has created a set of PHP_CodeSniffer rules that can be used to test your code for the recently approved PSR-1 & PSR-2 standards.This is a PHP_CodeSniffer sniff to check against the PHP Standard Resolutions: PSR-0, PSR-1 and PSR-2. Those standards were approved by the PHP Framework Interoperability Group. You can read more about the PHP FIG and the PSR's on this excellent article by Paul Jones.The github repository also provides an overview of the standards themselves and how to get these...

Luis Atencio's Blog: Dependency Injection in PHP

Luis Atencio's Blog: Dependency Injection in PHP
On his Reflective Thought blog Luis Atencio takes a look at the current state of dependency injection in PHP and shares a simple refactor from non-DI to code that uses it as a service locator.If you have worked with frameworks such as Spring or Google Guice, you will understand the power and flexibility that dependency injection provides your humongous code base. [...] One quick drawback that I see is that the stateless nature of PHP makes things like object containers not very practical.He proposes a...

Community News: ProTalk Launched! (Audio & Video for PHP Developers)

Community News: ProTalk Launched! (Audio & Video for PHP Developers)
The project that strives to provide audio and video content to the PHP community has officially launched - ProTalk.ProTalk is the brain child of Kim Rowan and Lineke Kerckhoffs-Willems. A spark of an idea on IRC in July 2011 transformed into the site you see before you and we really hope you like it.ProTalk's mission is to provide a central point of access to online audio / video content with a PHP focus. We hope to expand and include other programming languages in the future, but for now we're focussing...

Community News: Kohana Community Responds to PSR-1 & PSR-2

Community News: Kohana Community Responds to PSR-1 & PSR-2
In the Kohana framework, you can get an inside look at the discussion inside a framework community regarding their adherence to the PSR-1 & PSR-2 standards (hint: they're not in favor).A commentor asks the question "Will Kohana eventually follow the following guidelines?" and is immediately given the simple response of "no". Other comments reinforce this by pointing out some of the differences in the standards that the framwork follows and what the PSR standards outline.Other posters make comments about...

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

PHPMaster.com: More Bulletproofing with PHPUnit's Database Extension
On PHPMaster.com today there's a new tutorial posted about improving on the PHPUnit database testing extension to allow you do other non-query (select) operations - the "C" and "UD" in the typical "CRUD".In a previous article I discussed how you can create more robust code that queries your relational database through automated testing. But, as you know, querying is just one part of the picture. There are still other database operations, namely create, update, and delete. Just like retrieval, they too...

Site News: Job Postings for the week of 06.03.2012

Site News: Job Postings for the week of 06.03.2012
Job postings for the past week:Job posting: Fruux Seeks PHP Developers (M√ľnster, Germany)

Anthony Ferrara's Blog: To Comment Or Not To Comment - A Tale Of Two Stories

Anthony Ferrara's Blog: To Comment Or Not To Comment - A Tale Of Two Stories
In this recent post to his blog Anthony Ferrara looks at commenting in your application's code and how to be effective (and not so effective) when using them.A few weeks ago I was sparked into a twitter conversation with Larry Garfield (@Crell) about the value of comments in code. [...] A pretty innocuous comment [about code that doesn't have comments] that is quite insightful. [...] That led to an interesting discussion that just couldn't fit on twitter. So let me explain...He defines what he means by...

PerishablePress.com: Encoding & Decoding PHP Code

PerishablePress.com: Encoding & Decoding PHP Code
On the PerishablePress.com site there's a recent article showing you how to encode your PHP project's code (though some of the methods are more obfuscation than actual encryption).There are many ways to encode and decode PHP code. From the perspective of site security, there are three PHP functions - str_rot13(), base64_encode(), and gzinflate - that are frequently used to obfuscate malicious strings of PHP code. For those involved in the securing of websites, understanding how these functions are used...

NetTuts.com: How to Process Credit Cards with PayPal Payments Pro Using PHP

NetTuts.com: How to Process Credit Cards with PayPal Payments Pro Using PHP
NetTuts.com has a new tutorial posted today about processing payments with PayPal using their "Payments Pro" API and a handy library that makes it pretty simple.While one of its most popular features is the ability to simply sign in to your PayPal account to submit payments, merchants using PayPal can also accept credit cards directly just like a traditional merchant account solution would provide. PayPal calls this solution Payments Pro, and I'm going to show you exactly how you can process credit cards...

PHPMaster.com: PHP DOM: Working with XML

PHPMaster.com: PHP DOM: Working with XML
On PHPMaster.com there's a new tutorial posted about using XML in PHP, an introduction to using the DOM functionality in PHP to work with your XML content.PimpleXML allows you to quickly and easily work with XML documents, and in the majority of cases SimpleXML is sufficient. But if you're working with XML in any serious capacity, you'll eventually need a feature that isn't supported by SimpleXML, and that's where the PHP DOM (Document Object Model) comes in.He starts with a brief introduction to XML and...

Site News: Popular Posts for the Week of 06.08.2012

Site News: Popular Posts for the Week of 06.08.2012
Popular posts from PHPDeveloper.org for the past week:NetTuts.com: PHP Database Access: Are You Doing It Correctly? PHPMaster.com: Input Validation Using Filter Functions Chris Hartjes' Blog: Tricorder: A Testing Helper for PHP PHP-A-Day Blog: Commentary: Why Do People Hate PHP? VG Tech Blog: Lazy Loading Resources with Zend Framework Bootstrap WebSpeaks.in: Search Google Plus Profiles using PHP and Google Plus API Michael Dowling's Blog: Cron Expression Parsing in PHP LineshJose.com: How To: Create A...

NetTuts.com: Advanced CodeIgniter Techniques and Tricks

NetTuts.com: Advanced CodeIgniter Techniques and Tricks
On the NetTuts.com blog today there's a new handy post for the CodeIgniter users out there - some more advanced tips and tricks that you can use in your CI-based apps.CodeIgniter is a widely used PHP framework that aims to help developers write better structured code and remove boilerplate tasks from the workflow. In this article, I'm going to explain some incredibly useful techniques to use when developing applications using CodeIgniter.They cover things like setting up easier configuration parameters,...

Agile Toolkit Blog: Which PHP Framework is the Fastest?

Agile Toolkit Blog: Which PHP Framework is the Fastest?
The Agile Toolkit blog has a new post today that looks at speed in PHP frameworks the their relative speed (no, there's no benchmarks here).This question is often asked, but is never answered properly. So how to measure framework speed? Let me also explain why "scalability" is more important than general "performance". [...] This along with a general overheads of the framework greatly contributes to the "slowness" of your project. So how can framework contribute to performance of your project?They touch...

IE10 and DNT-header update

IE10 and DNT-header update
A quick update, since my last post Microsoft has reverted it's decision to enable the DNT header by default. I sort of expected this, and I'm glad they did. Ars Technica has the details.

Chris Hartjes' Blog: DIC vs. Service Locator

Chris Hartjes' Blog: DIC vs. Service Locator
In a new post to his blog, Chris Hartjes shares one thing that you can use to make your code easier to test - using a dependency injection container and how it compares to a service locator.People often ask me what's the one thing they could do for their code base RIGHT NOW that will make it easier to test. To me, the answer is simple: make sure you are using Dependency Injection (yes the link is long and has code samples in Java, but whatever). Without the ability to "inject" your dependencies into your...

Michael Nitschinger's Blog: Handling JSON like a boss in PHP

Michael Nitschinger's Blog: Handling JSON like a boss in PHP
Michael Nitschinger has a new post to his blog about JSON handling in PHP and how to work with it "like a boss".There are already lots of tutorials out there on handling JSON with PHP, but most of them don't go much deeper than throwing an array against json_encode and hoping for the best. This article aims to be a solid introduction into JSON and how to handle it correctly in combination with PHP. Also, readers who don't use PHP as their programming language can benefit from the first part that acts as...