PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 5601 to 5620 of 6889

How to Create Your Own WordPress Shortcodes

How to Create Your Own WordPress Shortcodes
WordPress doesn't normally allow you to add PHP code to pages or posts. That's for the best: you don't want clients to discover the power of the unlink function! However, you can create custom functions which are executed when a shortcode is encountered within the post text. Simple shortcodes Shortcode functions can be added to plugin code or your theme's functions.php file. If it's the latter, I'd recommend creating a separate shortcodes.php file, then adding include('shortcodes.php'); to...

NETTUTS.com: Caching, YQL, and Regular Expressions

NETTUTS.com: Caching, YQL, and Regular Expressions
On NETTUTS.com today there's a new tutorial showing you how to work with YQL for pulling information from remote feeds and PHP (with regular expressions) to handle filtering and caching.In today's tutorial, we're going to mix a handful of technologies. First, we'll review how to implement a simple form of text file caching with PHP. To illustrate this technique, we'll use the wonderful YQL to query Twitter's search API for a list of tweets which contain the string, "nettuts." Finally, we'll experiment...

Forum PHP: APC & Memcached Slides

Forum PHP: APC & Memcached Slides
The slides from my talk at Forum PHP on the topic of "APC & Memcached" are now up and can be downloaded here: Barcelona_APC_MEM2010.pdf Thanks to the all the listeners, who hopefully were able to keep up with a the slightly rushed timing of the presentation and I am really sorry that there was not much time for questions, if you have any, please catch me during the conference, I'll be happy to answer them. As always feedback (good or bad) is much appreciated via Joind.In at: http://joind.in/2107

Zend Developer Zone: Announcing ZFConf Ukraine + MageConf 2010

Zend Developer Zone: Announcing ZFConf Ukraine + MageConf 2010
On the Zend Developer Zone today there's an announcement from Alexander Veremyev about a new conference that'll be happening in Kiev, Ukraine in the later part of November - ZFConf Ukraine.I'm glad to announce ZFConf Ukraine + MageConf 2010, which is a joint conference for Zend Framework and Magento users. It will happen on 27th November in Kiev, Ukraine. ZFConf Ukraine is a first Zend Framework Ukrainian conference prepared in a partnership with ZFConf Russia and zendframework.ru community.Sessions will...

Nick Belhomme's Blog: PHPUnit Training Course for free

Nick Belhomme's Blog: PHPUnit Training Course for free
As is mentioned on the Zend Developer Zone, Nick Belhomme has released the first few pages of the training materials he's created for using PHPUnit effectively in testing applications for free.Today is an awesome day my dear fellow programmers. Today is the day I decide to freely distribute the first couple of pages of the PHPUnit workshop I have been giving for some time now. It is a workshop that builds a small demo application the Test Driven Development way. The reason I open this workshop course is...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Google map Wrapper Cache Java and C# compatible object autoboxing Netping Net Ping EVDB Simple Table Wrapper Registration PHP Class Stachl Ping PHP AGI Dextep Template Engine Version Translator Email attachments reader (IMAP/POP3)

Free PHPUnit Training

Free PHPUnit Training
Nick Belhomme has recently announced on his blog that he is releasing the first few pages of his PHPU nit training course. Click on in, I think I've got a quote and a URL around here somewhere.

Feed detection for Tiny Tiny RSS

Feed detection for Tiny Tiny RSS
Until recently I used newsbeuter, a neat tool for the command line, to read news feeds. It is fast, works on cli and lets you really easily navigate around with keyboard shortcuts. It has two downsides: First, startup takes too long with an archive of ~20.000 feed entries. The second issue is more serious; reading news at work is not really possible, since newsbeuter is installed on my laptop. I could install it on my server, but then opening the articles with a key press would not work...

Announcing ZFConf Ukraine + MageConf 2010

Announcing ZFConf Ukraine + MageConf 2010
I'm glad to announce ZFC onf Ukraine + MageConf 2010, which is a joint conference for Zend Framework and Magento users. It will happen on 27th November in Kiev, Ukraine.

Introducing the ZF2 Plugin Broker

In Zend Framework 2.0, we're refactoring in a number of areas in order to increase the consistency of the framework. One area we identified early is how plugins are loaded. The word "plugins" in Zend Framework applies to a number of items: Helpers (view helpers, action helpers) Application resources Filters and validators (particularly when applied to Zend_Filter_Input and Zend_Form) Adapters In practically every case, we use a "short name" to name the plugin, in order to allow loading...

Rob Allen's Blog: Validating dates

Rob Allen's Blog: Validating dates
In a new Zend Framework related post to his blog today Rob Allen takes a look at a different operating mode he found with Zend_Date changing how it handles format specifiers.I discovered recently that Zend Framework 1's Zend_Date has two operating modes when it comes to format specifiers: iso and php, where iso is the default. When using Zend_Validate_Date in forms, I like to use the php format specifiers as they are what I'm used to and so can easily know what they mean when reviewing code that I wrote...

