PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 5141 to 5160 of 6889

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:Matthew Turland's Blog: Database Testing with PHPUnit and MySQL Developer.com: Fat Models and Skinny Controllers Bring Out the Best in Your MVC Framework Rob Allen's Blog: Zend Framework on a shared host Derick Rethans's Blog: Obtaining the next month in PHP Paul Jones' Blog: Solar Models vs. Zend Framework Models Zend Developer Zone: Paging and Sorting Data with Zend Framework, Doctrine and PEAR (part 2) Terry Chay's Blog: Who puts the P in...

Moving to PHP 5.3

Moving to PHP 5.3
Now that PHP 5.2 is at the end of life, we are starting to migrate to PHP 5.3. Here are some of my experiences with our code: The function session_register() is now deprecated. We have created a wrapper function called _session_register with the same functionality. //------------------------------------------- // php 5.3 compat version of session_register function _session_register($v) { global $$v; if (!isset($_SESSION[$v])) { if (!isset($$v)) $$v = null; $_SESSION[$v] =& $$v; } else $$v =&...

PHP 5.3.5 and 5.2.17 Released!

PHP 5.3.5 and 5.2.17 Released!
The PHP development team would like to announce the immediate availability of PHP 5.3.5 and 5.2.17. This release resolves a critical issue, reported as PHP bug #53632, where conversions from string to double might cause the PHP interpreter to hang on systems using x87 FPU registers. The problem is known to only affect x86 32-bit PHP processes, regardless of whether the system hosting PHP is 32-bit or 64-bit. You can test whether your system is affected by running this script from the command line. All...

SitePoint PHP Blog: How to Create Your Own Twitter Widget in PHP, Part 1

SitePoint PHP Blog: How to Create Your Own Twitter Widget in PHP, Part 1
From the SitePoint PHP blog today there's a new tutorial from Craig Buckler (part one of a series) on how to create your own Twitter widget you can drop in anywhere on your site (main content or sidebar). It uses cURL to make the requests to the Twitter servers, so you'll need that installed on your PHP instance.Because you can! Your own widget will always be more customizable than any off-the-shelf solution, and you'll be the envy of your peers. We've also been asked by several readers for articles...

Zend Developer Zone: What is your project's Bus Factor?

Zend Developer Zone: What is your project's Bus Factor?
In this new post to the Zend Developer Zone Cal Evans asks open source projects and companies alike - "what's your bus factor?"In a previous job I had it was the "Beer Truck" factor (you can see where our heads were) but the common term these days is Bus Factor. Put simply, it's your projects exposure to the risk of key members disappearing tomorrow. To be crude if your project can't survive a key member of your project being hit by a bus tomorrow then you have a very high "Bus Factor".He points out that...

How to Create Your Own Twitter Widget in PHP, Part 2

How to Create Your Own Twitter Widget in PHP, Part 2
In part 1 of this series, we examined the Twitter API, creating a PHP TwitterStatus class, and imported the latest tweets in JSON format. Today, we'll populate the data into html templates - download the full source code here. Template parsing We have defined two html templates as public properties: $WidgetTemplate is the widget's outer html. The {TWEETS} code indicates where $TweetTemplate will appear $TweetTemplate is the html for an individual tweet. Either template can include {named-values} from the...

Phil Sturgeon's Blog: Introducing FuelPHP

Phil Sturgeon's Blog: Introducing FuelPHP
Phil Sturgeon has made a new post to his blog today introducing the framework he and a few other developers have been working up - FuelPHP, a PHP 5.3 framework.Like CodeIgniter, FuelPHP will be keeping things simple but moving to a better PHP 5 syntax. Sounds like Kohana right? Well... kinda. Kohana got a lot of things right in 2.x but the 3.x re-write was a confusing one. [...] odeIgniter and Kohana are the two main frameworks FuelPHP is based around but all of the base code is original with only some...

Derick Rethans' Blog: Translating Twitter

Derick Rethans' Blog: Translating Twitter
In a new post to his blog Derick Rethans shows how to implement something very handy for those wanting to read all of the posts in their twitter stream, regardless of the language. Using Google web services, he's put together a twitter translation for his twitter client Haunt.As the author of Xdebug I am interested in finding out what people think of it, and whether they have problems or compliments. I've set-up a twitter account for Xdebug, @xdebug, and my twitter client Haunt also shows me all tweets...

PHPBuilder.com: Running PHP and Zend Framework Scripts from the Command Line

PHPBuilder.com: Running PHP and Zend Framework Scripts from the Command Line
New on PHPBuilder.com today there's a tutorial from Jason Gilmore about running Zend Framework-based applications from the command line in a more hard-coded way than using Zend_Tool.I regularly use an alternative application of PHP and I'm quite surprised that this capability remains relatively unknown. I'm referring to the ability to run PHP scripts from the command line using its command line interpreter (CLI). Even though it's been possible since the PHP 4.3.0 release, you may be completely unaware of...

Chad Lung's Blog: Install Lighttpd, PHP and MySQL on Ubuntu 10.10

