PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 2921 to 2940 of 6889

What is Symfony2?

What is Symfony2?
Last week, I held a keynote presentation about Symfony2 at the Symfony Day conference in Cologne. Many people asked me for the slides, but they were quite empty and not that useful. This blog post is more or less what I've said during the first part of the talk. What is Symfony2? When I ask people what Symfony2 is for them, most of them say something along the lines of: Symfony2 is a full-stack web framework written in PHP. Some also add that this is an MVC framework. And some others add that this is a...

Drupal just got a whole lot more compatible

Drupal just got a whole lot more compatible
In August of last year, I wrote this excited blogpost about phpBB joining the Symfony2 camp by announcing they were going to use Symfony2 as the basis for their new version. Things like this are exciting, because it will allow several communities to work on the same software: Symfony2 developers would be able to help with the development of phpBB, and the other way around. Now, the same thing is happening with Drupal. Even though they are not adopting the full Symfony2 stack, they have just started...

What Symfonic Drupal means

What Symfonic Drupal means
Earlier today, Dries committed a patch that adds two Symfony2 Components to Drupal: ClassLoader and HttpFoundation. On its face it's a fairly simple patch; the new code in it is maybe a dozen lines. But it's an important part of a larger shift within Drupal to better embrace the modern web, on the server as well as the client. read more

Maarten Balliauw's Blog: Running Memcached on Windows Azure for PHP

Maarten Balliauw's Blog: Running Memcached on Windows Azure for PHP
Maarten Balliauw has a new post to his blog with a guide to running mamcached on Windows Azure for PHP, a tool targeted towards PHP on Windows users to provide them with the ability to cache outside of their application.While Windows Azure offers a distributed caching layer under the form of the Windows Azure Caching, that components currently lacks support for non-.NET technologies. I've heard there's work being done there, but that's not very interesting if you are building your app today. This blog...

User Group: New York PHP (Oct 25th @ 6:30pm) - MongoDb & ZendCon

User Group: New York PHP (Oct 25th @ 6:30pm) - MongoDb & ZendCon
For those that will be in the New York City area tomorrow night (10/25), Daniel Krook has something you should consider attending - the New York PHP User Group is having a meeting with a talk on MongoDB (and a ZendCon Recap).PHP on IBM System i consultant Alan Seiden will give us an update on what transpired at last week's ZendCon. 10gen MongoDB evangelist Steve Francia will provide an overview on using PHP with MongoDB.You'll need to RSVP to get a spot or, if you can't make it in person, you can always...

PHPMaster.com: Sending Emails with PHP

PHPMaster.com: Sending Emails with PHP
In a new tutorial from PHPMaster.com Jason Pasnikowski takes a look at sending emails with PHP - an introduction to what the language offers and how it can be used to send an HTML version.In most cases your installation of PHP will be capable of sending emails. If you are using a shared host, or if you installed PHP using a package management system like apt-get, more than likely you're all set. You'll really only need to worry about extra configuration if you're compiling PHP from source or if you're...

PHP oci_password_change() ORA-1017 gotcha with Oracle Database 11.2.0.3

PHP oci_password_change() ORA-1017 gotcha with Oracle Database 11.2.0.3
The Oracle Instant Client 11.2.0.3 for Linux is now available on OTN. I know many users will upgrade sooner rather than later to get the "latest and greatest" release. However, if your PHP application uses oci_password_change (or its old alias ocipasswordchange), you should upgrade the client libraries (Instant or normal "full" client) and the Oracle Database version to 11.2.0.3 at the same time. Otherwise oci_password_change will fail with the error "ORA-1017: invalid username/password". If you're not...

Phix 0.14 Released

Phix 0.14 Released
Phix v0.14 is now available from pear.phix-project.org. What's New In This Release Snapshot versions of components - not ready to release a stable version of your component, but still need to publish your component to your PEAR channel for testing? You can now set the project.snapshot property in your build.properties file, and get non-stable packages for distribution. Code coverage improvements - when you run phing test to run your component's unit tests and generate the code coverage report, the code...

MongoDB and ZendCon at New York PHP

MongoDB and ZendCon at New York PHP
This month we have a double feature at New York PHP. PHP on IBM System i consultant Alan Seiden will give us an update on what transpired at last week's ZendCon. 10gen MongoDB evangelist Steve Francia will provide an overview on using PHP with MongoDB. RSVP now for the meeting at IBM in midtown Manhattan on Tuesday [...]

