PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 81 to 100 of 219

Integrating Magento into Symfony2

Integrating Magento into Symfony2
So last week four developers sat together on a regular Hackday to see what's needed to hook up Magento into Symfony. To make this short the outcome is a Magento bundle for Symfony2. When we met in the morning we weren't even sure what exactly to try out but soon agreed on implementing a Symfony authentication which uses the Magento customer database. Autoloader and Login Starting our hacking, the first problem appeared quickly with incompatible class loaders: Unfortunately, the Magento class loader...

Real-Time Graphing With Graphite

Real-Time Graphing With Graphite
If you're building a web-based app, it's always a good idea to build some instrumentation into your app. That way, you can see how your app is behaving, and how your users are interacting with your app over time. I'm sure everyone who reads my blog is familiar with Google Analytics for tracking page hits. But what about what's happening inside your app? Right now? Do you know? Graphite is one way to graph the stats that you add to your app. Combine it with (say) statsd from Etsy, and adding any stats you...

DZone.com: Practical Google+ Api

DZone.com: Practical Google+ Api
On Dzone.com today Giorgio Sironi has a new post looking at a relatively new release on the social networking scene for developers, the Google+ Api, and some details on how you get get started writing apps using the features it offers.Google+ recently releases to developers the first version of its Api, which focuses on public data about profiles and their activities: status updates, resharings and links. I dived into the Api and wrote a small sample application to get a feel of how easy is to get...

VIE 2.0 is starting to emerge

VIE 2.0 is starting to emerge
VIE is a JavaScript library that makes RDFa-annotated entities on web pages editable. We started the work towards the next major version of it, codenamed Zart (for Mozart) in a Salzburg IKS hackathon couple of weeks ago. Yesterday I merged the Zart codebase into the VIE repository. This blog post describes some of the improvements it brings.VIE now has an instanceFor VIE 1.x users the first visible change (and probably the only necessary API change) is that now VIE needs to be instantiated before being...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Crutch Translate Quick PDO Correios Shipping PHP AJAX Submit Forms Simple Connected Database Bdd my_validator Google Geocode API

Lukas Smith's Blog: My PHP framework winner predictions

Lukas Smith's Blog: My PHP framework winner predictions
Lukas Smith has posted some of his thoughts on who the framework winners are right now and which might pull ahead in the future including Symfony and Zend Framework.I have not been that active on the conference scene in the past few years, but the ones where I did attend I also tried to take a peek at what others are doing. Also this post is kind of exploratory to see what other people think, hopefully without inviting a flame fest upon myself. So with this disclaimer out of the way, I think the big 3...

s/SourceForge/EngineYard

s/SourceForge/EngineYard
Sometimes opportunities come along that you just can't pass up. Such as the case for me these days; I'll be leaving my job as Community Development Manager at SourceForge for a job at Engine Yard as the PHP Community Manager. As you might have heard, Engine Yard recently acquired Orchestra, and as such, is making a splash in the PHP space. (This is awesome on so many levels.) I am extremely lucky to be on Randall Thomas's team (@daksis for those who don't know him), whom I had the great pleasure of...

Davey Shafik's Blog: DateTime Timestamp Parsing

Davey Shafik's Blog: DateTime Timestamp Parsing
In a new post to his blog Davey Shafik looks at parsing dates with DateTime, the new and improved way to handle dates in PHP (well, not so new but definitely improved).As part of a recent project, I was tasked with taking timestamps returned by an API and displaying fuzzy dates in the final output (e.g. 3hrs ago, in 2 weeks, tomorrow). The timestamp format in question looks like: 2012-09-01T16:20:01-05:00 This format can be found in PHP as the DATE_ATOM or DateTime::ATOM constants, which contain the...

Liip Blog: Easily Test PHP 5.4 Beta on OS X with PHP-OSX

Liip Blog: Easily Test PHP 5.4 Beta on OS X with PHP-OSX
Christian Stocker has a quick new post on the Liip blog today about an easy way to test the PHP 5.4 beta on your OS X-based platform with a simple package install and symlink.Since the first beta of the next major release of PHP was released a few days ago, I thought we could provide packages for people who'd like to test it and see if there software is still running. And make adjustments or report bugs, if it doesn't. Complaining after the official stable release was made is usually too late, so testing...

Ralph Schindler's Blog: Autoloading (Revisited)

Ralph Schindler's Blog: Autoloading (Revisited)
Ralph Schindler has a new post to his today looking back at a sort of history of autoloading and some of what we've learned even in just the journey from PHP 5.0 to 5.3 (and has become best practice in the community).It wasn't until years later that certain best practices had emerged and the prolific usage of require_once/include_once throughout large bodies of code had started drying up. Even after autoloading had been adopted by larger more visible projects, a common patten had yet to emerge. [...]...

