PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 6181 to 6200 of 6889

PHPBuilder.com: Downloading and Parsing Gmail Messages in PHP

PHPBuilder.com: Downloading and Parsing Gmail Messages in PHP
New on PHPBuilder.com today there's a tutorial showing you how to download and parse messages from Google Mail. In their case it's grabbing and parsing submissions from a form.Some friends of mine publish a literary journal that accepts submissions via email. At their request I wrote a script to download messages from the journal's Gmail account and do some simple parsing tasks. Most of the submissions are made using an HTML form and a corresponding mailer script on their website, so I knew the precise...

Zend Developer Zone: Introduction to DataModeler

Zend Developer Zone: Introduction to DataModeler
On the Zend Developer Zone today there's the first part of a series from Vic Cherubini about an ORM tool he's created to make pulling data from your database of choice (via PDO objects) simpler - DataModler. This first part looks at creating testable models.DataModeler allows you to create easily testable Models that are not dependent on any datasource. The majority of your logic should take place in the Model, and not the Controller (making your application even easier to test as data sources can be...

Extending Zend Form Element to create customized Phone number field

Extending Zend Form Element to create customized Phone number field
Remember phones? (yes those things you text with.) Anis Ahmad recently blogged about how he created a Zend_Form_Element to wrap not only the display but the validation of a phone number. While it won't handle BR-549, it does seem to handle all modern phone numbers. If you use Zend Framework, click on in, I'll give you the details and links.

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Box Cache Episode tracker SQLite and MySQL Notes php-omegle CSV To LDIF RSS feedback PHP Omegle AJAX Calendar Megavideo Premium Link Generator Primage Web Shell Searcher Pagination in PHP Probability distribution cjEvents Calculate age PHP Class Generator Bryan Version PHP Vulnerability Scanner

Contributing to ZendFramework

Contributing to ZendFramework
... on contribution Who hasn't ever started writing his own Framework/CMS? It is considered best practice for learning purposes, but going through all the security stuff can be stressful and boring at the same time. That's where most devs start to contribute to big Open Source-projects like Typo3 or the Zend Framework, because they are already experienced working with it and yet evolving another system on the market or even getting people to contribute seems like an unachievable task. Instead of wasting...

Big step forward in Modular Database Applications with DataObjects

Big step forward in Modular Database Applications with DataObjects
Article originally from rooJSolutions blog Being a Software Developer is all about developing applications faster, and delivering quicker. At the same time ensuring that quality is not lost and readibility is kept. DB_DataObjects is one of the key tools in my productivity toolkit. It was originally designed as a way of ensuring that shared database related code ends up in the right place, In the Model layer of the application, rather than the View or Controller (or worse mixed in to some hybrid PHP html...

Community News: Day Camp 4 Developers

Community News: Day Camp 4 Developers
If you're a developer are are looking on a way to brush up on some of your "soft skills" in your career of choices, you should check out this day long camp being organized by Cal Evans - Day Camp 4 Developers.Invest a Saturday in your career. Learn the skills you need from your five camp counselors. We promise no wallets or lanyards. This one-day, technology agnostic, online conference will feature 5 sessions in a single track. You participate in this live conference from the comfort of your own home or...

DataModeler: Simple ORM - Part 1 Models

DataModeler: Simple ORM - Part 1 Models
DataModeler is an Open Source ORM I began writing at the beginning of the year. I had experience with ActiveRecord, but was dissuaded from using it too often because it was difficult to unit test (at least I felt so). Wanting to learn Test Driven Development better, I decided to create my own small ORM framework: DataModeler. In this article, I'll go over creating a Model and the different ways you can modify one.

Zend Developer Zone: Creating PDF Documents with Zend Framework

Zend Developer Zone: Creating PDF Documents with Zend Framework
On the Zend Developer Zone there's a new post by Vikram Vaswani about a method for creating PDF files directly from a Zend Framework application (hint: it uses Zend_Pdf).PHP comes with a number of options to help developers dynamically generate PDF files from within their applications. The Haru and PDFlib extensions offer a complete API for dynamic PDF generation, and there also exist a number of open-source PHP components that can be used for the same purpose. This article will introduce you to one such...

Kevin Schroeder's Blog: You want to do WHAT with PHP? Chapter 3

Kevin Schroeder's Blog: You want to do WHAT with PHP? Chapter 3
Kevin Schroeder has posted another excerpt from his "You Want to Do WHAT with PHP?" book to his blog today. This time it's from the third chapter that looks at character encodings like UTF-8 or ISO-8859-1.I realized that while this 3.5-year PHP consultant knew Unicode, UTF-8, character encodings such as ISO-8859-1 or ISO-8859-7, I didn't understand them as well as I thought I had. With that I threw this chapter in the book. Knowing about character encoding is what many developers have. Not as many truly...

SitePoint PHP Blog: How to Roll Your Own JavaScript Compressor with PHP and the Closure Compiler

SitePoint PHP Blog: How to Roll Your Own JavaScript Compressor with PHP and the Closure Compiler
On the SitePoint PHP blog today there's a quick new post showing you how to create a Javascript compressor tool with PHP that uses the Closure Compiler from Google.In my previous post, I discussed the Closure Compiler's REST API. In this article, we'll develop a small PHP program that shows how the API can be used to compress JavaScript code whenever you need it.He shows how to compress three "script" tags down into one that defines multiple files for the engine to grab and compress. This is passed into...

Brian Swan's Blog: Managing Multiple PHP Versions with PHP Manager for IIS 7

Brian Swan's Blog: Managing Multiple PHP Versions with PHP Manager for IIS 7
In this new post to his blog Brian Swan talks about a tool that's been released by the IIS Team at Microsoft to make it even simpler to run multiple versions of PHP under IIS - the PHP Manager.Not only does the PHP Manager make it a no-brainer to run different PHP versions side-by-side on IIS, it makes it easy to register PHP with IIS, configure various PHP settings, enable/disable PHP extensions, remotely manage PHP configuration via the php.ini file, and check the PHP runtime configuration and...

Derick Rethans' Blog: Collecting Garbage: PHP's take on variables

Derick Rethans' Blog: Collecting Garbage: PHP's take on variables
Derick Rethans is republishing an article series he wrote (originally for php|architect) about the garbage collection that is included with the PHP 5.3 releases. He kicks off the series with this first post introducing internal variable handling.Before we start with the intricate details of PHP's new GC engine I will explain why it is actually needed. This, combined with an introduction how PHP deals with variables in general is explained in this first part of the column. The second part will cover the...

Ilia Alshanetsky's Blog: Beware of the default Apache 2 config for PHP

Ilia Alshanetsky's Blog: Beware of the default Apache 2 config for PHP
Ilia Alshanetsky has a suggestion for those setting up PHP and Apache2 for the first time - beware of the default configuration!About a week ago, I was doing some upgrades on my development machine and came across a rather nasty issue when it comes to how .php(s) files are associated with PHP in Apache. It seems that a number of distros including Gentoo (which is what I was using) are using the [same] configuration directive to make the PHP module parse PHP filesThe problem comes from their use of...

Wouter Lagerweij's Blog: Reading Up: Books Every Programmer Should Read

Wouter Lagerweij's Blog: Reading Up: Books Every Programmer Should Read
Wouter Lagerweij has posted a list of books he thinks every programmer should read to help them get a better handle on their process overall (they apply to any language out there, really).When discussing books on software engineering with colleagues, I got the idea of listing the best books I've read in the past 15 years. Because it seems useful, but also because that will allow others to tell me which ones I should have read.He lists five books that cover some of the "meta" about programming: Applying...

Community News: Latest PECL Releases for 08.31.2010

Community News: Latest PECL Releases for 08.31.2010
Latest PECL Releases: mogilefs 0.7.5

Collecting Garbage: PHP's take on variables

Collecting Garbage: PHP's take on variables
Collecting Garbage: PHP's take on variables London, UK Tuesday, August 31st 2010, 09:23 BST This is the first part of three-parts column that was originally published in the April 2009 issues of php|architect. In this three part column I will explain the merits of the new Garbage Collection (also known as GC) mechanism that is part of PHP 5.3. Before we start with the intricate details of PHP's new GC engine I will explain why it is actually needed. This, combined with an introduction how PHP deals...

How to Roll Your Own JavaScript Compressor with PHP and the Closure Compiler

How to Roll Your Own JavaScript Compressor with PHP and the Closure Compiler
In my previous post, I discussed the Closure Compiler's REST API. In this article, we'll develop a small PHP program that shows how the API can be used to compress JavaScript code whenever you need it. Why write your own system? You'll find that several free tools handle this task; one of the first PHP JavaScript compressors was written by Ed Eliot. Sometimes, however, they require technologies you don't use - such as Java - or may not cater for internal workflow processes, including: distributing...

The fine art of application virtualization

The fine art of application virtualization
The new 8-core Intel Xeon 7550 processors are extremely powerful and a good platform for virtualised applications. My company is setting up PHP application running on a Xen based virtualisation on two HP Proliant DL580 for a total of 64 cores in a high availability environment. We are using Zend Server CE (PHP 5.2) and Oracle 11gR2. More info later as i have to go for dim-sum with relatives in a few minutes time.

NerdMom Blog: Kohana 3 & CodeIgniter 2

NerdMom Blog: Kohana 3 & CodeIgniter 2
On the NerdMom blog there's a recent post from Jen about her experiences in developing in both the CodeIgniter 2 framework and Kohana 3 frameworks (upcoming versions of both).For the last month or so I've been developing an app side-by-side with Kohana 3 and CodeIgniter 2 to see which framework fits my programming style better. Nothing terribly fancy; just a simple CMS. [...] In the end it comes down to framework stability for me. And in this case, CI wins, hands down. Don't get me wrong; Kohana is...

Latest PHP Tweets