PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 5221 to 5240 of 6889

Post-Advent 2010

Post-Advent 2010
As I write this on Christmas Eve, Chris is putting the finishing touches on PHP Advent 2010. A brief search of my site indicates that I haven't actually blogged about PHP Advent since 2007, when I was lucky enough to write the first article. That first year, Chris put the advent articles up on his blog (and we do intend to copy them over to phpadvent.org, eventually). Sensing that Chris had entirely too much work to do, curating, and since we were working together by the time the season came around in...

Goodbye, self-maintained blogging software. Hello, Tumblr!

Goodbye, self-maintained blogging software. Hello, Tumblr!
wall of text inc: I'm in a good mood today, holidays and all, so perhaps it's simple serendipity that some omg h4x0r kids found that one of a million WordPress vulnerabilities and posted a lolpost on my blog. Not a frequent blogger, I still wrote blogging software for myself (PHP, baby!), but that was lame, and made me realize that I like to use a pretty UI for posting stuff on my blog. So I got MovableType, but srsly, Perl? Not very customizable (it is a write-it-and-forget-it language after all). So...

Happy Holidays, everyone!

Happy Holidays, everyone!
Happy Holidays, everyone!

Joshua Thijssen's Blog: Tutorial: how to manage developers

Joshua Thijssen's Blog: Tutorial: how to manage developers
Most developers have heard of "The Joel Test" to help improve the quality of their software and the processes surrounding it. Joshua Thijssen has taken this one step further and created his own set of questions to act as a test for software development managers to make sure they're doing the right things for their group.This post is not so much for developers as it is for the managers and bosses from those developers. As you probably know by now, managing software engineers (or programmers) is not an...

CodeForest.net: Multiple virtual hosts in WAMP

CodeForest.net: Multiple virtual hosts in WAMP
On CodeForest.net there's a new tutorial showing you how to set up a WAMP (Windows/Apache/MySQL/PHP) server that uses multiple virtual hosts.Virtual hosting is a method for hosting multiple domain names on a computer using a single IP address. This allows one machine to share its resources, such as memory and processor cycles, to use its resources more efficiently. This is often found on shared hosting servers. [...] We can use Virtual hosts on Windows to deal with this problem. As I am using WAMP server...

Derek Allard's Blog: Modifying the default CodeIgniter Calendar template for fun and profit

Derek Allard's Blog: Modifying the default CodeIgniter Calendar template for fun and profit
Derek Allard has a quick post for the CodeIgniter users out there with some styling you can use on the default CI calendar.A project I'm working on needs a monthly calendar. Naturally, I'm using CodeIgniter as the base of it. [...] My needs were something more akin to the interface iCal provides; broad, spacious, subtle. Obviously, the default is just an unstyled base that CI provides as a starting grounds. The Calendar library documentation provides some insight into how we can start changing this up.He...

Hannes Magnusson's Blog: The PHP project and Code Review

Hannes Magnusson's Blog: The PHP project and Code Review
In a new post to his blog today Hannes Magnusson talks about the benefits of doing a code review and getting your eyes on as much other people's code as possible (and a bit about a pleasant side effect of it).Reading code is not only fun, its also a great way to exercise your brain - not to mention a fantastic way to discover new ways to solve problems. At work (we are hiring btw!), for example, I read pretty much every single commit (and merge requests, for that matter) - and I'm subscribed to several...

Mayflower Blog: Cinder now available at Mayflower Open Source Labs

