PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 3641 to 3660 of 6889

What do you want the web to be?

What do you want the web to be?
Five months ago, I had an opportunity to accept a contract to work at Mozilla as part of the webdev team. There was a match for my skills on a contract basis, and even though it meant leaving permanent employment for the uncertain world of contracting, I knew it was something I would never forgive [...]

Maarten Balliauw's Blog: A hidden gem in the Windows Azure SDK for PHP: command line parsing

Maarten Balliauw's Blog: A hidden gem in the Windows Azure SDK for PHP: command line parsing
In this new post Maarten Balliauw looks at a "hidden gem" in the Windows Azure SDK for PHP - the ability to create scripts to work with command-line scripts - the Microsoft_Console_Command class.Usually when creating a command line script you would parse $_SERVER['argv'], validate values and check whether required switches are available or not. With the Microsoft_Console_Command class from the Windows Azure SDK for PHP, you can ease up this task. Let's compare writing a simple "hello" command.He compares...

Brian Swan's Blog: Performance Tuning PHP Apps on Windows with Wincache

Brian Swan's Blog: Performance Tuning PHP Apps on Windows with Wincache
Brian Swan has a new post to his blog sharing some tips you can use to get the best performance out of your Windows applications by tuning Wincache.A few weeks ago I wrote a post that showed how to improve the performance of PHP applications on Windows by using the IIS output caching module. Using the output caching module can have significant positive impact on application performance since pages are served from cache without executing any PHP code. However, this very strength can also be a drawback...

Artur Ejsmont's Blog: How to structure a Zend Framework application and it's dependencies

Artur Ejsmont's Blog: How to structure a Zend Framework application and it's dependencies
Artur Ejsmont has a recent post to his blog with some recommendations on how to structure a Zend Framework application and its dependencies to make it both easy to maintain and extend in the future.I don't mean to be negative but I am not too happy about the web application structure that most articles and books present. In Zend Framework world controller seems to be the place when things get done. Controller is the workhorse and this is where all the logic seems to be buried.He talks about the...

PEAR Blog: PEAR in July 2011

PEAR Blog: PEAR in July 2011
On the PEAR blog there's a new post talking about some of the things coming up in July that you might want to take note of.There's nothing quite like having your blogging system go MIA for a while to give your community an overwhelming impression that no one is home. Thankfully; despite the radio silence between updates there's quite a lot to talk about!The updates include mentions of several new PEPr proposals for packages related to Mercurial support, Twitter and holiday date validation. There's also a...

Community News: Latest PEAR Releases for 07.11.2011

Community News: Latest PEAR Releases for 07.11.2011
Latest PEAR Releases: Services_Amazon_S3 0.3.4 pearweb_phars 1.9.4 PEAR 1.9.4 Services_Amazon_S3 0.3.5

PEAR in July 2011

PEAR in July 2011
There's nothing quite like having your blogging system go MIA for a while to give your community an overwhelming impression that no one is home. Thankfully; despite the radio silence between updates there's quite a lot to talk about! We've seen well put together PEPr proposals around VersionControl_Hg, Services_Libravatar;ATwitter_Uploader & many more; as well as new packages like Date_Holidays_Croatia,ADate_Holidays_Australia & Validate_IR. We've seen new members of the community such as arash,...

PHP color scheme

PHP color scheme
Copyright A 2011 http://www.prodevtips.com. Visit the original article at http://www.prodevtips.com/2011/07/09/zenburn-for-geany-php-color-scheme/.Color theming in Geany is quite a no-brainer if you know how to go about it.... Read MoreTable of Contents for Zenburn for GeanyPHP color scheme

Smashing Magazine: My Favorite Programming Mistakes

Smashing Magazine: My Favorite Programming Mistakes
On the Smashing Magazine site there's a post some of Paul Tero's favorite programming mistakes he's come across and heard of in his time programming.I like to classify these mistakes into three broad groups: cock-ups (or screw-ups in American English), errors and oversights. A cock-up is when you stare blankly at the screen and whisper "Oops": things like deleting a database or website, or overwriting three-days worth of work, or accidentally emailing 20,000 people. Errors cover everything, from simple...

Erskine Labs Blog: What should they know of PHP who only PHP know?

Erskine Labs Blog: What should they know of PHP who only PHP know?
On the Erskine Labs blog today there's a new post from Wil Linssen with a suggestion to PHP developers who specialize in the language - take the time to learn another language and broaden your skills.So many languages share fundamental principles, and indeed many are even derived from the same concepts, but because they differ in their approach there's something new to understand in each. It's these differences that will frequently bolster your understanding of your primary language, or indeed of...

DZone.com: The era of Object-Document Mapping

DZone.com: The era of Object-Document Mapping
On the PHP on Windows section of DZone.com today Giorgio Sironi has posted about a different sort of object mapping than is usually thought of with databases - object-document mapping.The Data Mapper pattern is a mechanism for persistence where the application model and the data source have no dependencies between each other. [...] But everytime we talk about the Data Mapper pattern, we assume there is a relational database on the other side of the persistence boundary. We always save objects; we always...