PHPMaster.com: Introduction to PHP Arrays

PHPMaster.com: Introduction to PHP Arrays
On the PHPMaster.com site today, there's a good introduction to a basic data type in PHP - working with arrays. This tutorial is a low level look at what arrays are and how to work with them (briefly).Tables organize data in such a way that we can easily find correlations or perform straightforward computations. A array is essentially a way to organize data in a table-like manner. The name "array" comes from the same Latin roots as the word "arrangement."If you're anything other than completely new to...

aY Generations sideways

aY Generations sideways
Matthew Baxter-Reynolds on the various toolsets available to mobile developers: The fact is that if your day job involves sitting in Visual Studio writing C# applications, or building Java applications in Eclipse (which will be most of you - albeit not necessarily in Eclipse), when you fire up Apple's Xcode and start building CocoaTouch applications in Objective-C you're going to come face-to-face with a toolset that has not had the sort of love put into it that the open source community has put into...

Community News: Latest PECL Releases for 09.20.2011

Community News: Latest PECL Releases for 09.20.2011
Latest PECL Releases: mongo 1.2.5


Artur Ejsmont's Blog: How to properly secure remote API calls over SSL from PHP code

Artur Ejsmont's Blog: How to properly secure remote API calls over SSL from PHP code
Artur Ejsmont has a new post with a passionate call to arms for anyone who thinks that just because their URL has "https" in it, it's secure. He presents his suggestion on how to properly secure SSL API calls for your PHP application.Lets make something clear from the very start: JUST BECAUSE THERE IS https:// IN THE URL OF THE REMOTE SERVICE IT DOES NOT MEAN THE CONNECTION IS SECURE! I am sorry for the tone of this post but i am enraged by how popular this issue is online. If you ask why i suggest a...

Easily test PHP 5.4 beta on OS X with php-osx

Easily test PHP 5.4 beta on OS X with php-osx
As you may have read on this blog, we (together with local.ch) provide a ready-to-run compiled PHP package for OS X (Snow Leopard and Lion) for easy installation over at php-osx.liip.ch. And since the first beta of the next major release of PHP was released a few days ago, I thought we could provide packages for people who'd like to test it and see if there software is still running. And make adjustments or report bugs, if it doesn't. Complaining after the official stable release was made is usually too...

PHPBuilder.com: Transfer Data via Multiple Protocols with Libcurl

PHPBuilder.com: Transfer Data via Multiple Protocols with Libcurl
On PHPBuilder.com today there's a new tutorial showing how to use libcurl to communicate with multiple protocols like FTP, HTTP, HTTPS, SMTP and STMPS. The libcurl library that can be compiled in or installed as a shared module in your PHP install to provide enhanced networking abilities.As I wrote in my PHP multithreading with cURL article, the libcurl is a free and easy-to-use client-side URL transfer library, supporting DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S,...

PHPMaster.com: PHP is Moving to Git (Eventually)

PHPMaster.com: PHP is Moving to Git (Eventually)
Recently the PHP project announced a move to git as the primary version control system for the language's development. In a new post to SitePoint's PHPMaster.com site, Davey Shafik explains what that means to the average developer and what you can expect of the future.Just over two years since its move from the antiquated CVS to Subversion (SVN), PHP is once again on the move: this time, to Git. Well, eventually. The migration from CVS to SVN was a huge one and took many months. The need for the PHP...

Michaelangelo van Dam' Blog: Pfcongres 2011 wrap up

Michaelangelo van Dam' Blog: Pfcongres 2011 wrap up
Michaelangelo van Dam attended this year's Pfcongres conference [joind.in] and has shared some of his thoughts and reflections about the event in a new post to his blog.This Saturday I started early to go to Pfcongres, a small PHP community conference in Utrecht organized by the Dutch PHP user group PHPFreakz and after about two hours driving I arrived about half an hour in time before the conference started, with me kick starting with my keynote "Community Works", a 199 slide deck explaining what the...

aY Right conclusion, wrong reasons

aY Right conclusion, wrong reasons
ORM is an anti-pattern: The reason I call ORM an anti-pattern is because it matches the two criteria the author of AntiPatterns used to distinguish anti-patterns from mere bad habits, specifically: It initially appears to be beneficial, but in the long term has more bad consequences than good ones An alternative solution exists that is proven and repeatable It is the first characteristic that has led to ORM's maddening (to me) popularity: it seems like a good idea at first, and by the time the...