PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 61 to 80 of 277

Matt Williams' Blog: Codeigniter Database session fix

Matt Williams' Blog: Codeigniter Database session fix
Matt Williams has a new post to his blog with his own fix to a problem he was having with his CodeIgniter application - the continuous session logouts.For weeks I tolerated the annoyance of CodeIgniter's Session library logging my out continuously, saying to myself "I works...kind of...I'll fix it later". Eventually the problem started affecting AJAX method calls, large file uploads and simple CRUD operation forms so I began trawling the internet for a fix. After hours and hours, I found that there was...

Drupal4Hu.com: OOP and PHP or why Drupal rocks and some mistakes

Drupal4Hu.com: OOP and PHP or why Drupal rocks and some mistakes
On the Drupal4Hu.com site there's a recent post with a complaint about the OOP functionality in PHP and how Drupal developers should deal with its limitations.While I was always complaining of PHP's inability of adding a method run-time, the problem we face is that you can't replace one either. So if you do what I did in the previous post, namely use the hook-alter patten (already an addition to PHP, I must say) to override the classname, that works. However, if two modules try to do this for two...

NP-Gravatar

NP-Gravatar
Zend Framework extension, which provides classes for using and implementing Gravatar's services and features. It consists of HTTP client for performing Gravatar Profile Requests, client for Gravatar XML - RPC API and view helper for rendering Gravatar image URL s.

SitePoint PHP Blog: Is Your PHP Application Affected by the Y2K38 Bug?

SitePoint PHP Blog: Is Your PHP Application Affected by the Y2K38 Bug?
On the SitePoint PHP blog today they pose a question to all PHP developers out there - is your application affected by the Y2K38 bug?I don't want to be too alarmist, but try running the [given] PHP code on your system. [...] With luck, you'll see "Wednesday 1 February 2040 00:00" displayed in your browser. If you're seeing a date in the late 60's or early 70's, your PHP application may be at risk from the Y2K38 bug!The bug, caused by a 32-bit operating system, can be helped by running the application on...

Rob Allen's Blog: Zend Framework's Flash Messenger action helper

Rob Allen's Blog: Zend Framework's Flash Messenger action helper
Rob Allen has a new post to his blog today about a handy helper that comes with the Zend Framework to help you store messages between requests.I've talked about Zend Framework's action helpers before, but haven't covered any of the action helpers that are supplied with Zend Framework. FlashMessenger is a helper that allows you to store messages between requests. The most common use I have for it is for a "saved" message after doing an edit of an item that then redirects back to a list.He includes an...

Bradley Holt's Blog: Vermont Code Camp

Bradley Holt's Blog: Vermont Code Camp
As Bradley Holt has a new post to his blog about the newly-released website for the Vermont Code Camp conference happening September 11th at the University of Vermont.Last year's event was a big success with 85 attendees and 19 sessions and this one promises to be even bigger and better! The second annual Vermont Code Camp will be a full day event bringing together technology community members, students, and professionals from around Vermont and beyond.Topics for this year include .NET, PHP, Ruby,...


Community News: Latest PECL Releases for 08.24.2010

Community News: Latest PECL Releases for 08.24.2010
Latest PECL Releases: dbase 5.0 amqp 0.1.1 imagick 3.0.1RC2

Is Your PHP Application Affected by the Y2K38 Bug?

Is Your PHP Application Affected by the Y2K38 Bug?
I don't want to be too alarmist, but try running the following PHP code on your system: ', date($format, $mydate1), ''; ? With luck, you'll see aoWednesday 1 February 2040 00:00a displayed in your browser. If you're seeing a date in the late 60's or early 70's, your PHP application may be at risk from the Y2K38 bug! What's the Y2K38 bug? Y2K38, or the Unix Millennium Bug, affects PHP and many other languages and systems which use a signed 32-bit integer to represent dates as the number of seconds since...

Is it really that hard ...? (or how i finally learned to hate CSS)

Is it really that hard ...? (or how i finally learned to hate CSS)
I confess that i've been hiding under a stone for quite some time when it comes to contemporary html stuff, for most of the things i'm doing on the presentation level even good old html 1.0 would be sufficient if it weren't for the occasinal tabular data ... So while i know CSS in theory i've never really looked into the black magic of doing CSS layouts and stuff ... until now ...What i'm up to right now was to produce a small series of step by step examples on how to use OpenLayers to present customized...