Community News: Launch of CSI:PHP

Community News: Launch of CSI:PHP
Jeremy Kendall has started up a new blog that's a sort of "WTF in PHP" listing of some of the random (and bad) code that he comes across daily - CSI:PHP.It all began with a new gig and an amazingly horrific codebase. I began tweeting the most unbelievable, most frustrating snippets I could find. After quite a few of those tweets, Chris Hartjes replied with, "Looking at your tweets I cannot even fathom what your job is. CSI:PHP ?" A concept was born.Some of the posts so far include eval() hell, a bad use...

Martin Sikora's Blog: Google Chrome Extension: PHP Ninja Manual

Martin Sikora's Blog: Google Chrome Extension: PHP Ninja Manual
In a new post today Martin Sikora has points out a Google Chrome extension he's created that lets you view some of the basics of the PHP manual without leaving the browser.Finally, I released my extension for Google Chrome called PHP Ninja Manual (Ninja - because I like Avinash Kaushik'sblog and he always call people who are very skilled in something as "Ninjas"). I was always lazy to open PHP documentation every time I had to look at some method definition and its parameters so I made this extension...

My secret agenda for PHP Content Management Systems

My secret agenda for PHP Content Management Systems
As I've written before, I'm concerned about the state of the PHP ecosystem. There are lots of good applications written in the language, but there is very little code sharing between different projects, mainly because of framework incompatibilities, but also because of quite a strong NIH culture. But there are also bright points. I've recently seen lots of exchange of ideas, and even potential code sharing between some communities including Symfony2, Midgard, TYPO3 and eZ Publish. Much of the vision in...

SWAT Blog: Python VS PHP

SWAT Blog: Python VS PHP
On the SWAT blog there's a recent post comparing Python and PHP and some of the reasons the author prefers the former over the latter.Even after just one week using Python, I remember why I'll always prefer it - it empowers me as a programmer. In the Python community, they refer to it as the "batteries included" philosophy - with the mere inclusion of a library, anything becomes possible. Combine that with clean and readable syntax, fluent interfaces, powerful list comprehensions, list slicing, an...

Site News: Popular Posts for the Week of 07.08.2011

Site News: Popular Posts for the Week of 07.08.2011
Popular posts from PHPDeveloper.org for the past week:Elated.com: Object-Oriented PHP: Autoloading, Serializing, and Querying Objects Casey's Blog: Make Your Life as a PHP Developer Twice as Easy With phpsh Mike Purcell's Blog: Symfony - PHP - Possibly Forking 1.x so Invested Companies don't Lose Millions Ibuildings techPortal: DPC11: Distributed Systems Tutorial Gonzalo Ayuso's Blog: New features in PHP5.4 alpha1 Bradley Holt's Blog: Testing PHP 5.4 Chris Shiflett's Blog: Sorting Multi-Dimensional...

PHPBuilder.com: Using Zend_Search_Lucene, the PHP Lucene Implementation

PHPBuilder.com: Using Zend_Search_Lucene, the PHP Lucene Implementation
On PHPBuilder.com today there's a new tutorial from Jason Gilmore about using the Zend_Search_Lucene component of the Zend Framework to index and search your data.In this article I'll show you how to undertake the former approach using PHP's most prominent Lucene implementation, which also happens to be part of the Zend Framework: the Zend_Search_Lucene component.After briefly introducing the Zend_Search_Lucene component he gets to a practical use - being able to search through submitted information on...

Monolog 1.0 Released

Monolog 1.0 Released
Monolog is a simple logging library for PHP 5.3+, inspired by Python's Logbook library. It is namespaced, tested, PSR-0 compliant and all of these good things. It is fairly simple to use in any project and logs to files, syslog, FirePHP, sends emails or any combination of the above. Of course it's extensible, and more handlers are planned for 1.1. One of the notable features is the FingersCrossedHandler. It logs everything, including debug information, but buffers it all until a certain log level...

DevShed: Optimize File Downloading in PHP

DevShed: Optimize File Downloading in PHP
New on DevShed.com today is a tutorial helping you optimize your file downloading for your web application and provide a way to give users dynamic links to files instead of direct ones.The true path to the downloadable content can be revealed easily and is not protected, allowing users to bypass web forms and download the content directly using a browser. [...] The Solution: A Secure and Efficient PHP Download ScriptThis tutorial is actually an update of their previous tutorial looking at a similar...

Zend Framework 1.11.8 Released

Zend Framework 1.11.8 Released
The Zend Framework team announces the immediate availability of Zend Framework 1.11.8, our eighth maintenance release in the 1.11 series. 1.11.8 includes around 40 bug fixes and may be downloaded from the Zend Framework site .

Latest PHP Tweets