PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 161 to 180 of 248

Spatial Indexes: MySQL

Spatial Indexes: MySQL
Spatial Indexes: MySQL London, UK Tuesday, April 12th 2011, 09:04 BST In two previous articles I introduced The spherical Earth model and importing data into SQLite for querying geographical data. In this article we're going to have a look at importing the data into MySQL and finding out how to best store and query spatial data in the databases. MySQL MySQL has some support for Spatial Extensions, but it's not particularly useful. For example, there is no way to query anything within the radius...

Spaz Hackathon at the PHP Community Conference

Spaz Hackathon at the PHP Community Conference
I'm really excited to announce the next Spaz Hackathon, taking place at the PHP Community Conference in Nashville, TN on April 21 from 5:30p-10:00p EDT (tenatively). It will be part of a larger social tech hackathon sponsored by Tropo. Food and drink (non-alcoholic) will be provided. We will have awesome swag provided by the HP webOS dev relations team and Appcelerator, and we'll be giving away 2 unlocked GSM Pre 2 smartphones to the top two Spaz contributions. It's super exciting.As this is a...

Cal Evans' Blog: Four reasons why Drupal should fork PHP

Cal Evans' Blog: Four reasons why Drupal should fork PHP
In a recent post Cal Evans shares his opinion on why he thinks the Drupal project should fork PHP and what benefits he sees for them in doing it.Obviously moving the functionality [of Drupal] - not to mention the existing userbase - to a new language would be a herculean task; but what if the new language was just a version of the old. What if Drupal forked PHP and began working on its own version? With that thought in mind, I began to think hard about reasons they would want to do this. Here are the...

Keith Casey's Blog: Developer Smackdown #46 on Community

