PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 5201 to 5220 of 6889

Flyn San's Blog: Better Doctrine 2 Module for Kohana 3

Flyn San's Blog: Better Doctrine 2 Module for Kohana 3
Flyn San has a new post to his blog today about a better Doctrine 2 module he's created for use with Kohana framework-based applications. Since releasing my original Doctrine 2 module for Kohana 3 (found here), I've done a bit of reshuffling of folders and added some additional features from my old Doctrine 1.2 module. Due to the extent of modifications, I decided to put up a new post with some added information on how to use the new module. For the impatient ones out there, here's the download link:...

Change Garcia's Blog: expected exceptions annotations, mocked object calls, oh my.

Change Garcia's Blog: expected exceptions annotations, mocked object calls, oh my.
Chance Gracia came across an interesting feature/bug when writing up unit tests for his application with PHPUnit. He was throwing an exception from a mock object and based on his annotation the exception is caught no matter the type.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...

Sudheer Satyanarayana's Blog: Zend Date Class Constants Cheat Sheet

Sudheer Satyanarayana's Blog: Zend Date Class Constants Cheat Sheet
Sudheer Satyanarayana has provided a handy cheat sheet for those using the Zend_Date component of the Zend Framework listing the default values of the constants it provides.Date and time handling in general is a problem in programming. For PHP programmers, there's a good library out there that performs all the difficult tasks and provides convenient APIs. Zend_Date has several constants defined. It is good to know what each one of them represents.You can either come back to this post if you need a...

Robert Basic's Blog: A real gem - PHP_CompatInfo

Robert Basic's Blog: A real gem - PHP_CompatInfo
In this new post to his blog Robert Basic takes a look at what he calls a "real gem" in defining the requirements of his application - PHP_CompatInfo.Last night I was pondering how nice would it be to have a tool of some sort, that would simply spit out what version of PHP does my app require. Something like: here are my .php files, what PHP version and/or extensions do I need for it? First I thought about jumping right in and writing it myself, but hey, this kind of a tool sounds way to useful not to be...

CodeIgniter.com: Reactor Update

CodeIgniter.com: Reactor Update
New on the CodeIgniter.com site there's an update on Reactor, the community branch of the framework talking about the mission statement of the team and formally introducing the members of the Reactor Engineers team.2011 is still a week away, but EllisLab and the CodeIgniter Reactor team have been busy nonetheless, putting the previously announced plans into effect. Two weeks ago, the Reactor team and nearly everyone on EllisLab staff participated in a conference call that determined the goals and...

Community News: Latest PECL Releases for 12.28.2010

Community News: Latest PECL Releases for 12.28.2010
Latest PECL Releases: CUBRID 8.3.0.0004

Looking at opencart

Looking at opencart
Article originally from rooJSolutions blog There's been quite a demand recently for online shops, While I do have a custom online shop, It's currently quite specific to a client, and does not have a generic frontend. So any kind of re-purposing involves creating a new design. Obviously this looks like a good long term plan, along with open sourcing it properly.However in the meantime, I discovered opencart a few weeks ago, and for a quick and dirty shop delivery it's not to bad.On the positive side,...

Community News: DBG Debugger Helper for Google Chrome Released

Community News: DBG Debugger Helper for Google Chrome Released
Jeremy Cook sent in a new tip about a new debugging extension for Google Chrome that hooks into the DBG debugger to help you test your PHP applications - a DBG Debugger Helper (currently in version 0.0.0.1).For those using the DBG debugger for PHP development, this minimal extension provides a convenient way to initiate debugging and profiling sessions. The most likely users will be anyone using Nusphere's PhpED. This commercial PHP IDE includes a robust, up-to-date, and full-featured DBG debugger. [...]...

Ole Markus' Blog: High load websites: A lock on Memcached::get

Ole Markus' Blog: High load websites: A lock on Memcached::get
Ole Markus has a new post to his blog looking at a technique for working with memcached and fetching data out of the store using a binary semaphore for better performance.A typical document takes but a few hundred milliseconds to generate when a single request for the document enters the backend. The problem is that this is a highload website. In its current form, the backend serves hundreds of pages per second. This pretty much guarantees that the backend will concurrently receive cache miss on multiple...

Query7.com: Book Review: PHP5 CMS Framework Development

