PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 3681 to 3700 of 6889

PHP development on Mac - my experience

PHP development on Mac - my experience
A while ago I saw a lot of people writing about their PHP development environment and tools. I didn't get around to it at the time but yesterday I found me some time to write down my experiences of moving from Linux to MacOS X as primary OS for PHP Aand web development Me and my partner in Dotvoid, a small web development and integration company, have used linux as a client OS for more than a decade. All the tools I needed for developing are there already; emacs, apache, php, MySQL, xdebug, other...

Community News: Latest PEAR Releases for 07.04.2011

Community News: Latest PEAR Releases for 07.04.2011
Latest PEAR Releases: pearweb_pepr 1.0.5 XML_RPC2 1.1.0 XML_RPC2 1.1.1 Mail_Queue 1.2.7 Net_DNS2 1.1.3 HTML_QuickForm_Renderer_Tableless 0.6.2

Testing PHP 5.4

Testing PHP 5.4
Rasmus Lerdorf today posted instructions for testing the upcoming PHP 5.4 release. Running the PHP tests and submitting the associated report will help the PHP team get PHP 5.4 ready faster as it gives them reports of failed tests from a variety of platforms. I just did this today for the first time and can tell you that it is very easy. Following are the steps that Rasmus outlined, in a bit more detail. First, make sure that you have subversion, autoconf, automake, gcc, bison, flex, and re2c installed....

Mike Purcell's Blog: Symfony - PHP - Possibly Forking 1.x so Invested Companies don't Lose Millions

Mike Purcell's Blog: Symfony - PHP - Possibly Forking 1.x so Invested Companies don't Lose Millions
Mike Purcell has a recent post to his blog looking at the rumors of a Symfony 1.x fork and some of his own thoughts on the matter.It's amazing that we are even having this type of discussion. We opted to use Symfony back in 0.x for some high traffic projects. [...] And now here we are on 1.4. Content and happy with the throughput the dev team is able to maintain. But now Symonfy says that 2.0 will be released and is completely different than 1.x? How is that fair to the companies, individuals, and...

Ibuildings techPortal: DPC11: Distributed Systems Tutorial

Ibuildings techPortal: DPC11: Distributed Systems Tutorial
In a new post to the Ibuildings techPortal today, Patrick van der Velden shares some of his thoughts about one of the presentations given at this year's Dutch PHP Conference - Think like an ant, distribute the workload.[Helgi's] presentation started off explaining to us why distributing can be a good thing by pointing out three significant aspects: budget, efficiency and perception. Budget-wise, for a distributed application there is no need to invest in a big, expensive and hard to maintain server that...

Chris Shiflett's Blog: Sorting Multi-Dimensional Arrays in PHP

Chris Shiflett's Blog: Sorting Multi-Dimensional Arrays in PHP
In a sort of "remind himself later" kind of post, Chris Shiflett has shared a quick example of a common task PHP developers face sorting a multi-dimensional array.Every time I need to sort a multi-dimensional array in PHP, I have to remind myself how to do it. It's not quite as quick and easy to look up as most things, so I'm going to blog a quick example. I've always felt like there must be a better way to do this, so please let me know if there is, and I'll update this post accordingly.His method sorts...

Do you want DIC with that Controller?

Do you want DIC with that Controller?
At Liip "Symfony2" started in production a year earlier. Well I say "Symfony2" because it was just our internal framework OkAPI enhanced with the current crop of at the time PHP 5.2 Symfony components (actually we also included the symfony 1.x routing component). The results were so convincing that we decided to switch to Symfony2 entirely. The big feature back then and today is of course dependency injection (DI) and the dependency injection container (DIC). I remember many discussion with Jordi back...

Elated.com: Object-Oriented PHP: Autoloading, Serializing, and Querying Objects

Elated.com: Object-Oriented PHP: Autoloading, Serializing, and Querying Objects
On Elated.com today there's the fourth part of their series looking at object oriented programming in PHP. This time the focus is specifically on autoloading classes, making objects into strings (serialized) and introspection.If you've read all the articles up to this point then you're already familiar with the most important concepts of object-oriented programming in PHP: classes, objects, properties, methods, and inheritance. In this final (for now, at least!) tutorial in the series, I'm going to tie...

Site News: Popular Posts for the Week of 07.01.2011

Site News: Popular Posts for the Week of 07.01.2011
Popular posts from PHPDeveloper.org for the past week:Techie Talks Blog: Building Secured Web Applications Using PHP - The Basics Anthony Ferrara's Blog: In Response To: Building Secured Web Applications Using PHP - The Basics PHP.net: PHP Documentation Update Kevin Schroeder's Blog: Deployment beta for Zend Server 5.5 - Getting Started Bastien Labelle's Blog: Why PHP is So Much Better than Ruby PHPBuilder.com: Beyond the PHP Shopping Cart: Five PHP-based Ecommerce Solutions RubySource.com: Confessions...

OSCON 2011

OSCON 2011
This year I'll attend OSCON for the first time. I'll give two talks: PHP and MySQL - Recent DevelopmentsPHP's MySQL support recently received many changes under the hood. PHP 5.3 introduced mysqlnd - the MySQL native driver which is a replacement for libmysql deeply bound into PHP. In this presentation you will learn what the PHP and MySQL development teams were up to. After starting with an introduction of the PHP-stack, demystifying things like mysqli, mysqlnd or PDO, this presentation will show you...

Sorting Multi-Dimensional Arrays in PHP