Magento Extension GitIgnore Stub

Magento Extension GitIgnore Stub
As you may or may not know, I've been working with Magento lately. In the past few months, one thing I've found that I needed is a stock .gitignore file for when making extensions. Haven't found one so I made one on github and will also post here for anyone else in need. I'm still relatively new at working with Magento and in someways git/github so please feel free to critique/streamline. # replace {company} and {extension} placeholders with your information # ignore phpstorm files /.idea # Ignore all...

DZone.com: PHP 5.4 Will Have a Built-in Web Server

DZone.com: PHP 5.4 Will Have a Built-in Web Server
As is mentioned in this new post to DZone.com, one of the features of the upcoming PHP 5.4 release, including things like traits and array dereferencing support, will also have an interesting new feature - a built-in simple web server.Yet another new feature to look forward to in PHP 5.4.0 - the CLI SAPI will now provide a built-in web server which is geared toward developmental purposes. It shouldn't be used in production right now.The PHP manual has been updated with the latest on this upcoming...

Ken Guest's Blog: A new Openstreetmap API framework for PHP

Ken Guest's Blog: A new Openstreetmap API framework for PHP
Ken Guest has a new post today talking about a PEAR package he's been developing, Services_Openstreetmap, to interact with the OpenStreetMap service to make it simpler to work with OSM data, adding new locations and working with users.So over the last while, I've been working on a PHP package imaginatively named Services_Openstreetmap, for interacting with the openstreetmap API. I initially needed it so I could search for certain POIs and tabulate the results; it's now also capable of adding data to the...

Community News: Latest PEAR Releases for 10.24.2011

Community News: Latest PEAR Releases for 10.24.2011
Latest PEAR Releases: Services_Twitter_Uploader 0.1.0 Net_URL2 1.0.0 Net_URL2 2.0.0 HTTP_Request2 2.0.0

PHP and MySQL Cluster: Load Balancing without R/W split

PHP and MySQL Cluster: Load Balancing without R/W split
The free Mysqlnd replication and load balancing plugin now offers load balancing and lazy connections independent of read write splitting. This makes the plugin attractive for MySQL Cluster users. All nodes participating in a MySQL Cluster can serve all requests, they all accept read and write requests. No statement ...

My Book is Published: PHP Master

My Book is Published: PHP Master
I am truly delighted to announce that "my" book is published. Technically it's really "our" book since I had the pleasure of co-authoring with friends and PHP rockstars Davey Shafik and Matt Turland. The book is "PHP Master" and it's a broad-ranging text covering a series of topics that we felt were relevant to PHP developers who aren't beginners, but who are looking to fill in some gaps and get a good grounding in creating whole applications in PHP. You can read more about the book on the page I made...

Why bother?

Why bother?
In my previous blog post I was brainstorming the possibility of collaboration between various frameworks to define a set of common interfaces. But I kind of failed to explain why this would be useful. Herman's "rebuttal" made this omission on my part quite clear. He and other critics of this idea pointed out that PHP's success over Java in the web world should be seen as an indicator that standardization efforts stifle innovation and slow down development. I totally see where this view point is coming...

Interfacing the PHP world

Interfacing the PHP world
I have done a few tweets in the past weeks hinting at wanting to create a set of common interfaces for things like logging, caching etc. Now I pondered this some more and there are a couple of problems which I am not yet sure how to overcome them. Obviously the goal would be to make it easier to drop in components from one library/framework into another. If you want to see a concrete case where such interfaces could help just have a look at the recently created Doctrine Search project which needs an HTTP...

Make php-fpm execute arbitrary PHP scripts via socket

Make php-fpm execute arbitrary PHP scripts via socket
We are using APC cache very heavily in our projects and during project deployment the cache must be flushed and warmed up. A common solution to warmup the APC cache is to fetch some special page via HTTP which does the job. The problem with this approach is that it's not reliable enough when PHP [...]

How to tell if you're a bad programmer

How to tell if you're a bad programmer
A great read: Bad Programmers

A new Openstreetmap API framework for PHP.

A new Openstreetmap API framework for PHP.
So over the last while, I've been working on a PHP package imaginatively named Services_Openstreetmap, for interacting with the openstreetmap API. I initially needed it so I could search for certain POIs and tabulate the results; it's now also capable of adding data to the openstreetmap database - nodes and other elements can be created, updated and so on. It will even access the details of the user that is being used to modify that data, which is one difference between it and the other single purpose...

Latest PHP Tweets