PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 4741 to 4760 of 6889

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Simple Multibar jineSSH2 Soap Proxy UL to PHP array Horizontal Bar Chart pdo_p SQLWrapper Very simple pie chart RPC API Framework ArrayHelper Array Helper RIS VarGetter

Till Klampaeckel's Blog: Contributing to PEAR: Taking over packages

Till Klampaeckel's Blog: Contributing to PEAR: Taking over packages
Till Klampaeckel has posted a few suggestions for you if you'd like the take the reigns of a PEAR package when it's not maintained.One of the more frequent questions I see on the mailing lists and IRC is, "How do I take over a package?". Very often people start to use a PEAR package and then at some point encounter either a bug or they miss a certain feature. The package's state however is inactive or flat unmaintained.He recommends a few different courses of action - first asking if there's a way to...

Ruslan Yakushev's Blog: How to enable Xdebug in WebMatrix

Ruslan Yakushev's Blog: How to enable Xdebug in WebMatrix
Ruslan Yakushev has posted some quick instructions on how to get Xdebug, the popular PHP debugger, enabled in the recently released WebMatrix tool from Microsoft.When WebMatrix is used to build or modify a PHP-based web application the debugging tasks can be greatly simplified if Xdebug extension is used. This post explains how to install and use Xdebug extension with WebMatrix.It's a simple six-step process (complete with screenshots) that shows you how to enable it in your php.ini, test that it's...

Michael Maclean's Blog: Using Pango for PHP: a taster

Michael Maclean's Blog: Using Pango for PHP: a taster
Michael Maclean has a new article today talking about the Pango graphics library and how it can be coupled with the Cairo PECL extension to more easily create better looking text in dynamic images.The PECL/Cairo library is pretty good at drawing vector graphics (in our opinion, as the developers, at least!), but one thing it's not able to do by itself is draw text with mildly advanced layout. [...] That's because the developers of the Cairo library decided to let another more specialised library handle...

WebSpeaks.in: Learn Simple Method Chaining in PHP

WebSpeaks.in: Learn Simple Method Chaining in PHP
On WebSpeaks.in today there's a recent post that introduces you to something more and more applications are using - especially frameworks - method chaining in PHP OOP apps.In this article we will learn an advanced OOPS programming concept in PHP known as Method chaining. If you have worked on PHP frameworks like Zend, Magento or CakePHP, you might have noticed a very convinient style of accessing methods of different classes. [...] This type of programming technique is known as method chaining. If you...

Command-line package management with APT

Command-line package management with APT
You can remove a package from your system using APT. To do this just type: apt-get remove package. For example: $ sudo apt-get remove dictators EGYPT a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a- : done TUNISIA a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a- : done LIBYA a-a-a-a-'a-'a-'a-'a-'a-'a-'a-'a-'a-'a-'a-'a-' : in progress Try Ubuntu. It's free. Filed under: Security

Chris Jones' Blog: PHP OCI8 and Oracle 11g DRCP Connection Pooling in Pictures

Chris Jones' Blog: PHP OCI8 and Oracle 11g DRCP Connection Pooling in Pictures
Chris Jones has posted some "pictures" of the performance that an Oracle database sees when it uses the connection pooling versus the normal connect/allocate sort of connection with the Oracle OCI8 driver for PHP. As you can see, the differences in memory consumption are huge.Here is a screen shot from a PHP OCI8 connection pooling demo that I like to run. It graphically shows how little database host memory is needed when using DRCP connection pooling with Oracle Database 11g. Migrating to DRCP can be...

Command-line package management with APT

Command-line package management with APT
You can remove a package from your system using APT. To do this just type: apt-get remove package. For example: $ sudo apt-get remove dictators EGYPT a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a- : done TUNISIA a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a- : done LIBYA a-a-a-a-'a-'a-'a-'a-'a-'a-'a-'a-'a-'a-'a-'a-' : in progress Filed under: Security

Derick Rethans' Blog: Short URLs

Derick Rethans' Blog: Short URLs
Derick Rethans has shared a method he's created for making short, descriptive URLs with the help of his translit PHP extension that translates non-latin characters into latin ones.The URLs for my articles are automatically generated from the title. There is a little function that uses translit's transliterate() function to ASCII-ify the titles. [...] However, [this] is hardly a short URL. What we want is something short and descriptive. First of all, I thought it would work to generate short URLs...

Keith Casey's Blog: Technical Debt Doesn't Disappear

Keith Casey's Blog: Technical Debt Doesn't Disappear
In a recent post to his site Keith Casey mentions something that should be obvious to most software developers (and managers of developers out there) but is easy to forget - technical debt doesn't just disappear, even if the related resources change dramatically.Just because you set a codebase aside and do it the "right" way, your problems don't disappear. The same bugs that annoyed people yesterday will be there today and tomorrow. In fact, when the bugs are still there a week, month, or year from now,...

