PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 3181 to 3200 of 6889

Artur Ejsmont's Blog: How to properly secure remote API calls over SSL from PHP code

Artur Ejsmont's Blog: How to properly secure remote API calls over SSL from PHP code
Artur Ejsmont has a new post with a passionate call to arms for anyone who thinks that just because their URL has "https" in it, it's secure. He presents his suggestion on how to properly secure SSL API calls for your PHP application.Lets make something clear from the very start: JUST BECAUSE THERE IS https:// IN THE URL OF THE REMOTE SERVICE IT DOES NOT MEAN THE CONNECTION IS SECURE! I am sorry for the tone of this post but i am enraged by how popular this issue is online. If you ask why i suggest a...

Easily test PHP 5.4 beta on OS X with php-osx

Easily test PHP 5.4 beta on OS X with php-osx
As you may have read on this blog, we (together with local.ch) provide a ready-to-run compiled PHP package for OS X (Snow Leopard and Lion) for easy installation over at php-osx.liip.ch. And since the first beta of the next major release of PHP was released a few days ago, I thought we could provide packages for people who'd like to test it and see if there software is still running. And make adjustments or report bugs, if it doesn't. Complaining after the official stable release was made is usually too...

PHPBuilder.com: Transfer Data via Multiple Protocols with Libcurl

PHPBuilder.com: Transfer Data via Multiple Protocols with Libcurl
On PHPBuilder.com today there's a new tutorial showing how to use libcurl to communicate with multiple protocols like FTP, HTTP, HTTPS, SMTP and STMPS. The libcurl library that can be compiled in or installed as a shared module in your PHP install to provide enhanced networking abilities.As I wrote in my PHP multithreading with cURL article, the libcurl is a free and easy-to-use client-side URL transfer library, supporting DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S,...

PHPMaster.com: PHP is Moving to Git (Eventually)

PHPMaster.com: PHP is Moving to Git (Eventually)
Recently the PHP project announced a move to git as the primary version control system for the language's development. In a new post to SitePoint's PHPMaster.com site, Davey Shafik explains what that means to the average developer and what you can expect of the future.Just over two years since its move from the antiquated CVS to Subversion (SVN), PHP is once again on the move: this time, to Git. Well, eventually. The migration from CVS to SVN was a huge one and took many months. The need for the PHP...

Michaelangelo van Dam' Blog: Pfcongres 2011 wrap up

Michaelangelo van Dam' Blog: Pfcongres 2011 wrap up
Michaelangelo van Dam attended this year's Pfcongres conference [joind.in] and has shared some of his thoughts and reflections about the event in a new post to his blog.This Saturday I started early to go to Pfcongres, a small PHP community conference in Utrecht organized by the Dutch PHP user group PHPFreakz and after about two hours driving I arrived about half an hour in time before the conference started, with me kick starting with my keynote "Community Works", a 199 slide deck explaining what the...

aY Right conclusion, wrong reasons

aY Right conclusion, wrong reasons
ORM is an anti-pattern: The reason I call ORM an anti-pattern is because it matches the two criteria the author of AntiPatterns used to distinguish anti-patterns from mere bad habits, specifically: It initially appears to be beneficial, but in the long term has more bad consequences than good ones An alternative solution exists that is proven and repeatable It is the first characteristic that has led to ORM's maddening (to me) popularity: it seems like a good idea at first, and by the time the...

Håvard Eide's Blog: ChaosMonkey

Håvard Eide's Blog: ChaosMonkey
HÃ¥vard Eide has a new post sharing a tool he's created (based on some ideas presented in this netflix blog post) for testing a web service. Specifically, his tool helps you test a web service developed with the Slim framework.I just pushed a example on how to create a ChaosMonkey with the Slim framework to github. The idea is that whenever you create a webservice with the Slim framework (which is really simple) you rarely test for failure, the ChaosMonkey class will help you to do just that. When...

My PHP framework winner predictions

My PHP framework winner predictions
First up, I can only claim to be an expert in Symfony2. My knowledge of other PHP frameworks basically consists of actively following twitter for things related to PHP, reading planet-php.org and taking the time to read up on linked mailing list threads and IRC chat logs. I have not been that active on the conference scene in the past few years, but the ones where I did attend I also tried to take a peek at what others are doing. Also this post is kind of exploratory to see what other people think,...

Phil Sturgeon's Blog: NinjAuth: The Social Integration Package PHP has been dying for

Phil Sturgeon's Blog: NinjAuth: The Social Integration Package PHP has been dying for
New on his blog Phil Sturgeon has a post about the social integration package PHP has been dying for - NinjAuth. It has hooks for OAuth and OAuth2 connections and makes it simple to use them completely abstracted.In the past I have never needed to implement oAuth into a PHP project. I have done it in Rails and boy it was easy thanks to OmniAuth. OmniAuth abstracts away so much of the grunt work that it takes about 5 minutes to add a new social network to your site, and 4 of those minutes are spent...

Community News: Latest PEAR Releases for 09.19.2011

Community News: Latest PEAR Releases for 09.19.2011
Latest PEAR Releases: Cache 1.5.7

Steps For Building A Test VM

