PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 3041 to 3060 of 6889

Timezone database closed down

Timezone database closed down
Interesting news today. The Olson database, which is used in countless operating systems and other software (including PHP) has been shut down due to a Copyright claim. Details, which I won't repeat here can be found on Stephen Colbourne's blog.

Don't look for meanings, count mentions

Don't look for meanings, count mentions
It's Ada Lovelace day, giving me a (not often needed) excuse to talk about one of the most interesting people that has worked in information retrieval, Professor Karen SpArck Jones. She worked at the University of Cambridge almost up until her death in 2007, and made significant contributions to natural language processing, machine translation, and particularly to search. In my eyes at least, her most significant contribution was IDF term weighting. IDF stands for inverse document frequency, and...

The future of caching

The future of caching
This is not your father's Internet. When the Web was first emerging onto the scene, it was simple. Individual web pages were self-contained static blobs of text, with, if you were lucky maybe an image or two. The HTTP protocol was designed to be "dumb". It knew nothing of the relationship between an html page and the images it contained. There was no need to. Every request for a URI (web page, image, download, etc.) was a completely separate request. That kept everything simple, and made it very fault...

Using MySQL Workbench with MAMP

Using MySQL Workbench with MAMP
Recently I've started working locally due to the PHPStorm IDE. In order to work locally, I invested in MAMP Pro to make use of their GUI interface for configuring vhosts. I also like to use MySQL Workbench for my database work, unfortunately these 2 items never seemed to work together for me before. After a brief google search I was able to find out how to connect to MAMP's MySQL install to do SQL Development, which is by done by choosing the local socket connection method and using the...

aY Goodbye from TAAAB

aY Goodbye from TAAAB
This is my last post on this blog. I have enjoyed having a place where I could write my thoughts more or less as they formed in my mind, and it seems that a fair number of people enjoyed reading what I had to say. But times change. I own a company that deals almost exclusively with PHP knowledge, and it seems absurd that I should write about PHP here while php|a almost never gets to publish my pieces. By the same token, various pieces that I write on Mac and on computing in general often make their way...

Using the ZF2 EventManager

Earlier this year, I wrote about Aspects, Intercepting Filters, Signal Slots, and Events, in order to compare these similar approaches to handling both asychronous programming as well as handling cross-cutting application concerns in a cohesive way. I took the research I did for that article, and applied it to what was then a "SignalSlot" implementation within Zend Framework 2, and refactored that work into a new "EventManager" component. This article is intended to get you up and running with it.

Using the ZF2 EventManager

Earlier this year, I wrote about Aspects, Intercepting Filters, Signal Slots, and Events, in order to compare these similar approaches to handling both asychronous programming as well as handling cross-cutting application concerns in a cohesive way. I took the research I did for that article, and applied it to what was then a "SignalSlot" implementation within Zend Framework 2, and refactored that work into a new "EventManager" component. This article is intended to get you up and running with it.

Project: Patchwork-Doc - JSON Formatted Output of PHP variables

Project: Patchwork-Doc - JSON Formatted Output of PHP variables
Nicolas Grekas has submitted about a new tool he's developed to "represent faithfully any PHP variable as complex as it is" - Patchwork-Doc (related to his Patchwork PHP framework).The JSON format on which it rests guarantees maximum interoperability while ensuring good readability. The implementation done in the JsonDumper class operates all potentialities of the representation while providing maximum latitude to the developer to exploit its ability as desired, both in term of exposure of internal class...

Andrew Martin's Blog: Serving PHP session files from a RAM based disk (tmpfs) for AWS Micro Instance

Andrew Martin's Blog: Serving PHP session files from a RAM based disk (tmpfs) for AWS Micro Instance
Andrew Martin has a new post to his blog looking at a technique that could be used to help minimize some of the performance issues you could see on AWS micro instances dealing with PHP session handling. His alternative is serving them from a RAM-based disk instead.It's rare to find a web server with slow disk I/O performance, but Amazon's EC2 micro-instances are one such example. Their EBS disk subsystem access is rated "low", and this can have a detrimental effect on HTTP throughput. [...] This leaves...

PHPBuilder.com: Building RESTful APIs with the Slim Microframework

PHPBuilder.com: Building RESTful APIs with the Slim Microframework
On PHPBuilder.com today there's a new tutorial from Jason Gilmore about building a simple RESTful API with Slim, a microframework for PHP.Although a relatively new entrant in the PHP framework sweepstakes, I've been lately quite intrigued by Slim, a slick RESTful microframework modeled after Ruby's Sinatra, which is coincidentally by far my favorite microframework available for any programming language. In this article I'll show you just how easy it is to get started building a powerful RESTful API using...

CodeIgniter.com: New User Guide in Development