Brian Moon's Blog: Monitoring PHP Errors

Brian Moon's Blog: Monitoring PHP Errors
Brian Moon has a new post to his blog that pulls together some of his thoughts on monitoring PHP applications and how to handle the error that might be thrown.PHP errors are just part of the language. Some internal functions throw warnings or notices and seem unavoidable. A good case is parse_url. The point of parse_url is to take apart a URL and tell me the parts. Until recently, the only way to validate a URL was a regex. You can now use filter_var with the FILTER_VALIDATE_URL filter. But, in the past,...

Ibuildings techPortal: DPCRadio: Stress-free deployment

Ibuildings techPortal: DPCRadio: Stress-free deployment
On the Ibuildings techPortal today they've posted the latest episode of their DPC Radio podcast series (as recorded at this year's Dutch PHP Conference). This episode is Rob Allen's talk about web application deployment - "Stress-free Deployment".This talk will concentrate on the various strategies you can use to ensure that developing and releasing new features to a live website is stress-free. Firstly we will look at how organising your source code into branches can provide confidence and allow for...

Sameer Borate's Blog: Encrypting uploaded files in PHP

Sameer Borate's Blog: Encrypting uploaded files in PHP
In this new post to his blog Sameer Borate looks at a method he's come up with to encrypt files uploaded into your application with the help of the Zend_Filter component of the Zend Framework.As earlier I'd encountered Zends wonderful Zend_Filter class, I decided to go with it and use the Zend_Filter_Encrypt and Zend_Filter_Decrypt to accomplish the work. The Zend_Filter component provides a set of common useful data filters, among which are the encryption filters. Although my project was not developed...

Community News: ZendCon 2010 Wrapups

Community News: ZendCon 2010 Wrapups
Several of the people that attended this year's ZendCon conference in California last week have posted their own perspectives on the days of the conference (as well as some overall wrapups). Here's the list so far: Keith Casey's ZendCon 2010 Recap a summary from Neal Anders Ligaya Turmelle's wrapup post (and her look at tutorial day) Michelangelo van Dam's thoughts on the conference Another summary from Bulat Shakirzyanov If you have a wrapup of this great conference and want to share it here, email me...

Community News: Latest PECL Releases for 11.09.2010

Community News: Latest PECL Releases for 11.09.2010
Latest PECL Releases: APC 3.1.5 ssh2 0.11.2 ssh2 0.11.1 mongo 1.0.11 ssdeep 1.0.1 APM 1.0.0beta3 PDO_CUBRID 8.3.0.0001 ibm_db2 1.9.1 funcall 0.3.0alpha

Confoo

Confoo
PHP Quebec is pleased to announce the 2011 edition of the http://confoo.ca/ Conference. The Conference will take place in MontrAal, QuAbec, Canada between March 9 and 11th 2011. We are looking for speakers willing to share their expertise with Canadian and United States PHP professionals programmers and managers. The Conference features technical one hour talks dedicated many aspects of Web development such as mobile apps, security, databases, cloud, web standards, accessibility, project management,...

Agile Toolkit News: Selective view rendering in Web Applications

Agile Toolkit News: Selective view rendering in Web Applications
New from the Agile Toolkit News site today, there's a new article looking at selectively rendering views in framework-based web applications, handling them as objects instead of just output.Today - any desktop software is able to re-draw itself from a callback by operating system. However many Web Frameworks today do not keep track of objects and cannot selectively produce pieces of HTML code. I believe that ability to have control over objects on HTML pages is very essential to have in the Framework....

Stubbles Blog: Dependency Injection for static methods

Stubbles Blog: Dependency Injection for static methods
On the Stubbles blog today there's a new post from Frank Kleine showing how you can use a new feature of PHP 5.3 to perform dependency injection on static method - calling static methods with dynamic class names.Developers who are familiar with the topic of clean code know that static methods are a problem, especially if it comes to testability. Static makes the code global, and if there is some kind of state involved it is even more a problem because this is global state then - both a maintenance and...

ZendCon 2010 Wrap up

ZendCon 2010 Wrap up
Last week Santa Clara was buzzing PHP at ZendCon 2010, the PHP conference of the year where vendors and developers unite to talk about, learn and see new innovations and best practices in the world of PHP.I was invited by Zend to present 3 talks: "Unit Testing after Zend Framework 1.8" (http://joind.in/2243), "Why Zend Framework powers the enterprise" (http://joind.in/2264) and "Improving QA on PHP development projects" (http://joind.in/2279).From the reactions I received on joind.in, I'm glad I faced...

Latest PHP Tweets