PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

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

Jani Hartikainen's Blog: Wicket from the point of view of a PHP developer

Jani Hartikainen's Blog: Wicket from the point of view of a PHP developer
On his blog today Jani Hartikainen looks at his experience learning Wicket (a Java application framework) from the perspective of a PHP developer.My starting point with Wicket was basically zero, at least Java-wise: I had never used any Java web app framework, so I didn't really know what to expect. Since as I said I've mostly used PHP and Python, I assumed the program flow would be something like in them. Of course, this was a completely wrong assumption.He includes one specific example - handling a...

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:SitePoint PHP Blog: How to Use PHP Namespaces, Part 1: The Basics NETTUTS.com: Create a Twitter-Like "Load More" Widget Jim Plush's Blog: Followup on rethinking Zend Models with DDD - Framework code included Jim Plush's Blog: Rethinking the Zend Models Cal Evans' Blog: XAMPP, PHP 5.3, PEAR, and PHAR (what a mess) NETTUTS.com: Online File Storage with PHP Noupe.com: Ten Simple Rules for Choosing the Perfect CMS + Excellent Options Paul...

Import and export data using PHPExcel

Import and export data using PHPExcel
A few weeks ago I had to read and write Excel files of the format BIFF8 (Excel 97), because the customer did not accept the workaround of exporting data to CSV. PEAR's Spreadsheet_Excel_Writer combined with the project Spreadsheet_Excel_Reader on SourceForge was a good helper in the past - but only for BIFF5. BIFF8 support in spreadsheet excel writer has been a problem for a long time, and according to the authors, is still somewhat kludgy in the current version. So I needed an alternative. After a...

DZone.com: Web applications as enterprise software

DZone.com: Web applications as enterprise software
On DZone.com today Giorgio Sironi offers some of his opinions on web applications as enterprise software.In this article we'll focus on a case study on enterprise software where the porting failed, to list the issues of introducing a web application into the enterprise, and hopefully pave the way for future successes. This is kind of a written retrospective.He briefly touches on some of the advantages first, mentioning the portability they offer and the fact that it's an "automatic upgrade" for users...

Brian Swan's Blog: Creating PHP Websites with WebMatrix

Brian Swan's Blog: Creating PHP Websites with WebMatrix
Brian Swan has a recent post to his blog looking at how to create PHP websites with the help of the WebMatrix tool - a software bundle that provides you with a web service and a database to build your applications on.As I read those posts (and others), I was left wondering about the extent of PHP support in WebMatrix (which is what I'll look at in this post). As it turns out, PHP is fully supported, but it requires a little bit of work up front in this beta release of WebMatrix (a smoother experience for...

CouchDB 1.0 Released

CouchDB 1.0 Released
Apache CouchDB is a free/open source RESTful JSON document (NoSQL) database with map reduce views and peer-based replication. Version 1.0 was just released today and is 300% faster than the previous version and includes Microsoft Windows support, an authentication system, and flexible replicator options. The New York Times, ReadWriteEnterprise and InfoWorld covered the release. Couchio has a clever release announcement as well. I've been reading up on CouchDB since Matthew Weier O'Phinney's presentation...

SitePoint.com: WordPress in the Cloud with Amazon EC2 and the Microsoft Web Platform

SitePoint.com: WordPress in the Cloud with Amazon EC2 and the Microsoft Web Platform
On SitePoint.com today there's a new guide posted about how to get a WordPress instance up and running on an Amazon EC2 instance and the Microsoft Web Platform.One claim I often hear from web developers, especially those who offer website design and consulting services, is their need to quickly launch websites that run fast and give them total control of the server for maximum flexibility and scalability. This is a quick tutorial on how to do just that, with a guided tour on how to run WordPress on...

Zend Developer Zone: Announcing July's ZF Bug Hunting Days & Previous Winners

Zend Developer Zone: Announcing July's ZF Bug Hunting Days & Previous Winners
On the Zend Developer Zone there's a new post announcing the latest Bug Hunt Days for the Zend Framework happening this week - Thursday, July 15th through Sunday, July 19th.For those of you unfamiliar with the event, each month, we organize the community to help reduce the number of open issues reported against the framework. The last two months of bug hunts collectively closed 63 issues. The May bug hunt saw new first-time winner Jan Pieper step up and take first. Then in June, Christian Albrecht (a...

Evert Pot's Blog: Storing encrypted session information in a cookie

Evert Pot's Blog: Storing encrypted session information in a cookie
Evert Pot has a quick new post to his blog today talking about how to push encrypted information into a cookie for storage.There have been a couple of approaches I've been considering [to replace sessions being stored in the database], one of which is simply storing all the information in a browser cookie. First I want to make clear I don't necessarily condone this. The reason I'm writing this post, is because I'm hoping for some more community feedback. Is this a really bad idea? I would love to know.He...

PHPBuilder.com: Refactor Your PHP Site Using MySQL Procedures and Views

PHPBuilder.com: Refactor Your PHP Site Using MySQL Procedures and Views
On PHPBuilder.con today there's a new post from Jason Gilmore looking at using procedures and views in MySQL to refactor and simplify your site.One particularly prominent mistake many programmers make is heavily intermingling the application logic and the domain model. PHP developers, for example, have a tendency to jam a tremendous amount of SQL into their website logic, resulting in undecipherable, unmaintainable code. [...] MySQL stored procedures and views can not only go a long way towards...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Fast Curl Simple CSV Reader advanced file upload and ajax upload Text Parse DataBrasil Lapi CSV2SQL_AR resize_images PHPExcel wrapper for populating XLS files with user data Resize image Easy PHP MySQL DB youtube class Zend PostgreSQL Adapter (without pdo_pgsql) Database Synchronization

Developing PHP applications to run natively on Android phones

Developing PHP applications to run natively on Android phones
Developing PHP applications to run natively on Android phones By Manuel Lemos The PHP For Android project was just launched. This article presents an interview with the project's lead developer. He explained how it works and what you can do to develop PHP applications that can run now on any Android device.

Moving as metaphor

Moving as metaphor
A few weeks ago, I and several others helped some friends of ours pack up their apartment into a truck in preparation for moving cross-country from Chicago to New York. It was, as such moments generally are, bitter sweet. It's always a good feeling to help out a friend, but when you're helping them get further away from you it's not as pleasant. Of course, me being me, what struck me most about the whole process was how well it served as a model for software development and project management in...

Project: PHP on Android

Project: PHP on Android
Ivan Mosquera Paulo dropped me a line today about a project that's been gaining some traction lately - PHP for Android, an effort to make PHP development on the platform possible (and easy). This new post shows you how to get started.Yes you read that correctly, PHP is coming (well it's here) for Android. Irontec is the company behind the project and their aim is to make PHP development in Android not only possible but also feasible providing tools and documentation.The post gives you links to download...

