PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 41 to 60 of 211

Script-Tutorials.com: Creating a Smooth Curve Graphs with PHP and GD

Script-Tutorials.com: Creating a Smooth Curve Graphs with PHP and GD
On Script-Tutorials.com there's a new tutorial posted showing you how you can get better curves on your graphs with PHP and GD (the key is in the "CubicSplines" class, providing a few extra calculations to make "splines", a mathematical method for smoothing out values).Today I have new article for PHP. I will tell you about drawing graphs with GD. Plus - we will smooth our graph with curve lines using cubic splines interpolation method. You can read more about method at Wikipedia.All of the code is...

PHPMaster.com: Understanding OAuth - Tweeting from Scratch, Part 2

PHPMaster.com: Understanding OAuth - Tweeting from Scratch, Part 2
On PHPMaster.com today they're posted the second part of their OAuth series showing you how to use the authentication mechanism to connect to Twitter's API. (Part one is here.Welcome back to Understanding OAuth - Tweeting from Scratch. This is Part 2 of the two-part series and picks up right where we left off in Part 1 with your returned Access Credentials. Since obtaining the credentials is the grueling part of the process, there's not much more left to do except posting a tweet on the user's behalf....

Hasin Hayder's Blog: Developing PHP applications in the cloud with free cloud hosting providers

Hasin Hayder's Blog: Developing PHP applications in the cloud with free cloud hosting providers
Hasin Hayder has put together a list of cloud hosting providers that are already set and ready to go for PHP applications. His list highlights a few of the free ones.I will be focusing on some of these free cloud hosting options available out there. One thing to note before you proceed - these free cloud hosting options are very good to develop and test your applications (in dev+staging environment) and it may not be wise to deploy the production version of your application with any free plan (Except...

Lukas Smith's Blog: Why bother?

Lukas Smith's Blog: Why bother?
Lukas Smith has put together a recent post to his blog with some thoughts on standardization of interfaces in PHP applications to help improve code quality and interoperability.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. [...] That being said the open questions left in my previous blog...

Community News: Latest PECL Releases for 10.25.2011

Community News: Latest PECL Releases for 10.25.2011
Latest PECL Releases: eio 0.1.0 eio 0.1.1 eio 0.2.0 cld 0.1.0 geoip 1.0.8 cld 0.2.0 timezonedb 2011.13

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...