Steps For Building A Test VM
Using virtual machines for testing software is great. I can try out anything I want, and there's never any risk of trashing my main dev machine (which avoids hours of lost coding time!). I've been using virtual machines since the 1990as, and frankly I couldn't develop without them. (I've also got a lot of experience running a private cloud of VMs for one of the UK's fastest-growing tech companies, but that's a topic for another day or maybe a conversation over a nice whisky at one of the upcoming...

Pfcongres 2011 wrap up

Pfcongres 2011 wrap up
This Saturday I started early to go to Pfcongres, a small PHP community conference in Utrecht organized by the Dutch PHP user group PHPFreakz and after about two hours driving I arrived about half an hour in time before the conference started, with me kick starting with my keynote "Community Works", a 199 slide deck explaining what the PHP community is and how people can be part of that community.My keynote was well received by the audience, although some comments were made it needed a more elegant flow...

Community News: PHP 5.4.0beta1 Released for Testing

Community News: PHP 5.4.0beta1 Released for Testing
The PHP development team has released the latest beta version of the PHP 5.4.x series for testing - 5.4.0beta1.Release candidates are development packages released to check if any critical problems have slipped into the code during the previous development period. Release candidates are NOT for production use, they are for testing purposes only even though in most cases there are almost no differences between the general availability (GA) release and the last RC. You can help the PHP Team and yourself...

Kevin Schroeder's Blog: Zend Framework 2 Event Manager

Kevin Schroeder's Blog: Zend Framework 2 Event Manager
Kevin Schroeder has a new post today sharing some of his experience with the Zend Framework 2 Event Manager in a simple example of pre- and post-validation hooks in a model.I got to play with the Event Manager. I did like the plugin functionality in ZF1, but it required some pretty static coding. In some cases, like the front controller plugins, it makes more sense (though this way seems more desirable). [...] It's a ZF1 application, but since (it seems) the event manager is self-contained (and the...

Michael Nitschinger's Blog: Quick Tip: Lithium Redirect

Michael Nitschinger's Blog: Quick Tip: Lithium Redirect
Michael Nitschinger has a "quick tip" posted in this new entry to his blog - how to handle a redirect in a Lithium-framework based application.While migrating pastium over to MongoDB (from CouchDB), I found [a] snippet in the routes.php file [that makes it so] when the user enters the application via the root url (/), he instantly gets redirected to /pastes/add (or a different URL if you have custom routes configured). This may seem ok at first, but there's a problem. It doesn't take URLs into account...

Lorna Mitchell's Blog: ArrayAccess vs ArrayObject

Lorna Mitchell's Blog: ArrayAccess vs ArrayObject
Lorna Mitchell has a new post to her blog explaining ArrayObject and ArrayAccess and how each is used.I help people qualify for Zend Certification and in the last few months I've had questions about both ArrayAccess and ArrayObject. This post is an attempt to illuminate both. In very simple terms, ArrayAccess is an interface, which you can implement in your own objects; ArrayObject, on the other hand, is a class, which you can either use or extend.She give an example of ArrayAccess - a simple class that...

XPertDeveloper.com: PHP Debugging Tools

XPertDeveloper.com: PHP Debugging Tools
On the XPertDeveloper.com blog today there's a new post sharing four handy debugging tools you can use to make finding those elusive problems in your code simpler.PHP is very well used scripting language in now a days. But PHP does not have any inbuilt debugging tools or extension. But we have some extensions and tools available which serves the debugging purpose of the PHP.The tools on their list involve both the backend and frontend: XDebug Zend Debugger FirePHP PHP Console

Site News: Popular Posts for the Week of 09.16.2011

Site News: Popular Posts for the Week of 09.16.2011
Popular posts from PHPDeveloper.org for the past week:Decal CMS Blog: Testing your website before launching: how to let content drive design (Part 1) Lars Tesmer's Blog: What My Co-Workers and I Learned When Trying to Write Unit Tests for PHPUnit Matt Farina's Blog: SplFixedArray, An Underutilized PHP Gem Federico Cargnelutti's Blog: Building a RESTful Web API with PHP and Apify .Net Magazine: Create an SVG data visualization with PHP Juozas Kaziukenas' Blog: Dependencies management in PHP projects Marco...

Community News: Symfony Camp UA 2011 Announced

Community News: Symfony Camp UA 2011 Announced
A new announcement has come out today about a new Symfony-related event happening at the end of October (on the 29th) in the Ukraine - Symfony Camp UA 2011 (a free event).The conference Symfony Camp UA 2011 is dedicated to the development of web applications with Symfony PHP Framework (http://symfony.com). The main topic of the conference is the new version of the framework - Symfony 2. It's the third conference of its kind in Ukraine. It'll take place in Kiev on October 29, 2011. If you want to...

XpertDeveloper.com PHP "Magic Quotes" Explained

XpertDeveloper.com PHP "Magic Quotes" Explained
If you're relatively new to the PHP world, you may be wondering why there has been so much emphasis put on "magic quotes" in the language's past. If you're not entirely sure what they are (and why to avoid them) take a look at this quick overview from XpertDeveloper.com.First of let me say that Magic Quotes is deprected from the PHP 5.3 and will be removed completely from the PHP 6. But as a developer you might face a situation when you have to work on application which runs on older version of PHP with...

Latest PHP Tweets