PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

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

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.

ZendCon 2010: Zend(Un)Con

ZendCon 2010: Zend(Un)Con
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. Wether you're an attendee, a conference speaker, a sponsor or part of the conference organization, you're welcome to step up and share with the community.

taskman: yet another Ant alternative

taskman: yet another Ant alternative
I created a small PHP library taskman for writing project related tasks in a similar with Ant and rake fashion. 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 [...]

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
File-Upload PHP jQuery Toggler Events Calendar Blog Criptkiller INI Parser Simple DBase Vermis - The Issue Tracking System Database Abstraction PHP sockets

PHP South West (#phpsw) User Group Meeting, 7pm Tonight, Bristol

PHP South West (#phpsw) User Group Meeting, 7pm Tonight, Bristol
Tonight's meeting of the PHP SouthWest User Group will be at The Third Floor, Bush House, Bristol from 7pm. We'll be in the conference room for an hour, and then from 8pm downstairs in the bar at the Arnolfini. What Is Planned There were quite a few of us at last weekend's excellent PHP North West 2010 conference. Tonight, we'll discuss the talks we attended and share what we liked and what we learned. How To Get There We'll be at Bush House, 72 Prince Street, Bristol BS1 4QD. This Google Map has...