Chad Lung's Blog: Install Lighttpd, PHP and MySQL on Ubuntu 10.10
In this new post to his blog Chad Lung walks you through the process of getting Lighttpd (web server), PHP and MySQL installed on a Ubuntu-based system. His specific installation is 10.10, but the instructions can be translated easily to most common versions.Sometimes you don't want Apache for your web server whatever your reasons might be. There are other options like Nginx and Lighttpd, today I'll setup Lighttpd along with PHP (via FastCGI) and MySQL.The Ubuntu package manager (apt-get/aptitude) takes...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
StringFormatter easy sql String Formatter Curp PTX PHP Calendar tdCron MrNet.in AIO:Smoothsort Dynamic Methods Anti-Harvest Download License management class DVD Burn Diagram Maker XML Helper tarX Nibble forms

PHP Summit in MAnchen

PHP Summit in MAnchen
This blog posting is in German as the event it relates to is German-only.Sorry for the inconvenience.Zum dritten Mal startet im kommenden MArz der PHP Summit. Mittlerweile ist dieses von thePHP.cc und der Entwickler Akademie angebotene Event zu einer festen GrAAYe im jAhrlichen PHP-Veranstaltungskalender geworden. Es bietet Ihnen innerhalb von 3 Tagen 18 der wichtigsten PHP-Themen in jeweils 3 parallel laufenden Power Workshops und richtet sich an alle, denen eine Konferenz nicht genug ist. Entscheiden...

Translating Twitter

Translating Twitter
Translating Twitter London, UK Wednesday, January 5th 2011, 09:04 GMT As the author of Xdebug I am interested in finding out what people think of it, and whether they have problems or compliments. I've set-up a twitter account for Xdebug, @xdebug, and my twitter client Haunt also shows me all tweets with the search term xdebug. However, sometimes I get tweets in a language I can't read; for example Brazilian Portuguese: Debugando aplicaAAues PHP com Xdebug e Eclipse PDT: http://bit.ly/ffJC4G...

SaniSoft Blog: Introduction to creating desktop applications with PHP and Titanium

SaniSoft Blog: Introduction to creating desktop applications with PHP and Titanium
On the SaniSoft blog there's a new tutorial where Jatin Chimote introduces you to the world of building desktop applications with the help of the Appcelerator Titanium software.The post is about creating desktop applications with the help of PHP. And No, we are not using PHP-GTK. You can now create desktop applications without learning a completely new programming language! That is with the help of a free and open source tool called "Titanium". Whats more you will use your existing CSS and Javascript and...

PHPClasses.org: PHP Zeitgeist 2010: What PHP developers have been looking for in the last year?

PHPClasses.org: PHP Zeitgeist 2010: What PHP developers have been looking for in the last year?
On the PHPClasses.org blog there's a new post sharing their own PHP Zeitgeist of the terms that were of most interest to their visitors in 2010.Since last year, the PHPClasses site started publishing trends about what PHP developers have been looking for in this site. This is an initiative that is repeated every year. It is similar to Google Zeitgeist, except that instead of analyzing Google user searches, it analyzes searches done by PHP developers on this site.A lot of the results aren't surprising...

What is your project's Bus Factor?

What is your project's Bus Factor?
Whether it's Buses or Beer Trucks, every project has a vulnerability if a key member is no longer there tomorrow. What is your project's Bus Factor and how can you reduce it? Click on in, let's talk.

Rob Allen's Blog: Displaying an RSS feed in WordPress

Rob Allen's Blog: Displaying an RSS feed in WordPress
Rob Allen has posted a method he's come up with for displaying an RSS feed right in with the rest of the content of your WordPress blog. The key is in the simplicity of the MagpieRSS library.My wife decided that she wanted to display a list of her latest AudioBoos in the sidebar of her blog. She looked at the AudioBoo JavaScript widget but decided it wasn't subtle enough and so she enlisted me to solve her problem. It turns out that AudioBoo has an RSS feed, so a simple plugin was required. I had a quick...

Symfony Blog: Symfony Live Conferences Schedule

Symfony Blog: Symfony Live Conferences Schedule
On the Symfony blog today there's a new post of schedules for the upcoming Symfony Live events happening in San Francisco and Paris.First of all, I wish you a very happy new year! I wish you the best and I hope 2011 will be a big year for symfony and Symfony2. 2011 is getting off to a great start with the Symfony Live conferences. As you might have noticed, we have unveiled the schedule for the Symfony Live conference in Paris and San Francisco a couple of weeks ago.Speakers and topics featured in San...

NetTuts.com: Quick Tip: Email Error Logs with PHP

NetTuts.com: Quick Tip: Email Error Logs with PHP
In this quick tip from NetTuts.com today they show you how to set up custom error logging for your PHP application with the help of the set_error_handler function.In today's video quick tip, we'll review the process of setting custom error handlers with PHP. Along the way, we'll also learn how to log and email those potential errors to ourselves. That way, even when your web application has been deployed, you'll be the first to know when an error is encountered.They make a custom handler,...

How to Create Your Own Twitter Widget in PHP, Part 1

How to Create Your Own Twitter Widget in PHP, Part 1
Twitter status widgets are 10 a penny, so why create your own? Because you can! Your own widget will always be more customizable than any off-the-shelf solution and you'll be the envy of your peers. We've also been asked by several readers for articles about the topic and it's a great introduction to PHP, REST APIs, JSON, regular expressions and Object Orientated Programming. The challenge This is a 3-part tutorial based on source code you can download here. Our objectives are to: Interrogate the...

Latest PHP Tweets