PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 161 to 180 of 184

James Morris' Blog: Deploy a Silex App Using Git Push

James Morris' Blog: Deploy a Silex App Using Git Push
James Morris has a new post to his blog showing you how you can deploy a Silex-based application via git and a post-receive hook on the server side.Up until a few days ago I used to use a small bash deployment script to deploy a few simple sites to my live box. The process was a git archive and extract, then an rsync to the live site. Only inspecting it recently I realised that rsync no longer sent just the changes but all of the files, I'd never noticed before as the sites were so small the deploy was...

Juan Treminio's Blog: Xdebug and You: Why You Should be Using a Real Debugger

Juan Treminio's Blog: Xdebug and You: Why You Should be Using a Real Debugger
If you've been working with PHP for any length of time, you know that one of the issues the language has shows up when you're trying to debug your applications. Thankfully, as Juan Treminio points out, there's a better way - Xdebug.Xdebug is a PHP extension that was written and is maintained by Derick Rethans. It provides debugging and profiling capabilities, although I'll be mostly focusing on the debugging aspects in this tutorial. With it you can set a breakpoint and pause the execution of a script to...

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:Martin Sikora's Blog: Google Chrome Extension: PHP Ninja Manual SWAT Blog: Python VS PHP Smashing Magazine: My Favorite Programming Mistakes Gonzalo Ayuso's Blog: New features in PHP5.4 alpha1 Casey's Blog: Make Your Life as a PHP Developer Twice as Easy With phpsh VideoPHPBlog.com: Create your own MVC Bradley Holt's Blog: Testing PHP 5.4 DevShed: Optimize File Downloading in PHP Ibuildings techPortal: DPC11: Day 2 Freek Lijten's Blog: Git...

PHPBuilder.com: Two PHP 5 Security Flaws Found

PHPBuilder.com: Two PHP 5 Security Flaws Found
As reported in this new post on PHPBuilder.com, there are two new security issues that could allow an attacker to execute their own code (note: these are fixed by the latest releases, PHP 5.4.4 and PHP 5.3.14).The flaws are related to each other, with the primary issue being an insecure implementation of the DES within the crypt() function. In his eSecurityPlanet article about recent PHP security updates, Sean Michael Kerner provides the details of these two security flaws.The issue stems from a flaw in...

Community News: PHP-FIG Group Launches Site & FAQ

Community News: PHP-FIG Group Launches Site & FAQ
To help resolve issues that have come up around its formation and to keep too much FUD (fear, uncertainty and doubt) from spreading, the "PHP-FIG" (framework interoperability group) has put together a site and a FAQ describing what they're all about.The FIG stands for Framework Interoperability Group. The name until recently was "PHP Standards Group" but this was somewhat inaccurate of the intentions of the group. [...] The idea behind the group is for project representatives to talk about the...

Web & PHP Magazine: Issue #4 Published - "Safe and Secure"

Web & PHP Magazine: Issue #4 Published - "Safe and Secure"
The Web & PHP Magazine has published its latest issue, number 4, available for free download. Content in this month's issue include: The "#Trending" column (hot and not in the PHP+web communities) An interview with Matthew Weier O'Phinney A wrapup of the International PHP Conference Spring 2012 Arne Blankerts on password handling HTML5 Security considerations Additionally, starting with this issue, you can also download previous issues of the magazine on their iPad application (for $0.99 per issue). The...

PHPClasses.org: Lately in PHP Podcast - Episode #25: The 7 Main Optimizations of PHP 5.4

PHPClasses.org: Lately in PHP Podcast - Episode #25: The 7 Main Optimizations of PHP 5.4
In this new episode of the "Lately in PHP" podcast, Manuel Lemos and Gustavo Lopes (a core PHP developer) talk about some of the latest enhancements in the PHP 5.4.x releases.The PHP 5.4 includes 7 main optimizations that made PHP work more efficiently in terms of the speed and memory usage efficiency. That is the main topic discussed in episode 25 of the Lately in PHP podcast on which Manuel Lemos received Gustavo Lopes, a PHP core developer.You can either listen to this latest episode through the...

PHPMaster.com: Layer Supertype Pattern: Encapsulating Common Implementation in Multi-Tiered Systems