Razors and Development

Razors and Development
A few years ago I switched to an old fashion safety razor and haven't looked back. The latest entry into the razor market has reaffirmed my decision as the right one. The new Pro Glide from Gillette only costs less than $10 to purchase. Good deal, right? Nope. The replacement blades cost $3-$4 each! Assuming you get a few weeks out of each blade, you're looking at paying between $6 and $10 every month to use this razor blade.It's a great deal-for Gillette.I use Merkur razor. I paid a lot, comparatively...

5 Useful jQuery Snippets for your Website

5 Useful jQuery Snippets for your Website
jQuery is a popular JavaScript library which is used by many developers and applications. While using jQuery you need to write less code, writing functions is less complex and there are a lot of plugins you can use for free in your web application. Even if you code everything by yourself, you need only a few rows of code to create nice and powerful features for your website. If you're in hurry check the jQuery demo page. Populate select menus with jQuery and Ajax One of the most powerful jQuery function...

Cal Evans' Blog: Software development DSL

Cal Evans' Blog: Software development DSL
Cal Evans has posted a sort of lighthearted beginners guide to some of the terms that those outside the software development industry might not know - five terms with their explanations.When I venture out into the real world, the one not populated with developers, I get a lot of strange looks and odd stares when I talk. Apparently there are a lot of people out there who don't grok grep, have never been slashdotted, and can't tell a brown number from a WAG. [...] Today I am going to share five of our more...

Vermont Code Camp

Vermont Code Camp
This year's Vermont Code Camp will be on Saturday, September 11th, 2010 at Kalkin Hall on the University of Vermont campus. Last year's event was a big success with 85 attendees and 19 sessions and this one promises to be even bigger and better! The second annual Vermont Code Camp will be a full day event bringing together technology community members, students, and professionals from around Vermont and beyond. There will be four rooms with sessions on .NET, PHP, Ruby, Python, Java, and more. Two of the...

Dev Derby! Delve Deep for Details

Dev Derby! Delve Deep for Details
We are actively recruiting participants to take place in a developer event (aoDev Derbya) that pits one language against others. It is a day-long programming challenge where teams of developers work to create an application serving a real-world need. Five teams will represent different programming languages-PHP, C#, Ruby, ColdFusion, and Java-to produce a demo application that will be released as open source software.

HashTables

HashTables
In case you ever heard me talking about PHP internals I certainly mentioned something along the lines of "Everything in PHP is a HashTable" that's not true, but next to a zval the HashTable is one of the most important structures in PHP. While preparing my "PHP Under The Hood" talk for the Dutch PHP Conference there was a question on IRC about extension_loaded() being faster than function_exists(), which might be strange as both of them are simple hash lookups and a hash lookup is said to be O(1). I...

PHP @ FrOSCon: the power of mysqlnd plugins

PHP @ FrOSCon: the power of mysqlnd plugins
Slowly the power of mysqlnd plugins becomes visible. Mysqlnd plugins challenge MySQL Proxy and are often a noteworthy, if not superior, alternative alternative to MySQL Proxy for PHP users. Plugins can do almost anything MySQL Proxy can do - but on the client. Please find details in the slides. The presentation has been given today at the PHP track at FrOSCon. The power of mysqlnd plugins View more presentations on mysqlnd. The biggest news is certainly the work from David Soria Parra. David made...

Working with Web Services - Froscon 2010

Working with Web Services - Froscon 2010
This weekend I'm at froscon in Germany, giving two talks. One had no slides (but may have video, if I see it then I will post the link here) and the other was "Working with Web Services" which I gave this morning in the PHP room. My slides are here: Working with web_servicesView more presentations from Lorna Mitchell. Thanks to the PHP room organisers for accepting me as a speaker and to Sebastian for twisting my arm in the first place - it's a fun event!

FrOSCon 2010 slides online

FrOSCon 2010 slides online
I uploaded my slides about the Apache Zeta Document component to Slideshare. The talk was held yesterday in the PHP room at FrOSCon.

New @ Joind.in - Widgets!

New @ Joind.in - Widgets!
With the latest site release over on Joind.in, we've added something a bit more fun for users of the site - handy little widgets that let you embed information from the site into yours. You can see an example of it if you look to the right (well, if you're looking at the site not the feed, of course). The widgets currently let you do a few things with a few different bits of information: talks events and users Each of the widgets comes in different sizes (some are still in the works) and right now...