CodeIgniter.com: New User Guide in Development
The CodeIgniter development team is happy to announce work that's been done on the framework's user guide to help make it even better and easier to find the information you're looking for (now based on the Sphinx documentation generation engine).In addition to handling the tedium of generating page and document tables of contents, or maintaining internal links and references, the documentation is now easier to write, as you can simply focus on the content instead of markup and presentation. Don't forget...

PHP'n Rio 11

PHP'n Rio 11
The PHP Rio User Group is pleased to announce their third edition of the PHP'n Rio conference. It will be held on November 05th, 2011, at the CEFET-RJ university, Rio de Janeiro. It is a one day conference aimed on providing experienced developers and beginners a chance to learn more about PHP frameworks, web applications built in PHP, and the art of testing code. Whether you live here or are around just enjoying the marvelous city, come and join us :) For more information, please visit...

Steve

Steve
In his own words: Have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.Many thoughts and words have been shared, but none are more meaningful to me than these.In the words of others: Steve Jobs, by John Boardley Farewell Mr Jobs, by Christopher Murphy For Steve, by Frank Chimero Don't Settle, by Simon Collison Steve Jobs, by Mark Boulton Steve Jobs, by Elliot Jay Stocks Thank You, by Sarah Parmenter What We've...

PHPMaster.com: Creating a Mobile Photo Blog, Part 1

PHPMaster.com: Creating a Mobile Photo Blog, Part 1
PHPMaster.com has started up a new series of tutorials today with part one of "Creating a Mobile Photo Blog". The set of tutorials will show you how to create a simple blogging tool that will upload images as submitted via an email address.This is the first article in a two-part series in which I will show you how to create a photo blog as part of your personal website which you can update from your phone simply by sending an email. You'll write a script to check the inbox of an email account for new...

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:Advanced PHP Tutorial: 7 Useful functions to tighten the security in PHP Adminx Web: 15 Best Ever PHP Frameworks Site News: Blast from the Past - One Year Ago in PHP Seldo.com: PHP needs to die. What will replace it? Nurul Ferdous' Blog: Here is my 2 cents on Doctrine (ORM) SitePoint PHP Blog: High-Performance String Concatenation in PHP ServerGrove Blog: Logging MongoDB queries using Symfony 2 and Doctrine ODM ServerGrove Blog: Creating...

Sébastien Thomas' Blog: Monitoring PHP APC cache usage

Sébastien Thomas' Blog: Monitoring PHP APC cache usage
S├ębastien Thomas has a recent post to his blog shows how (with just a bit of code) you can monitor your APC cache usage on your local host.I won't go deep into how OpCode caches work, you will find a lot of docs, just google for APC, Xcache, eAccelerator... What I can say is that APC (as other caches do) will save binary parts of your PHP code into memory and use it when you call for the same PHP function again. This way you save all the PHP file opening, parsing, etc. [...] One thing you won't come...

Padraic Brady's Blog: Zend Framework 2.0: Dependency Injection (Part 1)

Padraic Brady's Blog: Zend Framework 2.0: Dependency Injection (Part 1)
In a new post to his blog Padraic Brady takes a look at dependency injection in Zend Framework 2.0. In this first part, however, he introduces the concept of "dependency injection" and offers a few suggestions on its use and tools that can make it simpler.If you've been watching the PHP weather vane (we call it Twitter for short), you may have noticed a shift in Symfony and Zend Framework. Version 2.0 of both web application frameworks feature Dependency Injection Containers (DICs) as the primary means...

Symfony Blog: SymfonyCamp Ukraine 2011

Symfony Blog: SymfonyCamp Ukraine 2011
As mentioned on the Symfony blog today, there's a reminder about the Symfony Camp conference being held in Kiev, Ukraine on October 29th.Registration is free! The main topic of the conference will be Symfony2 and all related aspects. The schedule, however, is not fully determined yet. If you have something interesting to present, then submit your proposal here.You can find out more about the event from its main website or our own summary.

Ibuildings techPortal: DPC Radio: Searching with Solr - Why, When, and How

Ibuildings techPortal: DPC Radio: Searching with Solr - Why, When, and How
The Ibuildings techPortal ha sposted their latest episode in the DPC Radio podcast series - recordings of sessions from the Dutch PHP Conference earlier this year. This episode is a recording of a talk from Paul Matthews about "Searching with Solr".With Google constantly pushing the customer expectations of searching, is it time to move away from our database full-text search in pursuit of a more targeted platform? Can implementing Solr offer more than an answer to a search? Implementing a search...

Stefan Koopmanschap's Blog: About your job opening...

Stefan Koopmanschap's Blog: About your job opening...
If you're currently looking for developers to fit the needs of your company but just can't seem to find a good fit, Stefan Koopmanschap has a good suggestion you might want to follow to be more effective in your search.The PHP job market is booming. Lots of companies are looking for (good) developers, but these are hard to find. Lots of developers are looking for a (good) job, but these are equally hard to find. Wait, that sounds strange... but it's true.He points out that he's seen several companies put...

Latest PHP Tweets