PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 6461 to 6480 of 6889

PHP Excel Extension

PHP Excel Extension
Since I broke my right hand 3 weeks ago while biking, I found myself with a lot of spare time :/. It is amazing just how limited your ability to do things becomes when you can only use one hand. So, to stave off the boredom, I've been slowly toiling away on a PHP Excel extension that I intend to use at work, which I've finally gotten ready for release today. You can find it on github at: http://github.com/iliaal/php_excel. Continue reading "PHP Excel Extension"


Old code, new home

Old code, new home
Finally got around to converting some old code from SVN to Git and getting it up on GitHub. It's like looking back through a time-warp actually, as most of the code hasn't been touched since the summer of 2007. Nearly all of the code is usable, but it's all abandoned at this point. If there's something there that strikes your fancy and you'd be interested in forking it into your own project, feel free. There are still a few more to go, but you can start checking them out now at the Domain51 Github...

Site News: Job Postings for the week of 07.25.2010

Site News: Job Postings for the week of 07.25.2010
Job postings for the past week:Job Posting: Broadcast Interactive Media Seeks PHP Developer (Madison, WI) Job Posting: Return Path, Inc. Seeks PHP Web Developer (Broomfield, CO)

Features in PHP trunk: Array dereferencing

Features in PHP trunk: Array dereferencing
I was writing about new features in the upcoming PHP version (5.4, 6.0?) before. Today's topic reads like this in the NEWS file: - Added array dereferencing support. (Felipe) Now you might wonder what this typical short entry means. when doing OO-style PHP you might make use of a sntax feature which one might call "object dereferencing" which looks like this: func()-bar(); ? So one can chain method calls or property access. Now for a long time people requested the same thing for array offset...

New Site is Live

New Site is Live
This may be premature, but it looks like I'm live with the new site design and new blog engine. The design is html5 (i.e., it looks great to me in Chrome, not sure what it'll be like elsewhere) and the new engine is jekyll. What does this mean for you, my loyal reader? Not much, really. I believe my port is transparent.Actually, the only problem I'm seeing right now is related to disqus-some of my comments that I know are imported are not showing up yet. I just dumped nearly 2,000 comments into their...

NETTUTS.com: How to Use CakePHP's Access Control Lists

NETTUTS.com: How to Use CakePHP's Access Control Lists
On NETTUTS.com today there's a new detailed tutorial on how to use the access control list functionality that comes with the CakePHP framework.If you're building a CMS, you'll probably need different user roles'"superusers, admins, users - with different permission levels. Too complicated to code? Enter CakePHP's ACL (Access Control Lists). With the right setup, you'll be checking user permissions with just one line.They talk about what "access control lists" are but shows you an example of one including...

Developer.com: 10 Experimental PHP Projects Pushing the Envelope

Developer.com: 10 Experimental PHP Projects Pushing the Envelope
On Developer.com today there's a new post listing ten experimental projects that are "pushing the envelope" in the PHP languages:As the saying goes, "Just because you can do something doesn't mean you should." But in the world of programming, stretching boundaries is just part of the fun. The PHP community has never been one to shy away from bending their favorite language more ways than a shopping mall pretzel, and as the ten wild projects introduced in this article indicate, the fervor for...

Ask About PHP: Codeigniter: Creating dynamic graphs using JQuery and FusionCharts

Ask About PHP: Codeigniter: Creating dynamic graphs using JQuery and FusionCharts
On the Ask About PHP blog today there's a new tutorial about integrating the OpenFlashCharts tool into a CodeIgniter application to display data.I recently upgraded some of my Codeigniter applications that used OpenFlashCharts to using FusionCharts Free, and at the same time incorporated some javascript to allow me to change the graphs dynamically at the client-side. This has greatly improved the usability of my charts and graphs that I pump out. As such, I thought I would share how I did this and...

Zend Framework 1.10.7 Released

Zend Framework 1.10.7 Released
The Zend Framework team announces the immediate availability of Zend Framework 1.10.7, our sevent maintenance release in the 1.10 series. This release includes around 60 bug fixes. For those uses of Zend_Service_Twitter, please ensure you upgrade to 1.10.6 or 1.10.7 ASAP. These releases introduce a change in the Zend_Service_TWitter API that enforces the use of OAuth by default when using methods that require authentication. The change was introduced to help prepare Zend Framework users for the...

Chris Hartjes' Blog: Snakes and Elephants Playing Nice Together: PHPUnit and py.test with Hudson

Chris Hartjes' Blog: Snakes and Elephants Playing Nice Together: PHPUnit and py.test with Hudson
In the latest post to his blog Chris Hartjes talks about how he got python and PHP working together as a part of his testing with Hudson.These days, it's becoming increasingly harder to find web applications that are homogenous in terms of the tools they use to Get Things Done. [...] Loosely coupled components, passing messages to each other, is great architecture to try and build if you have both the skills and patience to make it work.His technique combines the testing of PHPUnit for PHP with the...

