PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 201 to 219 of 219

rooJSolutions Blog: Watch-out PHP 5.3.7+ is about.. and the is_a() / __autoload() mess.

rooJSolutions Blog: Watch-out PHP 5.3.7+ is about.. and the is_a() / __autoload() mess.
New from the rooJSolutions blog there's a post pointing out an issue that PHP 5.3.7 has broken the is_a functionality in a lot of cases. The post talks some about what's broken and how you can work around it if you're effected.The key issue was that 5.3.7 accidentally broke is_a() for a reasonably large number of users. Unfortunately the fixup release 5.3.8 did not address this 'mistake', and after a rather fruitless exchange I gave up trying to persuade the group (most people on mailing list), that...

Brian Moon's Blog: Check for a TTY or interactive terminal in PHP

Brian Moon's Blog: Check for a TTY or interactive terminal in PHP
In a new post to his blog Brian Moon describes a need he had for detecting if the client or user calling a PHP script was using an interactive terminal (TTY) or not:Let's say I am trying to find out why some file import did not happen. Running the job that is supposed to do it may yield an error. Maybe it was a file permission issue or something. There are other people watching the alerts. What they don't know is that I am running the code and looking at these errors in real time.Since the errors were...

CodeIgniter.com: Amazing Progress Report & Addition of IRC to CodeIgniter.com

CodeIgniter.com: Amazing Progress Report & Addition of IRC to CodeIgniter.com
On CodeIgniter.com there's a new post updating the community on more of the current happenings surrounding the project including the status of their move to github and another source for developers to find the CI help they need.In less than two weeks since the announcement was made at CICON that CodeIgniter was moving to GitHub, we've seen some incredible results from the change. Already CodeIgniter is the 10th most watched PHP project at GitHub (currently 758), with 42 open pull requests, 53 merged pull...

ledger stats

ledger stats
Occasionally, I need to take a break from the projects I'm working on. How do I do that? By working on another project, of course! Just over a year ago, I found ledger and began using it to manage my household finances. Some people may find that sort of thing boring, but I think it's it neat to look at the past year's worth of transactions, get a bird's eye view of our spending, identify trends, and so forth. I've had it in the back of my mind lately that I'd like a better and preferably more visual way...

Their Programming Language Sucks!

Their Programming Language Sucks!
Or at least this is what I hear often all around me. Many want to think that their language is better than all others, and go to greatAlengthsAto discredit them. Just like at sport events, people would paint their faces in their team's colors and yell insults at the opponents. I'm here to tell you that all languages are great and suck in their own way. There is no need to switch to a language just because someone told you that it was better; that's often irrelevant, although counter-intuitive. You will...

Site News: Popular Posts for the Week of 09.02.2011

Site News: Popular Posts for the Week of 09.02.2011
Popular posts from PHPDeveloper.org for the past week:PHPBuilder.com: Getting Started with the Fuel PHP Framework Christian Weiske's Blog: Working with .phar files Kevin Schroeder's Blog: The best developers hit F5 C. Sadeesh Kumar's Blog: Smart File Type Detection Using PHP Derick Rethans' Blog: Remote Debugging PHP with a Firewall in the Way Gonzalo Ayuso's Blog: Building a small microframework with PHP (Part 2). Command line interface Joris de Wit's Blog: Extending different layouts for Ajax requests...

Nemein and Infigo merge to create a digital agency focused on web and mobile

Nemein and Infigo merge to create a digital agency focused on web and mobile
Yesterday the contracts were signed to acquire Infigo as part of Nemein.AInfigo, is a consulting company focused on mobileAdevelopment and web using open source tools. You'll probably at leastAknow their CTO,AJerry of the USB finger fame. Even in the ten years of history of our company this is quite a significant move - itAallows us to combine Nemein's traditionalAexpertise on content management with Infigo's mobile offerings. AsAsmartphones and tablets are becoming popular, more and moreAservices we...

Learning About Web Services

Learning About Web Services
I'm updating my web services tutorial session at the moment for the PHPNW Tutorial Day. I switch the order of the topics around every time, in an effort to make it more digestible, and I thought I'd share. To start with, I get everyone to build a "My First Web Service" - basically a page that encodes an array into JSON. Since we'll be working on numerous practical examples, this is a good chance for everyone to make sure that their setup works! The next section is a diversion into talking about JSON...

Reverse proxy cache invalidation service

Reverse proxy cache invalidation service
We are currently working on a news site. As news is all about being up to date, but still manage to serve a large number of users with milli second response time, we obviously run into a bit of dilemma. We can use Varnish to cache the content, but then we will need to use a relatively short cache time out or we risk not getting updates to our users quickly enough. A better approach is to use invalidation, where we can then set a relatively long cache time, but ensure that still no stale content is...

Check for a TTY or interactive terminal in PHP

Check for a TTY or interactive terminal in PHP
Many UNIX tools do different things if they are connected to an interactive terminal, also called a TTY. This can be handy for lots of reasons. I had a use case today that prompted me to find out how to do it in PHP.Here is the situation. We log errors to the PHP error log. We then have processes that monitor that error log and alert us about any uncaught exceptions or fatal errors very quickly so we can address issues. We also monitor non-fatal errors and alert on those on a less frequent schedule....