Keith Casey's Blog: Developer Smackdown #46 on Community
In a new post to his blog Keith Casey links to a Developer Smackdown (episode #46) that he participated in while down at SXSW in Austin.Last month I attended SXSW for the third time. In addition to having a good time and meeting up with friends & colleagues, I had the chance to be a guest on Developer Smackdown to talk about Community and the similarities and differences between them in the PHP and .Net Communities.You can listen to the recording here - "Unicorn Rhinos, Mexican Martini's, and 2 My Style...

Announcing the Web Services and Context Core Initiative

Announcing the Web Services and Context Core Initiative
At DrupalCon Chicago, Dries announced that the development process for Drupal 8 would be a bit different. Rather than a vast dog pile of efforts to improve Drupal in ways big and small, Drupal 8 will feature a number of major "core initiatives". These initiatives highlight major areas of work that represent not just a patch or three but major changes to Drupal's plumbing. Each initiative will have one or two initiative leads who have the ability to coordinate and make decisions relating to that...

Phil Sturgeon's Blog: Why Write A New Framework?

Phil Sturgeon's Blog: Why Write A New Framework?
Phil Sturgeon, a developer on the Fuel framework project, has a new post to his blog asking a common question of all developers that set out to make the "Next Big Framework" - why write a new framework?So we all know that the internet is full of frameworks. They've been the popular thing for the last 5 or 6 years and it seems to have become the "barrier for entry" or the "passage of rights" that 8 or 9 years ago used to be "hey I just wrote a phpBB clone!". There are plenty around but in this day in age,...

PHP Components: Shipping Data Files With Your Components

PHP Components: Shipping Data Files With Your Components
In my Beyond Frameworks talk, I explained how a component-based architecture can help answer some of the important (i.e. expensive!) questions you might face when creating long-lived apps that rely on a PHP framework. In this series of blog posts, I'm going to look at how to go about creating and working with components. I'm now going under the bonnet of our components, and looking at the different file roles that the PEAR installer expects to find when we distribute our component as a PEAR-compatible...

RooJs.com: How to spam in PHP..

RooJs.com: How to spam in PHP..
On RooJs.com there's a recent post from Alan Knowles looking at how to spam in PHP. No, nothing malicious - it's more about scalability in sending emails from PHP applications.The reason this has been relivant in the last two weeks is two fold, first off, my slow and sometimes painfull rewrite of mtrack has got to the point of looking at email distribution. Along with this I have a project that needs to distribute press releases, and track responses. Since both projects now use the same underlying...

When Google controls the interneta

When Google controls the interneta
I'm not a google fanboy (although I do use a lot of gmail and picasa some) - I'm also more than a bit wary about the amount of info they control and manage about me and others. That said, I was reading up on SPDY this morning, and a curious thought struck me. For those of you old enough to remember the late 90s and the abrowser wars', IE was becoming the dominant browser. I remember hearing a rumor that IE was given preferential treatment with IIS servers - meaning that if you used IE against an IIS...

Query7.com: Why You Should Be Using A PHP Framework

Query7.com: Why You Should Be Using A PHP Framework
On the Query7.com blog, Logan has posted his opinion on how you should be doing your development on sites that are more than just one or two pages - you should be using a framework.Frameworks should be used when constructing web applications. Any application that involves a database, forms, sessions, cookies or a remote service (such as Twitter or Facebook) will benefit from being powered by a framework. There is no need to use a framework for a website that has only one or two pages, nor for command...

Courtney Robinson's Blog: Apache Cassandra+PHPcassa+Code Igniter = large scale PHP app in 5 minutes

Courtney Robinson's Blog: Apache Cassandra+PHPcassa+Code Igniter = large scale PHP app in 5 minutes
In a new post today Courtney Robinson shows how the combination of Cassandra, PHPcassa and CodeIgniter can be used to create a large scale PHP application in five minutes .I'm working on a new project, migrating an existing site using custom code with a very monolithic design on top of MySQL. Design goals : Implement all the same functionality using a manageable framework with a small footprint on a distributed NoSQL database. Small footprint? I'm thinking Code Igniter (CI)...Distributed NoSQL (my...

Marco Tabini asks "Is PHP running out of itches to scratch?"

Marco Tabini asks "Is PHP running out of itches to scratch?"
Marco Tabini - publisher of php|architect, trainer, writer, programmer and all around nice guy - wrote an interesting post on his blog today titled aoIs PHP running out of itches to scratch?a. Since it would be unethical for me to to link to my own blog from DevZone, I'm resorting to linking to those who link to me. :) Click on in, it all makes sense in the end.

aY Is PHP running out of itches to scratch?

aY Is PHP running out of itches to scratch?
Over on his blog, my partner Cal has been wondering aloud whether Drupal should simply fork PHP, or get rid of it altogether. I hesitate to add anything to the discussion because I don't want it to look like we're feeding troll material to each other, but he does raise some interesting points. I think it's fair to say that the pace at which PHP core is being developed has slowed down considerably over the past couple of years, while the development of many projects based on it, like programming and...

John Congdon starts a discussion on PHP User Groups

John Congdon starts a discussion on PHP User Groups
Over on his blog, John Congdon has posed a question to PHP User Group members. Click on in for the obligatory quote and link.

Community News: Latest PEAR Releases for 04.11.2011

Community News: Latest PEAR Releases for 04.11.2011
Latest PEAR Releases: Services_ShortURL 0.3.0 Services_ShortURL 0.3.1

PHP Content Repository - the other part of CMS decoupling

PHP Content Repository - the other part of CMS decoupling
A while back I wrote about decoupling content management. The post generated lots of good reactions, and since then our VIE library has been adopted by multiple CMSs to achieve decoupling on the UI level. Now it is time to focus on the other side of decoupling - the relation between a web framework and a content repository. I've written multiple times about the benefits of using a content repository, but JCR spec lead David Nuescheler sums them well: Functional Definition of a aoContent Repositorya...

PHP South West (#phpsw) User Group Meeting, 7pm, Wednesday 13th April 2011, Bristol

PHP South West (#phpsw) User Group Meeting, 7pm, Wednesday 13th April 2011, Bristol
March's meeting of the PHP SouthWest User Group will be at The Golden Guinea in Redcliffe, Bristol, from 7pm on Wednesday 13th April. What Is Planned Ade Slade will be giving his talk on unit testing (something he has a deep passion for). We'll also discuss progress on the #phpsw community website, and be looking for more volunteers to help build and maintain it. How To Get There We'll be at The Golden Guinea, 19 Guinea Street, Bristol BS1 6SX. It's a short walk from Bristol Temple Meads Railway Station...

The beginning of a JavaScript journey

The beginning of a JavaScript journey
While PHP remains my primary programming language for various reasons, my recent projects have involved quite a bit of JavaScript development. And I have to say I like it: the event-driven paradigm is quite elegant, closures are a joy to work with, and tools like Node.js and jQuery really open up the possibilities of the language. But there is one weakness in the JS ecosystem: as things are just now picking up, the amount of information on especially making larger applications is quite sparse. To help...

Process Oriented vs Product Driven

Process Oriented vs Product Driven
Advice I like from 101 Things I Learned in Architecture School (Matthew Frederick): Being Process Oriented, not Product Driven, is the most important and difficult skill for a designer to develop. Being process oriented means: seeking to understand a design problem before chasing after decisions not force fitting solutions to old problems onto new problems removing yourself from prideful investment in your projects and being slow to fall in love with your ideas making design investigations and...

How to spam in PHP..

How to spam in PHP..
Article originally from rooJSolutions blogWell, after having written a huge anti-spam system, it now time to solve the reverse problem, sending out huge amounts of email. Only kidding, but the idea of scaling email sending using PHP is quite interesting.The reason this has been relivant in the last two weeks is two fold, first off, my slow and sometimes painfull rewrite of mtrack has got to the point of looking at email distribution. Along with this I have Aa project that needs to distribute press...