Mayflower Blog: Cinder now available at Mayflower Open Source Labs
On the Mayflower blog today there's a new post about an extension that's been released for Eclipse environments that lets you work with the error output from your continuous integration server right in the IDE.Cinder is a plug-in for your eclipse-based IDE (eclipse, Zend Studio, etc.) to display results of your Continuous Integration environment right inside your IDE. [...] You open the XML file containing the errors and warnings of your build (for us that's typically the PHP_CodeBrowser XML generated by...

expected exceptions annotations, mocked object calls, oh my.

expected exceptions annotations, mocked object calls, oh my.
Note: I have tested this in PHPUnit 3.4.1 and haven't tried it out in 3.5. Anyone who has worked with PHPUnit has most likely worked with expected exceptions and mock objects. The nice thing about working with expected exceptions is that we have access to a handy @expectedException annotation. I've gotten into the habit of using this for exceptions my fixtures should throw but also for when I'm using a mock object to verify a method call. So my tests usually expect foo_exception for fixture throws and...

Site News: Popular Posts for the Week of 12.24.2010

Site News: Popular Posts for the Week of 12.24.2010
Popular posts from PHPDeveloper.org for the past week:Ibuildings techPortal: lessphp: PHP implementation of Less CSS SitePoint.com: Introduction to Unit Testing in PHP with PHPUnit Community News: ElePHPants - the Next generation Zend Developer Zone: Book Report: A Beginner's Guide to Zend Framework WebSpeaks.in: Cross Domain Posting using PHP and JavaScript: ITS POSSIBLE! Bence Eros' Blog: Life without static in PHP StackExchange.com: What features would you like to have in PHP? Brian Swan's Blog: Video...

The PHP project and Code Review

The PHP project and Code Review
Reading code is not only fun, its also a great way to exercise your brain - not to mention a fantastic way to discover new ways to solve problems. At workA(we are hiring btw!), for example, I read pretty much every single commit (and merge requests, for that matter) - and I'm subscribed to several different OSS commit lists. I can't say I read every commit to PHP, I focus on the areas I care about, but I do skim over the rest - if only just to see when new features are added. The PHP project has a good...

Mistrust and Verify

Mistrust and Verify
When working on a web app with coworkers or fellow volunteers, few things are more important within the group than trust. Trust among developers enables them to work confidently, eases communication between team members, and empowers each of them to make good decisions. With the actual app, however, that trust should never come easily. With today's web apps, you can't trust anything. You can't trust input from the user, you can't trust your code, you can't trust your processes, and you can't trust your...

Query7.com: Writing a module for Kohana3

Query7.com: Writing a module for Kohana3
On the Query7 blog there's a new tutorial that will step you through making a module for the Kohana3 framework - a replacement for the Kohana_View view layer included with the framework.We will be building a module that replaces Kohana's own view layer (Kohana_View). It will use the PHP template library Twig. We want our own view layer to be API compatible with Kohana's view layer. This will ensure that other modules work out of the box and that the only code the developer will need to alter in their...

Using Models in Fuel

Using Models in Fuel
In my previous post on using the Fuel framework I looked at the basics behind getting a site up and running. This time I want to take it a step further and tell you a bit about my experiences getting a Fuel application to talk to a database (in my case MySQL). To learn the process, I fell back on one of my standby sites that's been rewritten in a few different frameworks now including Solar and a really, really old version of the Zend Framework. It's not an overly complex site, but the version is...

Christmas Lights

Christmas Lights
Did you read yesterday's post, Christmas Conundrum? If you didn't, and you like puzzles, you should read that first. As promised, I'm going to be providing a hint, but before I do, I want to congratulate Christer Edvartsen. He was the first person to email me the solution and win the $100 prize from WonderProxy. So far, only one other person has managed to solve the puzzle. Maybe you can be the third?Without further ado, here's the hint: Thu, 23 Dec 2010 18:27 GMTa-aChris Shiflett's Blog

Brian Swan's Blog: Troubleshooting and Performance Tuning with SQL Server Traces

Brian Swan's Blog: Troubleshooting and Performance Tuning with SQL Server Traces
Brian Swan has posted an example of debugging with SQL Server traces you can use in your PHP applications to help figure out what all's happening each time you run a query.Unfortunately, SQL Profiler (a tool that allows you to easily monitor server activity) is not included as part of SQL Server Express. Fortunately, SQL Profiler is just a nice UI for functionality that is built into SQL Server (including the Express version). So, in this post I'll show you how to create, read from, and write to a trace...

Volker Dusch's Blog: Running your Unittests everytime you save a file

Volker Dusch's Blog: Running your Unittests everytime you save a file
Volker Dusch has a suggestion for all of those developers out there really concerned about the quality of your code - consider running your unit tests every time you save a file with the help of a tool called PyWatch.At the moment he placed the Idea in my head that i want my testsuite to run every time a file changes anyway, let someone else figure out how that is triggered. Well, someone did figure that out, thank you. It's called "PyWatch" and is a simple python script that monitors files for changes...

Ilia Alshanetsky's Blog: ISP Popularity by Domain Count

Ilia Alshanetsky's Blog: ISP Popularity by Domain Count
Ilia Alshanetsky has posted the next article in his "domains and PHP" series - a new slicing of the data showing the ISP popularity by domain counts, a breakdown of the top 25 with over 100,000 domains to their credit.The results are pretty interesting, and it clearly shows that a small number of ISPs are definitely doing something right, which is causing many consumers to vote with their dollars in those ISPs favor. As usual the information is shown in graph form, to filter down the data to just the...

Matthew Weier O'Phinney's Blog: Simple Interfaces and Micro MVCs

Matthew Weier O'Phinney's Blog: Simple Interfaces and Micro MVCs
In a new post to his blog today Matthew Weier O'Phinney takes a look at micro MVC frameworks and how, with just a bit of lightweight code and pieces of the Zend Framework, creating one is dead simple.My job is great: I get to play with technology and code most days. My job is also hard: how does one balance both functionality and usability in programming interfaces? [...] One interface I've been toying with is inspired by two very different sources. The first is PHP's own SoapServer API (which we use...

PHPClasses.org Blog: 2010: Yet another great year for PHP

PHPClasses.org Blog: 2010: Yet another great year for PHP
On the PHPClasses.org blog today there's a new post from Manuel Lemos looking back at 2010 an the life of PHP - yet another great year.2010 was an year full of interesting happenings for the PHP development and its community of developers. This article presents a balance of what were the most important happenings in the PHP community in 2010, as well a reflection of what we can expect for 2011 for PHP, as well for the PHPClasses site.Among the important happenings of this past year he mentions the issues...

Latest PHP Tweets