Symfony Project Blog: Translations (Documentation)

Symfony Project Blog: Translations (Documentation)
Have a flair for translation and want to help out an open source project in need? Consider helping the Symfony Project with their translation efforts for their manual.The Symfony2 documentation is written in English and many people are involved in the translation process. First, become familiar with the markup language used by the documentation. Then, subscribe to the Symfony docs mailing-list, as collaboration happens there. Finally, find the master repository for the language you want to contribute...

Testing legacy code

Testing legacy code
Today we know about the benefits of Test Driven Development and normally also start new projects using TDD. Most projects from the last couple of years integrated this method in their daily development process, which often results in in good code coverage results of 90% and above. But what about all the other old projects, you still manage in your daily work?

PHPBuilder.com: The PHP Content Management/Framework Upgrades in ExpressionEngine 2

PHPBuilder.com: The PHP Content Management/Framework Upgrades in ExpressionEngine 2
On PHPBuilder.com there's a recent article detailing some of the updates in the latest version of the ExpressionEngine product (CMS) from EllisLab.This popular Web development solution recently took another major step forward with the July 12 release of ExpressionEngine 2.1, the product's first major upgrade in several years. Version 2 sports a number of new features and significant improvements over its predecessor, many of which I'll highlight in this article.He touches on a few of the updates in this...

Site News: Popular Posts for the Week of 07.30.2010

Site News: Popular Posts for the Week of 07.30.2010
Popular posts from PHPDeveloper.org for the past week:I Am Learning PHP Blog: Do Web-Scripting Languages Really Need OOP? PHPClasses.org Blog: Lately in PHP podcast - PHP for Android, PHP 6 canceled, APC in PHP 5.4 JoomlaBlogger.net: How to understand Joomla templates in five easy steps WordPress Blog: PHP 4 and MySQL 4 End of Life Announcement Zend Developer Zone: Twice the Amount of Bugs and Twice the Amount of Winners! John Hamelink's Blog: Top codeigniter libraries I can't live without. Sebastian...

Sandboxed DOM API

Sandboxed DOM API
Description I finally sat down and started work on a sandboxed DOM API. Originally I was just going to develop a new framework because the DOM is messy but instead I decided it would be cool to have a safe simulated DOM instead and build a framework on top of that. It isn't complete yet and there's still a lot of work to do but it's working pretty good. I still need to run some tests on it and try to break it but I don't have time at the moment as I need to do other stuff. One of the problems making a...

Auto Increment with MongoDB

Auto Increment with MongoDB
We are currently working on an app that uses a number of technologies, including PHP, Python, and MongoDB. Recently, a need arose to use sequential identifiers for users, similar to an auto_increment column in MySQL. If you've used MongoDB, you might be familiar with the default behavior of using a UUID as the primary key. This is convenient, especially if you partition your database across servers, because you don't have to coordinate the primary key in any way. If you use sequential identifiers (as I...

Sean Coates' Blog: A Case of Mistaken Iterator

Sean Coates' Blog: A Case of Mistaken Iterator
In a new post to his blog today Sean Coates talks about some of his work with Iterators in PHP and how, despite a bad example in the manual, he solved his issue (and updated the PHP manual too).In the back end, we have models that connect to CouchDB. These models implement the Iterator pattern to allow easy traversal of a record's keys. [...] Little did I realize that this implementation is very broken. [...] Over the past few years, I've implemented many iterators in this way, using PHP's implicit array...

TigerFish Interactive: Drupal 6: Posting AJAX callbacks in SimpleTest

TigerFish Interactive: Drupal 6: Posting AJAX callbacks in SimpleTest
On the TigerFish Interactive blog today there's a new post for Drupal-ers out there about using the SimpleTest plugin for Drupal 6 to run automated tests against Ajax callbacks.In Drupal 6's excellent SimpleTest module, a method called drupalPost() allows you to simulate a button press on a form by taking the form's data and using HTTP POST to submit it. But what if you want to POST data to an AJAX callback URL? By default, SimpleTest checks which submit button you have pressed, but of course, when...

DevShed.com: Asirra Captcha PHP Integration

DevShed.com: Asirra Captcha PHP Integration
On DevShed.com today there's a new tutorial about implementing the Asirra CAPTCHA system (from Microsoft) into your application for spam prevention.Unlike other types of captcha that utilize difficult text obfuscation techniques (such as Google reCaptcha), this system utilizes images of dogs and cats, such as those shown in this screenshot.They describe some of the reasons to use the system (hard to break, doesn't use sessions, easy to integrate) and how it works. They show how to implement the system on...

Latest PHP Tweets