Sorting Multi-Dimensional Arrays in PHP
Every time I need to sort a multi-dimensional array in PHP, I have to remind myself how to do it. It's not quite as quick and easy to look up as most things, so I'm going to blog a quick example. I've always felt like there must be a better way to do this, so please let me know if there is, and I'll update this post accordingly. Here's a simple array of users: A $users = array(); A $users[] = array('username' = 'shiflett', 'name' = 'Chris Shiflett'); $users[] = array('username' = 'dotjay', 'name' = 'Jon...

Lorna Mitchell's Blog: phpMyAdmin Designer View

Lorna Mitchell's Blog: phpMyAdmin Designer View
Lorna Mitchell has a new post today spotlighting a handy feature of the phpMyAdmin tool - the visual designer view. It allows you to build (and see) the relationships between your MySQL-based application's elements.I'm happier at the command line, but needed some graphical representation of information and easy ways to export example queries for the book I'm working on. I noticed that phpMyAdmin now has a Designer tab, which shows relationships between tables and allows you to define them.She includes...

PHPClasses.org: Lately in PHP podcast episode 13 - Dedicated PHP in Cloud Solution with PHPFog

PHPClasses.org: Lately in PHP podcast episode 13 - Dedicated PHP in Cloud Solution with PHPFog
PHPClasses.org has posted the latest episode of their "Lately In PHP" podcast series, a look at the cloud hosting PHPFog now offers including an interview with Lucas Carlson, CEO of PHPFog.On the Lately in PHP podcast episode 13, Manuel Lemos and Ernani Joppert interview Lucas Carlson, founder and CEO of PHPFog, to tell us about the advantages of using a Cloud Hosting service that is optimized to address needs that are specific to PHP Web sites and applications. They also comment on the PHP 5.3.6 forked...

Speaking at ZendCon 2011

Speaking at ZendCon 2011
I'm happy to say that I will be speaking at this year's ZendCon-the Zend PHP Conference for Developers. I'll be presenting a tutorial on Learning CouchDB during the first day of the conference. From the session's description: CouchDB is a document-oriented database that uses JSON documents, has a RESTful HTTP API, and is queried using map/reduce views. Each of these properties alone, especially MapReduce views, may seem foreign to developers more familiar with relational databases. This tutorial will...

Philip Norton's Blog: Netscape HTTP Cooke File Parser In PHP

Philip Norton's Blog: Netscape HTTP Cooke File Parser In PHP
Philip Norton has shared a script he's created in a new post today that lets you read from a Netscape-formatted cookie file (as outputted from a curl request).This file is generated by PHP when it runs CURL (with the appropriate options enabled) and can be used in subsequent CURL calls. This file can be read to see what cookies where created after CURL has finished running. As an example, this is the sort of file that might be created during a typical CURL call.The file is structured, plain-text content...

DevShed: Violating the Liskov Substitution Principle - PHP

DevShed: Violating the Liskov Substitution Principle - PHP
On DevShed today there's a new tutorial posted talking about the Liskov Substitution Principle (part of the SOLID set of principles) and how to use it in a practical example using some object-oriented PHP.However, not all is bad with Inheritance. When used properly it can be a great ally. The question that comes to mind is: how can you keep away from building derivatives that behave totally different from the chosen abstraction(s)? Here's exactly where the Liskov Substitution Principle (LSP) comes into...

Site News: Blast from the Past - One Year Ago in PHP

Site News: Blast from the Past - One Year Ago in PHP
Here's what was popular in the PHP community one year ago today:Fawad Hassan's Blog: CRUD using jQuery and Codeigniter (Part 2) Mark Karpeles' Blog: PHP can do anything, what about some ssh? Developer.com: PHP Development Tools Improve in Eclipse Helios Update Ole Markus' Blog: Gentoo Linux and PHP-FPM Codrops Blog: Fresh Sliding Thumbnails Gallery with jQuery and PHP Richard Thomas' Blog: Solar Framework manual is coming along Eric Adams' Blog: Implementing the Observer Pattern with SplObserver and...

Dedicated PHP in Cloud Solution with PHPFog - Lately in PHP podcast episode 13

Dedicated PHP in Cloud Solution with PHPFog - Lately in PHP podcast episode 13
Dedicated PHP in Cloud Solution with PHPFog - Lately in PHP podcast episode 13 By Manuel Lemos PHPFog is one of the first Cloud Hosting solutions dedicated specifically to PHP. On the Lately in PHP podcast episode 13, Manuel Lemos and Ernani Joppert interview Lucas Carlson, founder and CEO of PHPFog, to tell us about the advantages of using a Cloud Hosting service that is optimized to address needs that are specific to PHP Web sites and applications. They also comment on the PHP 5.3.6 forked version...

PHPMyAdmin Designer View

PHPMyAdmin Designer View
This week I've been using phpMyAdmin for what feels like the first time in years. I'm happier at the command line, but needed some graphical representation of information and easy ways to export example queries for the book I'm working on. I noticed that phpMyAdmin now has a Designer tab, which shows relationships between tables and allows you to define them. If your table types don't support foreign keys, you can still draw links in here, and phpMyAdmin will show the id fields as links to the data...

Design Patterns of Drupal

Design Patterns of Drupal
My article from the inaugural issue of Drupal Watchdog is now online. Design Patterns of Drupal is based on my original session from DrupalCon Paris. Although Drupal-centric, it serves as a great introduction to the concept of design patterns in general. If you're going to be at DrupalCon London, watch for Watchdog issue #2 in your swag bag! It looks like I may have as many as three articles in it, discussing mobile web design, Drupal 7's improved node access system, and how to approach the "Drupal...

Latest PHP Tweets