Latest PECL Releases:
yaf 2.2.7
timezonedb 2012.10
stomp 1.0.5
AOP 0.2.2b1
AOP 0.2.1b3
AOP 0.2.1b2
AOP 0.2.1b1
AOP 0.2.1b5
AOP 0.2.1b4
AOP 0.2.1
ibm_db2 1.9.5
PDO_CUBRID 8.4.3.0001
CUBRID 8.4.3.0001
pthreads 0.0.38
amqp 1.0.9
Address lookups with Leaflet and Nominatim
London, UK
Tuesday, November 20th 2012, 10:52 GMT
I recently wrote a patch for joind.in to add a map of an event's location to the event detail page. With the same patch, I also replaced the location part of the event edit page with a solution that uses JQuery, Leaflet as map API, OpenStreetMap tiles and Nominatim for doing address lookups. This article forms a small tutorial on how to use this same set-up yourself.
The Basics
To start, we create a new...
Dear PHP Community, we need to have a talk about the insufferable state of your software stacks.It was recently brought to my attention that there is software out there, software we use every day!, that is NOT written in PHP.This is completely unacceptable! We are PHPeople! We're not a€oWeba€ť Developers, we are the web. And we sure as hell are not some fancy a€oSoftware Developera€ť, you can ask anyone on the Internet!Seriously: If it's not PHP how will we ever be able to extend and adapt it to our...
First up a disclaimer. I don't think I have any answers to offer and I must admit I will probably not actively do much to help improve the current situation. However I do believe it would be great if this would become a non topic but I acknowledge that there is a problem. Like many I don't see myself as part of the problem, maybe I am wrong there. In general the Symfony2 scene is quite un-diverse, at least when it comes to gender. I don't remember ever seeing a women present on a Symfony2 topic at a...
7PHP.com has posted their latest interview with a member of the PHP community - this time it's Francesco Fullone, the president of the Italian GrUSP PHP user group.In this edition I talked with Francesco Fullone who is the President of the Italian PHP User Group GrUSP which is one of the biggest European PHP families. Francesco is an Open-source lover, an enthusiastic PHP Evangelist and a conference organizer. He has also been a speaker at so many conferences - his latest talk being about "Compromises...
A while back Anthony Ferrara proposed a standardized password hashing feature to be included into the core of PHP. It was voted on and it was decided it would be introduced in the PHP 5.5 releases. Anthony has written up a new post talking some about his process in making this upcoming feature and answering some of the most common questions he's gotten about it.The other day, PHP 5.5 Alpha 1 was released to the public for the first round of testing the new features that are coming out. One of those new...
Matthew Weier O'Phinny has a new post to his site today sharing the video and slides from his "Beautiful Code" talk from this year's ZendCon conference.Unusually for me, I did not speak on a Zend Framework topic, and had only one regular slot (I also co-presented a Design Patterns tutorial with my team). That slot, however, became one of my favorite talks I've delivered: "Designing Beautiful Software". I've given this talk a couple times before, but I completely rewrote it for this conference in order to...
If you weren't able to attend this year's ZendCon conference and wanted to see Bradley Holt's talk about entity relationships and document databases, you're in luck - he's posted both the video and slides to his site. Here's his summary of the session:Unlike relational databases, document databases like CouchDB and MongoDB do not directly support entity relationships. This talk will explore patterns of modeling one-to-many and many-to-many entity relationships in a document database. These patterns...
Cal Evans has officially announced his latest in his series of full-day virtual conferences aimed at PHP developers - the PHP Master Series, Volume 1 (from the Day Camp 4 Developers):There is a lot of good information shared at conferences and sadly not event 1% of developers who identify themselves as PHP developers, ever get to attend one. This makes me sad. So I'm trying something new. [...] I went through the PHP conferences from the second-half of this year and picked out 6 that really stood out....
On the PHP/Cloudcast site today they've released another screencast showing you how to integrate your application with Stripe, the popular (and programmer friendly) payment gateway for your applications. This is the third part of their series.In this, the third episode of PHP Cloud Development Casts, we go through how to integrate Stripe Webhooks in to our PHP applications. We extend the PHP Kohana application we created in episode 2 and show how simple it is to create a webhook and to receive the...
Recent releases from the Packagist:mjohnson/utility (1.2.1)
guzzle/guzzle (v3.0.5)
guzzle/service (v3.0.5)
mylen/jquery-file-upload-bundle (1.1.5, 1.1.4, 1.1.3, 1.1.2, 1.1.1, 1.1.0, 1.0.0, 0.0.8, 0.0.7, 0.0.6, 0.0.5, 0.0.4, 0.0.3)
phppeg/phppeg (v1.0.0)
icanboogie/http (1.0.0)
icanboogie/prototype (1.0.2)
icanboogie/event (1.0.4)
icanboogie/common (1.0.4)
aptoma/twig-markdown (0.1.0)
pheal/pheal (0.1.7)
frnk/backup-bundle (v0.1.0)
Here are the video and the slides from my Entity Relationships in a Document Database at ZendCon 2012.
Some of the tools mentioned in the presentation:
Doctrine CouchDB
Doctrine MongoDB ODM
Here are the video and the slides from my Domain-Driven Design talk at ZendCon 2012.
If you're interested in learning more about this topic then I'd recommend reading the original book on the topic of Domain-Driven Design by Eric Evans'. Eric also runs a training company called Domain Language which offers training on Domain-Driven Design. I had the privilege of attending his four day hands-on immersion class which I would highly recommend for anyone who wants to take a deep dive into Domain-Driven...
Composer and Azure Websites Git Deployment
Continuing my series on PHP PaaS Clouds (Fortrabbit), I turn to Microsoft Azure today. After some
research I found out Azure supports post deployment hooks to run
Composer and allows you to configure environment variables from the Management
console.
Microsoft launched Azure Websites in June this
year. It is a platform as a service solution where you can deploy your
websites via FTP or Git. With Azure Websites you can avoid having to deal with
the complex...
Recent releases from the Packagist:bt51/doctrine-cache-serviceprovider (1.0.0)
stekycz/nette-date-paginator (1.1.0-beta)
bt51/googleanalytics-serviceprovider (1.0.2, 1.0.1)
mylen/jquery-file-upload-bundle (0.0.2, 0.0.1)
mishak/web-resource-management (0.0.2, 0.0.1)
blueimp/jquery-file-upload (1.1.0, 1.0.2, 1.0.1, 1.0.0)
icanboogie/common (1.0.2)
clio/clio (0.1.0)
diara/audit (2.1.1)
bt51/textile-serviceprovider (1.0.1)
bt51/markdown-serviceprovider (1.0.0)
bt51/gaufrette-serviceprovider (1.0.1)...
I decided to convert MentalJS to PHP so that the parsing can happen server side and maybe even later on allow JavaScript execution inside PHP. I found PHP really slow and has poor support for creating parsers. As an example I found that parsing jQuery in php was around 3.6-4 seconds whereas JavaScript was 100ms, I noticed an improvement when I used .= instead of str = str .str but it's still pretty slow. Adding multi-byte characters was even worse mb_substr is so slow it can fail to parse even small...
Recent releases from the Packagist:obiz/common (1.0.0-RC1)
icomefromthenet/faker (v1.0.3.6)
thesmart/php-kue (0.0.1)
mjohnson/utility (1.2.0)
prolic/humus-mvc (1.1.0)
search/sphinxsearch-bundle (1.2.0)
elendev/image-bundle (1.0.2)
avro/stripe-bundle (0.1)
leezy/pheanstalk-bundle (1.0.3, 1.0.2)
brandonwestcott/li3_relations (1.0.0)
kolba/assets-install-extended (1.1)
liip/drupalconnectormodule (v1.0.0)
nucleusbe/zimbra (v0.2.2)
monga/monga (0.1.2, 0.1.1)
mjohnson/decoda (4.1.0-beta)...
Once again, I spoke at ZendCon this year; in talking with
Christian Wenz, we're
pretty sure that the two of us and Andi are the only ones who
have spoken at all eight events.
Unusually for me, I did not speak on a Zend Framework topic, and
had only one regular slot (I also co-presented a Design Patterns
tutorial with my team). That slot, however, became one of my
favorite talks I've delivered: "Designing Beautiful Software". I've
given this talk a couple times before, but I completely rewrote it
for this...
The other day,A PHP 5.5 Alpha 1 was released to the public for the first round of testing the new features that are coming out. One of those new features is the Simplified Password Hashing API that I proposed (and was accepted). I have received a lot of feedback and criticism of the new API in the months since it's been committed. I figured now that Alpha 1 is out and people can play with it, I should respond to some of those items, and give a little bit more insight into why it was built the way it...
On PHPMaster.com today they have a new post from Remi Woler about "exceptional exceptions" - using exceptions to handle the flow of your application's execution a bit better.Unlike errors, exceptions are designed to be handled by the calling code and will bubble up the execution chain until they are caught. Code in the current scope will stop executing as soon as an exception is thrown (so any lines after a throw statement won't be executed) and control is handed back to the first matching exception...
|
Latest PHP Tweets
|