Community News: Latest PECL Releases for 02.22.2011

Community News: Latest PECL Releases for 02.22.2011
Latest PECL Releases: timezonedb 2011.2 mogilefs 0.8.0 mogilefs 0.8.1 imagick 3.1.0b1 yaml 1.0.0 yaml 1.0.1 PDO_CUBRID 8.3.1.0001

Short URLs

Short URLs
Short URLs London, UK Tuesday, February 22nd 2011, 09:43 GMT When using twitter, or other mobile devices where space is a premium, it is quite common to use shortened URLs. Many people will not be keen on typing http://www.openstreetmap.org/?lat=51.5073&lon=-0.1278&zoom=14&layers=M, and will prefer something like http://osm.org/go/euu4gY@w- instead 1. The URLs for my articles are automatically generated from the title. There is a little function that uses translit's transliterate() function to...

PHP OCI8 and Oracle 11g DRCP Connection Pooling in Pictures

PHP OCI8 and Oracle 11g DRCP Connection Pooling in Pictures
Here is a screen shot from a PHP OCI8 connection pooling demo that I like to run. It graphically shows how little database host memory is needed when using DRCP connection pooling with Oracle Database 11g. Migrating to DRCP can...

PHP: Master slave load balancing in mysqlnd - how transparent?

PHP: Master slave load balancing in mysqlnd - how transparent?
How transparent does master slave load balancing support for mysqlnd have to be? Transparency, when driven to the extremes, has three limiting factory: power users not needing it, increase of messages send to MySQL, time intensive SQL monitoring and parsing. The PECL/mysqlnd_ms proof-of-concept mysqlnd plugin is almost transparent to ...

Using Pango for PHP: a taster

Using Pango for PHP: a taster
The PECL/Cairo library is pretty good at drawing vector graphics (in our opinion, as the developers, at least!), but one thing it's not able to do by itself is draw text with mildly advanced layout. It has the CairoContext::showText() function, but that doesn't really let you do anything GD can't. That's because the developers of the Cairo library decided to let another more specialised library handle the job of text layout. Much of the time, the library that gets used for this is Pango. It has several...

Gonzalo Ayuso's Blog: Speed up page page load combining javascript files with PHP

Gonzalo Ayuso's Blog: Speed up page page load combining javascript files with PHP
Gonzalo Ayuso has a handy performance tip for getting that little bit extra speed from your page load times - combining Javascript with PHP files.One of the golden rules when we want a high performance web site is minimize the HTTP requests. Normally we have several JavaScript files within our projects. It's a very good practice to combine all our JavaScript files into an only one file. [...] But if your project is alive and you are changing it, it's helpful to spare your JavaScript files between several...

Symfony Blog: Symfony Live San Francisco Video

Symfony Blog: Symfony Live San Francisco Video
On the Symfony blog today a new video has been posted highlighting Symfony Live in San Francisco as produced by Yusuke Ando.During the conference in San Francisco, Yusuke Ando recorded some images from the sessions and interviewed Dustin Whittle. The video is now available.If you're looking for a more in-depth look about what happened during the two day event, check out part one and part two of Stefan Koopmanschap's experience while there.

ZendCon Sessions Episode 039: Continuous Inspection and Integration of PHP Projects

ZendCon Sessions Episode 039: Continuous Inspection and Integration of PHP Projects
The ideas behind Continuous Integration have changed how companies look at Build Management, Release Management, Deployment Automation, and Test Orchestration. This session presents the best practices and available tools that provide an insight into the development progress and code quality throughout the development lifecycle of PHP -based software projects.

Anna Filina's Blog: Symfony - subfolders for partials

Anna Filina's Blog: Symfony - subfolders for partials
Anna Filina has a new post to her site today about using subfolders for partials in Symfony applications and keeping them organized.Symfony 1.2 - 1.4 expects all partials to follow this convention: templates/_partial.php. What happens when you need to organize your partials in subfolder? I tried a number of "Symfunky" avenues.She tried a few ways - calling the helper with the include_partial method but it didn't resolve to the path she wanted. Next she tried a different path, but Symfony only interpreted...

Zend Developer Zone: ZendCon Sessions Episode 38: Reusable Bootstrap Resources with Zend_Application

Zend Developer Zone: ZendCon Sessions Episode 38: Reusable Bootstrap Resources with Zend_Application
New on the Zend Developer Zone today is the latest podcast in their "ZendCon Sessions" series (as recorded at the Zend/PHP Conference 2010 in Santa Clara, CA). In this episode Hector Virgen talks about creating reusable bootstrap resources with the Zend_Application component of the Zend Framework.His talk introduces you to bootstrapping, shows how to get started with Zend_Tool and shares code and configuration details for using resources in your controllers.You can listen to this latest episode either...

Latest PHP Tweets