PhpRiot
Follow phpriot on Twitter
Sponsored Link
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 5821 to 5840 of 6889

Authorization by social graph

Authorization by social graph
I've been kicking around an idea for a while now, discussed with some friends, but don't have time to implement this just yet. A I may use this at the core of a project early next year, but I wanted to get the main idea out there now. A Perhaps others are already doing this, but I haven't seen it anywhere (yet?). Currently, many apps tie in with twitter/facebook/etc for authentication - a third party openid server indicates to the original app that you are who you say you are. A In some cases, there's...

indieconf - offline payment options

indieconf - offline payment options
I had requests from a couple of people for methods to pay for indieconf registrations without using a credit card. A I thought I'd already offered these with eventbrite, but may not have turned them on. A Soa€¦ if you were holding off registering for indieconf, you can register now and pay at the door, or pay via check, or request an invoice. A How's that for choice?

PHP: 62 characters to see all MySQL queries

PHP: 62 characters to see all MySQL queries
Did you ever want to see the database queries an arbitrary PHP MySQL application runs? It takes two free downloads and 62 characters to see them. Get PHP 5.3.4-dev Get PECL/mysqlnd_qc Add 19 characters to your configure line: --enable-mysqlnd-qc Add 43 characters at the end of applications source, e.g. using the auto_append_file configuration setting: var_dump(mysqlnd_qc_get_query_trace_log()); Start your query analysis array(329) { [0]= array(8) { ["query"]= string(27) "SET...

SabreDAV 1.3.0 released

SabreDAV 1.3.0 released
I just released version 1.3.0 of SabreDAV. Uptake has been very strong, especially for the CalDAV components. The biggest change is a big performance boost for most tree operations.To upgrade, download the new file here, or if you installed it using pear:pear upgrade sabredav/Sabre_DAVpear upgrade sabredav/Sabre_CalDAVTo install using pear:pear channel-discover pear.sabredav.orgpear install sabredav/Sabre_DAVpear install sabredav/Sabre_CalDAVThere is a list of 4 (smallish) backwards compatibility breaks...

Zend Framework 1.11.0BETA1 Released

Zend Framework 1.11.0BETA1 Released
The Zend Framework team is pleased to announce the immediate availability of the first beta release of Zend Framework 1.11.0. This release is the culmination of several months of effort by contributors and Zend Framework partners, and offers several key new features, including support for mobile devices and the first stable release of the SimpleCloud API.

CodeForest.net: How to crop an image using jQuery and PHP

CodeForest.net: How to crop an image using jQuery and PHP
On CodeForest.net there's a new tutorial that merges the power of PHP and the popular jQuery javascript library to create an image cropping tool you can use on your site.So, your client uploaded the image into your newly, freshly developed CMS and then called you to yell about distorted image, or image that just does not look good? That is a well known scenario. Let me explain a bit what we will achieve today. When your client uploads an image, he is taken to an Image edit area where he sees uploaded...

Brian Swan's Blog: Using the Windows Azure Tools for Eclipse with PHP

Brian Swan's Blog: Using the Windows Azure Tools for Eclipse with PHP
Brian Swan has a new post today looking at how to use the Eclipse tools for Windows Azure with your PHP applications. The tools allow you to more directly interface with your Azure instance without having to do much outside of Eclipse.Following on the heels of announcements a couple of weeks ago, the Interoperability Team at Microsoft is announcing the availability of another update to the Windows Azure Tools for Eclipse. In this post, I'll use the updated Eclipse plug-i to walk you through creating and...

Iwan Luijks' Blog: Using Enchant with PHP on Windows - Part 1

Iwan Luijks' Blog: Using Enchant with PHP on Windows - Part 1
Iwan Luijks has written up the first part in a series looking at using the Enchant extension - an interface to other third-party spell-checking APIs.PHP 5.3 introduced us to some new bundled extensions, including Enchant. The Enchant extension is a binding for the Enchant library. Note: Before PHP 5.3, Enchant was available as optional extension through PECL. This article however only covers the setup and usage of the bundled extension in PHP 5.3 This short tutorial gives an introduction to setting up...

Should You Close PHP Tags? The Debate Continuesa€¦

Should You Close PHP Tags? The Debate Continuesa€¦
I was amazed at the response to my recent article, Should You Close Your PHP Code Tags? I didn't think it would be controversial or cause so much debate among developers! To recap, closing PHP tags (?) are entirely optional if you're coding a PHP-only file and there's no intermingled html. Files containing single class definitions are good candidates. Omitting the closing tag has another benefit: it becomes impossible to accidentally add white space to the end of the file. Therefore, output cannot be...

PHP-Code.net: Securing PHP Apps Part III - Securing PHP on the server/Securing MySQL & Apache

PHP-Code.net: Securing PHP Apps Part III - Securing PHP on the server/Securing MySQL & Apache
PHP-Code.net has posted the third part of their series looking at ways you can help to secure your PHP-based application. This time, though, the focus is all on the server side - Apache/MySQL/etc.This is the last part of this tutorial where I tell you a few things about securing PHP on the server, about securing MySQL and Apache. [...] Also, you have to keep in mind that you must know on what operating system your server runs in (UNIX, Linux, Mac OS or Windows) because this has to be secured too. This...

Pavel Shevaev's Blog: taskman: yet another Ant alternative

Pavel Shevaev's Blog: taskman: yet another Ant alternative
Pavel Shevaev has put together what he calls "yet another Ant alternative" - a tool written in PHP to create project related tasks in a style that matches the Ant and rake methods.There is a lib-taskman project on the google code hosting where you can find the full documentation, sources and latest releases. It's probably not that elegant as rake but if you want to stick to PHP and have Ant-alike functionality without any XML programming then taskman may turn out to be handy. taskman is very simple to...

Cormac' PHP Blog: Practical example php implementation of the Observer pattern

Cormac' PHP Blog: Practical example php implementation of the Observer pattern
New from Cormac's blog there's a post looking at an implementation of the Observer design pattern in a bit more practical scenario than some other examples out there.Observer is a pattern where an object called the subject maintains a list of dependents (observers) and notifies them of any state changes. I implemented this recently to log changes to an Account object, and to notify the account holder if their account had expire - here's the basics of the code, hopefully it'll help someone else figure out...

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:Developer.com: Build your own MVC Framework: Getting your Framework Up And Running Hasin Hayder's Blog: RackSpace Cloud Server Client Library for PHP Symfony Blog: Symfony and Doctrine 2 Brandon Savage's Blog: "Micro" Optimizations That Matter NETTUTS.com: Full CodeIgniter Textmate Bundle Raphael Stolt's Blog: Zend Framework 1.8 Web Application Development book review Keith Casey's Blog: Book Review: PHP Design Patterns by Jason Sweat Lorna...

Deleting indexes from Zend_Registry and why you shouldn't do it !

Deleting indexes from Zend_Registry and why you shouldn't do it !
Zend_Registry is the implementation of the Registry design pattern in the Zend Framework. It is similar to the $_GLOBALS array in pure PHP, but unlike it, it does not provide a transparent way to unset values at a specified index. As you will see in this short article, there is a very simple way to do it, but that doesn't mean it should be done.Read the full article to see how values can be deleted from Zend_Registry and also why than is not recommended.

Libxml, XInclude and XPointer

Libxml, XInclude and XPointer
Lately we came across the problem that the XML/XSL view engine of Stubbles stopped working when upgrading to a newer PHP version which included libxml 2.7 instead of the previous 2.6 version. As of course Stubbles should be able to run with PHP 5.3 which uses libxml 2.7 this had to be fixed. So I tried to investigate the issue, and it took me some hours to find out what the problem was. Once the problem was understood it was very easy to fix. However, to come to the point were it became clear what was...

Fabien Potencier's Blog: Twitter and Emails are good; Postcards are better

Fabien Potencier's Blog: Twitter and Emails are good; Postcards are better
Been wanting to give direct feedback to the folks behind the Symfony project, but feel like maybe your tweets and emails are just getting lost in the shuffle? Fabien Potencier has an alternative you can try - send him a postcard!As a lead developer of Symfony, I need feedback. Symfony being an Open-Source project, there is no way I can know how many people are using it, who they are and what they do with it. That's fine and all, but sometimes, that would really help me to know the Symfony user base a bit...

Zend Developer Zone: ZendCon 2010: Zend(Un)Con

Zend Developer Zone: ZendCon 2010: Zend(Un)Con
On the Zend Developer Zone today there's a new post from Michaelangelo van Dam, the organizer of the unconference at this year's Zend/PHP Conference with an overview of what you can expect while you're there.Community is all about getting involved and sharing knowledge and best practices. At ZendCon you'll get a chance to step up and share your knowledge and skills to everyone at the conference with the ZendCon uncon. These Uncon sessions are run separately from the main tracks and are open for everyone....

php|architect: Live from PHPNW: "Teach a man to fish" keynote

php|architect: Live from PHPNW: "Teach a man to fish" keynote
If you weren't able to attend this year's PHP North West conference, you can get a little slice of it via this "live from the keynote" comments the folks at php|architect put together during Lorna Mitchell's "Teach a Man to Fish" keynote.The wonderful PHP Northwest 2010 conference took place last weekend in Manchester, UK, and our Marco Tabini was present to keynote Lorna Jane Mitchell's keynote "Teach a man to fish." Here's the transcript from the event (powered by Blue Parabola's upcoming live-blogging...

The mysqlnd query cache meets Oxid at the IPC 2010

The mysqlnd query cache meets Oxid at the IPC 2010
How amusing: an ancient write-up on the first PHP Kongress in 2000 edition written by one who later became a mentor of the autor of phpOpenTracker. How boring: a silver guy talking at the 10th aniversary of the conference about some 60% performace benefit for Oxid eShop, an example of a modern award-winning software, if using the mysqlnd query cache plugin (PECL/mysqlnd_qc). How confusing: the same silver guy calls his own benchmarks irrelevant and faulty. Award-winning technology: Oxid loves the query...

ZendCasts.com: Unit Testing Models

ZendCasts.com: Unit Testing Models
New from ZendCasts.com there's a webcast about testing models in your Zend Framework applications.A walkthrough on how to build up a simple model layer using a test-driven development approach.You'll need a project already set up to follow along (he doesn't walk you through the creation of one or the setup of PHPUnit) but the process is pretty simple. He shows how to create some unit tests with the TDD method to help create better code through anticipated feature testing.

Latest PHP Tweets


22 May 9:20 PM: zend: PHP 2013: The “Must Attend” Event for the PHP Community! Special early registration - $495. Register Now!" http://t.co/QlRLBQLz6l

22 May 8:30 PM: zend: #Forbes: The Battle For The #Cloud Is On -- Who Will Win? http://t.co/nh6HvAmByx

22 May 7:45 PM: planetphp: Full Test Coverage is Impractical - Anna Filina http://t.co/JRjxWucUFp

22 May 7:15 PM: planetphp: Simplest PHP Generator Example - Lorna Mitchell http://t.co/XWBNN5HRfV

22 May 5:18 PM: phpdeveloper: http://t.co/xhChJoDPDQ:: Over on http://t.co/xhChJoDPDQ recently a discussion was kicked off asking people what... http://t.co/rLLEXO4yRZ

22 May 5:02 PM: zend: Start your project off right with the best free #PHP Server! http://t.co/63uIMXilzR

22 May 5:02 PM: zendcon: Start your project off right with the best free #PHP Server! http://t.co/OVaCP0hTuT

22 May 3:55 PM: phpdeveloper: http://t.co/6SqlRqLxrS: Openbiz Cubi: A Robust PHP Application Framework, Part 2: http://t.co/6SqlRqLxrS has po... http://t.co/nTDxqP2mRx

22 May 3:01 PM: zend: Make your products stand out within the #PHP community! #ZendCon #PHP 2013 http://t.co/v6ObuRJxm8

22 May 3:00 PM: zendcon: Make your products stand out within the #PHP community! #ZendCon #PHP 2013 http://t.co/60jLf7w0IL

22 May 2:36 PM: zendcon: We have a "Who's Who" of Tutorial Presenters lined up for #ZendCon 2013 ! - http://t.co/eR8IE7nqPH

22 May 2:34 PM: phpdeveloper: http://t.co/1cZYziDfKO: 5 Reasons Why the Web Platform War is Over: PHP Won with 75% says Google: In this new ... http://t.co/N5dhp1SsmH

22 May 1:39 PM: phpdeveloper: Community News: Packagist Latest Releases for 05.22.2013: Recent releases from the Packagist:kherge/box (2.0.0... http://t.co/c4f8CvuSaF

22 May 12:45 PM: planetphp: Code complexity and clean code - Brandon Savage http://t.co/iflosboDoL

22 May 12:37 PM: phpdeveloper: Community News: Latest Releases from http://t.co/1cZYziDfKO: PHP Google Translate String Package: PHP Google T... http://t.co/OCXYnXqsyU

22 May 9:44 AM: zend: Join @nataliabartol today at 4:30pm CET, when she'll talk about Mobile App Development in Zend Studio 10. http://t.co/aSl24ocZFO

22 May 1:08 AM: mwop: I’ll be joining the great line-up of speakers at Distill this August: https://t.co/EizVRWlHqY

21 May 11:31 PM: zend: Zend Framework 2.2 focuses on usability and consistency #zf2 http://t.co/P2PH9agBue

21 May 10:00 PM: zend: Attending ZendCon? Take advantage of the 50% Discount on Certification Exams! http://t.co/pUKJKsjyS9