Storing encrypted session information in a cookie

Storing encrypted session information in a cookie
Our session system is due for an upgrade. Currently all PHP sessions are stored in the database, and some things are getting a bit slow. There have been a couple of approaches I've been considering, one of which is simply storing all the information in a browser cookie.First I want to make clear I don't necessarily condone this. The reason I'm writing this post, is because I'm hoping for some more community feedback. Is this a really bad idea? I would love to know.The benefitsIf all the session data is...

Zend Developer Zone: I'm back...and I brought friends!

Zend Developer Zone: I'm back...and I brought friends!
In a new post to the Zend Developer Zone, there's an announcement from Cal Evans about his temporary return to Zend's Developer Zone site and provide it with some great content.For the next few months Blue Parabola will be helping out by managing DevZone. We will continue the 5 year tradition of finding great PHP related content from around the Net and making sure you have access to it. Along the way we may even write some new articles and tutorials. So come back often. See what, Marco, Keith, Beth and I...

I'm backaand I brought friends!

I'm backaand I brought friends!
Oh yeah BA-BY, I'm BACK ! It's been more than two years but I'm back and this time I brought some friends with me.

Mike Willbanks' Blog: Getting Started with Nginx and PHP-FPM

Mike Willbanks' Blog: Getting Started with Nginx and PHP-FPM
Mike Willbanks has written up an introductory guide to getting your own Nginx+PHP-FPM (a FastCGI process manager for PHP) server up and running.[These technologies] offer a great solution for finally getting rid of that old sloppy mod_php in Apache. Do you have the same issue where your apache instances have started to run too large? This might be the time to start to move forward.He talks about setting up the PHP-FPM instance with a custom compile, adding in an init script (from the fpm branch on the...

Towards A Style Of Contract Programming

Towards A Style Of Contract Programming
There's a programming style I rarely see in the PHP world, but one which I use from my C programming days - programming by contract. It's a very useful technique for writing code that is demonstrably robust, and a useful compliment to unit testing with PHPUnit. At it's most basic, programming by contract can be summed up as: Does my function or method have inputs that are acceptable to me? Has my function or method generated return data that I'm happy to pass back. PHP has the assert() method to help...

phpDevelopment Blog: Zend Framework Tutorial Series: Part 3 '" Login and Signup with (RE)Captcha

phpDevelopment Blog: Zend Framework Tutorial Series: Part 3 '" Login and Signup with (RE)Captcha
In a new post to his phpDevelopment blog Andrei Gabreanu has added the third part of his Zend Framework tutorial series. This time he looks at using a CAPTCHA image in your form via a call to a Zend_Captcha component.he third part of the tutorial series will present you with a fully functionable solution for a login and signup page that activates a RECaptcha, via Zend_Captcha as a Service, when the user attempts to login/signup 3 times and fails. The tutorial will also show you how to use your models and...