Query7.com: Book Review: PHP5 CMS Framework Development
New from Query7.com today there's a book review of a release from Packt Publishing titled "PHP5 CMS Framework Development" covering the creation of a custom CMS system from the ground up.PHP5 CMS Framework Development is a 322 page book that covers all aspects of creating a full featured content management system (CMS) in PHP5. The author Martin Brampton has a history of developing extensions for the Mambo and Joomla CMS projects. He became lead developer of the CMS Mambo before starting his own CMS,...

Julian Egelstaff writes about Microsoft's recent Jump In Camp

Julian Egelstaff writes about Microsoft's recent Jump In Camp
Julian Egelstaff recently posted aoThings I learned at Jump In Campa about Microsoft's Jump In Camp last month in Seattle. Click on in, let's look talk about it.

Sean Coates' Blog: Post-Advent 2010

Sean Coates' Blog: Post-Advent 2010
Sean Coates has posted a post-Advent wrapup after he and Chris Shiflett have posted the final PHP Advent article for 2010.As I write this on Christmas Eve, Chris is putting the finishing touches on PHP Advent 2010. [...] Due only to the abilities and professionalism of our most excellent authors, PHP Advent 2010 was - at least in my opinion-the best year, yet. They wrote wonderful, substantial, punchy articles that informed our readers, and generated significantly more traffic than we've seen in previous...

Stas Malyshev' Blog: On PHP features

Stas Malyshev' Blog: On PHP features
Stas Malyshev has a new post to his blog points out the post he made over on StackExchange asking developers what features they'd like to see in upcoming versions of PHP (with over 70 people responding).Corollary of that is that some clever tricks are better left not done and some cool things may not look that cool when you have to deal with the consequences. That being said, I think there are many cool things yet to be done in PHP. So, I've posted a poll on Programmers.StackExchange site about what...

Pique Web Podcast: Episode 7 - Christmas Stories

Pique Web Podcast: Episode 7 - Christmas Stories
Sean Coates and Paul Reinheimer, the hosts of the Pique Web podcast, have released the latest episode - Episode 7 - Christmas Stories.In this episode a few friends sit around a table, share some great beer, and share user-submitted stories of coding in the first person.Topics mentioned in this episode include: Chris Shiflett's article on Google Web Accelerator Russian roulette for bash Firefox extensions to automate SQL injection testing You can either listen via the in-page player or by downloading the...

Community News: Latest PEAR Releases for 12.27.2010

Community News: Latest PEAR Releases for 12.27.2010
Latest PEAR Releases: Net_IPv6 1.2.1b1 Log 1.12.5 DB 1.7.14RC2 Config 1.10.12

old blog archives

old blog archives
old blog archives: Finished wrangling with the data dump of the ex-WordPress blog (including proper 301 redirects - o hai search engines!). All the pre-Tumblr blog archives can be found in the archives now, in all their n00b CSS glory.

(Instead of obsessively importing my old blog posts to here,...

(Instead of obsessively importing my old blog posts to here,...
(Instead of obsessively importing my old blog posts to here, I'll just mention some of the highlights.) Angering Database Gods was one of my conference talks. It was was basically a knee-jerk reaction to people not going the distance and instead leaning on frameworks to interact with databases, which meant being mean to databases.

Merry Xmas!

Merry Xmas!
To everyone who participated in the Christmas Conundrum, I hope you enjoyed this little dose of holiday fun. :-) Congrats to everyone who solved it. If you're curious, here are the first seven people who solved it, in order: Christer Edvartsen Terry Matula Derick Rethans Andrei Zmievski Patrick Springstubbe Helmut Hummel Krzysztof Kotowicz If you want the solution, keep reading. I created the puzzle before going to bed Tuesday night. I had a lot of ideas, but I kept coming back to the idea of...

On PHP features

On PHP features
When people ask why PHP doesn't have this or that cool feature which allows to do some tricky mind-bending function and requires a dozen pages of manual to describe it, I find this quote from Brian W. Kernighan is very appropriate: Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. Corollary of that is that some clever tricks are better left not done and some cool things may not...

Pay it Forward

Pay it Forward
Pay It Forward was a 2000 romantic drama featuring Kevin Spacey, Haley Joel Osment, and Helen Hunt. Decently well-received, I found it a good, heart-warming, thought-provoking movie. It is also an allegory for how open source works. read more

Latest PHP Tweets