PHPMaster.com: Layer Supertype Pattern: Encapsulating Common Implementation in Multi-Tiered Systems
On PHPMaster.com there's a new post looking at a design pattern that's commonly in use by developers but they might not know its name - the Layer Supertype pattern and its use in multi-tiered systems.Inheritance offers a straightforward way to easily spawn a large number of objects that are semantically related to each other without having duplicate code. The concept is ridiculously simple - yet powerful: you first drop as much logic as possible within the boundaries of a base type (usually an abstract...

Joshua Thijssen's Blog: Symfony2: Implementing ACL rules in your Data Fixtures

Joshua Thijssen's Blog: Symfony2: Implementing ACL rules in your Data Fixtures
Joshua Thijssen has a new post to his blog looking at a method for setting up ACL rules in fixtures for your Symfony2-based applications.Doctrine's DataFixtures are a great way to add test data to your application. It's fairly easy to get this going: Create a fixureLoader that extends DoctrineCommonDataFixturesAbstractFixture, had a load() method and off you go. However, sometimes you want your data also to be protected by Symfony 2′s ACL layer. Since there isn't a common way to do this, here is one...

A Tale Of Open Source

A Tale Of Open Source
As soon as 5 years ago, I barely understood the meaning of Open Source. I had been working with computers for my entire life (I was using a Commodore 64 before I could walk). I had been programming them nearly as long (I wrote my first program before I started grade school). I was an early adopter of Linux (I still have a Red Hat 1 disk somewhere). But I never guessed the impact that open source would have on my life. I never appreciated the impact that open source would have on the world. The past 5...

Fabien Potencier's Blog: PHP is much better than you think

Fabien Potencier's Blog: PHP is much better than you think
Fabien Potencier (of the Symfony project) has posted his own response to some of the recent comments around PHP and its quality, pointing out mainly that PHP is about getting things done (and knows its not the "most beautiful" language out there).The biggest problem of these rants is that they come from people stuck in the old days of PHP. They either don't care or they don't want to admit that PHP actually evolves at a very fast pace, both at the language level but also at the community level. In fact,...

Paul Jones' Blog: When Possible, Use File *Resources* Instead Of File *Names*

Paul Jones' Blog: When Possible, Use File *Resources* Instead Of File *Names*
In this new post to his blog Paul Jones makes a suggestion when you're working with files or external connections in your PHP applications - pass the resource, not the file/path name for more flexibility.In testing the Aura.Http package, I have realized that it's much more flexible, testing wise, to pass around file resources (a.k.a. handles, pointers, or streams) than it is to pass around file names. When you do that, you can use a php://memory stream instead of attempting to touch the file system.He...

Engine Yard Blog: Announcing Our New PHP User Group Program

Engine Yard Blog: Announcing Our New PHP User Group Program
The folks over at Engine Yard have launched a new PHP-related effort to try to do their part to help out PHP user groups all over the world - a new program that aims to provide user groups with support via a direct link with their leaders.Since Engine Yard was formed, we've had a deep commitment to supporting the open source community. [...] What was missing, though, was a more organized way to reach out to PHP User Groups to offer our support. We didn't really have a consistent way to connect with user...

Juan Terminio's Blog: Setting Up a Debian VM, Step by Step

Juan Terminio's Blog: Setting Up a Debian VM, Step by Step
In this new post Juan Terminio shows you how to set up a new virtual machine (VM) that hosts a Debian system (replacing the setup of his previous tutorial for setup of a Ubuntu system) in VirutalBox.Previously, I created a tutorial on installing a 32-bit Ubuntu VM with PHP 5.3.x. I've since moved on to PHP 5.4.x and Debian, which is universally considered a safer bet for a server OS. This tutorial is what I will point back to in the future when I want to show people how to create a VM, so you should...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Gig Cable Label Couch YAPI DB Class Singleton Audio Play A Simple MySQL Form Persistence Log-class

The 7 Main Optimizations of PHP 5.4 - Lately in PHP podcast episode 25

The 7 Main Optimizations of PHP 5.4 - Lately in PHP podcast episode 25
The 7 Main Optimizations of PHP 5.4 - Lately in PHP podcast episode 25 By Manuel Lemos The PHP 5.4 includes 7 main optimizations that made PHP work more efficiently in terms of the speed and memory usage efficiency. That is the main topic discussed in episode 25 of the Lately in PHP podcast on which Manuel Lemos received Gustavo Lopes, a PHP core developer. Listen to the podcast, watch the podcast video or read the transcript to learn more about these and other interesting PHP topics discussed on this...

PHP is much better than you think

PHP is much better than you think
Rants about PHP are everywhere, and they even come from smart guys. When Jeff Atwood wrote yet another rant about PHP, it made me think about the good parts of PHP. The biggest problem of these rants is that they come from people stuck in the old days of PHP. They either don't care or they don't want to admit that PHP actually evolves at a very fast pace, both at the language level but also at the community level. In fact, it evolves much faster than any other language or web platform. It has not always...

PHP is much better than what you think

PHP is much better than what you think
Rants about PHP are everywhere, and they even come from smart guys. When Jeff Atwood wrote yet another rant about PHP, it made me think about the good parts of PHP. The biggest problem of these rants is that they come from people stuck in the old days of PHP. They either don't care or they don't want to admit that PHP actually evolves at a very fast pace, both at the language level but also at the community level. In fact, it evolves much faster than any other language or web platform. It has not always...

Reddit.com: What does the day-to-day look like for a LAMP developer?

Reddit.com: What does the day-to-day look like for a LAMP developer?
In this recent post to Reddit.com, a "solid novice with PHP" asks the community for some insight into what the day-to-day life is like for an average LAMP developer.I wanted to hear from someone who does LAMP development for a living, What does your work day look like? That is to say that, I have no idea what the responsibilities for a LAMP developer look like. Are these people putting together entire websites on various platforms (wordpress, joomla, whatever)? Are you simply doing backend work (setting...

Zend DevZone: ZendCon 2012 Call for Creativity

Zend DevZone: ZendCon 2012 Call for Creativity
On Zend's DevZone site there's a new post about the Call for Creativity for this year's ZendCon PHP conference:If you, or someone you know with connections to the developer community at large, have something to show, we would love to hear so we can showcase at this year's ZendCon. We are looking for music, digital artwork or video media submissions (including fun videos) which will be played or displayed at various places around the conference, with attribution, of course. Physical media submissions are...