Watch-out PHP 5.3.7+ is about.. and the is_a() / __autoload() mess.

Watch-out PHP 5.3.7+ is about.. and the is_a() / __autoload() mess.
Article originally from rooJSolutions blogWell, for the first time in a very long while I had to post to the PHP core developers list last week,AunfortunatelyAthe result of which was not particulary usefull.The key issue was that 5.3.7 accidentally broke is_a() for a reasonably large number of users.AUnfortunatelyAthe fixup release 5.3.8 did not address this 'mistake', and after a rather fruitless exchange I gave up trying to persuade the group (most people on mailing list), that reverting the change was...

DZone.com: There's no reason not to switch to DocBlox

DZone.com: There's no reason not to switch to DocBlox
On DZone.com there's a recent post from Giorgio Sironi sharing his opinion on what should be your choice of automatic documentation generation tools in your PHP app, that there's no reason not to switch to DocBlox.Alessandro Nadalin signals these three options for Api documentation generation, the process of extracting Api informations on classes and methods from a folder full of source code: phpDocumentor, doxygen and DocBlox. A PHP tool, faster than doxygen in implementing new features, and actively...

Stefan Mischook's Blog: The 'Good Enough' Principle and PHP

Stefan Mischook's Blog: The 'Good Enough' Principle and PHP
In a new video blog post on his site today Stefan Mischook talks about PHP development and the concept of "good enough" that some developers can have a hard time with when trying to perfect code.One of the mistakes web developers make is to spend too much time perfecting the code base in a project. This waste too much time and ignores one very important fact: you need to get the software into the users hands as quickly as possible, so they can give you feedback.In his short video (stick with it, he talks...

Community News: PHP Benelux Opens Call for Papers for 2012 Conference

Community News: PHP Benelux Opens Call for Papers for 2012 Conference
The PHP Belenux conference has officially announced their Call for Papers for their event happening in January 2012 in Antwerp.With the kickoff of the conference site we are also opening the call for proposals (CFP), this is where you get to step up and take the stage. If you have any cool subject related to PHP which you would like to talk about, please fill out the CfP which will run from September 1st and closes on October 15th.Speakers will receive a package including a hotel stay, travel...

PHPClasses.org: Lately in PHP Episode 15 - PHP 5.3.8 Upgrade, PHP 5.4 beta, Wrong Ideas About PHP

PHPClasses.org: Lately in PHP Episode 15 - PHP 5.3.8 Upgrade, PHP 5.4 beta, Wrong Ideas About PHP
PHPClasses.org has posted their latest "Lately in PHP" podcast today with mentions of PHP 5.3.8 and some of the wrong ideas that are common when referring to PHP (from their previous post).Another PHP 5.3 version was released. Manuel Lemos and Ernani Joppert discuss whether you should upgrade to this new version of PHP, as well if you should try the new PHP 5.4 beta version. They also talk about the repercussion of the article about the Wrong PHP Ideas You Should Get Right and why it is important to...

PHPBuilder.com: Building a Multilingual PHP Website

PHPBuilder.com: Building a Multilingual PHP Website
On PHPBuilder.com today there's a new post from Vojislav Janjic with three methods (sans-framework) that you can use to create a multilingual website - some a bit easier to maintain than others.Fast internet growth has brought many opportunities in the global market. Businesses can reach their customers across many countries, and information sharing is not limited to a local area or country anymore. This is why there is an increasing tendency for multilingual websites. By having a website in multiple...

Court Ewing's Blog: How PHP is Broken and How It Can Be Fixed

Court Ewing's Blog: How PHP is Broken and How It Can Be Fixed
Court Ewing has a (slightly inflammatory) post to his blog that shares some of his opinions on why he thinks PHP is broken and a few thoughts on how it could be fixed. He's edited the article since its first publishing to include some clarification of his original ideas.Before getting into the original post, I wanted to a comment made in his edit with an apology for the original post coming across as more of an "irritated user" than an unopinionated observer.PHP's development process has been broken for...

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:NerdMom Blog: Kohana 3 & CodeIgniter 2 Kevin Schroeder's Blog: You want to do WHAT with PHP? Chapter 5 Web Builder Zone: NetBeans vs. Vim for PHP development PHPBuilder.com: Downloading and Parsing Gmail Messages in PHP Chris Tankersley's Blog: Getting Started with Reflection Brian Swan's Blog: Accessing OData for SQL Azure with AppFabric Access Control and PHP Gonzalo Ayuso's Blog: Using CouchDb as filesystem with PHP Zend Developer Zone:...

PHP 5.3.8 Upgrade, PHP 5.4 beta, Wrong Ideas About PHP - Lately in PHP Episode 15

PHP 5.3.8 Upgrade, PHP 5.4 beta, Wrong Ideas About PHP - Lately in PHP Episode 15
PHP 5.3.8 Upgrade, PHP 5.4 beta, Wrong Ideas About PHP - Lately in PHP Episode 15 By Manuel Lemos Another PHP 5.3 version was released. Manuel Lemos and Ernani Joppert discuss whether you should upgrade to this new version of PHP, as well if you should try the new PHP 5.4 beta version. They also talk about the repercussion of the article about the Wrong PHP Ideas You Should Get Right and why it is important to clarify PHP haters and lovers about these PHP misconceptions. The latest enhancements on the...