News Feed
Jobs Feed
Sections



Recent Jobs

News Archive
Cloud Out Loud Podcast:
Interview with Ed Finkler
February 10, 2012 @ 13:59:07

In the latest episode of the "Cloud Out Loud" podcast, Elizabeth Naramore interviews Ed Finkler, most recently known for his MicroPHP Manifesto.

Our own Elizabeth Naramore interviews Ed Finkler, author of the MicroPHP Manifesto.
  • The MicroPHP Manifesto
  • What was the inspiration for it?
  • Let's talk about the controversy around it - where do you think that came from?
  • What do you think the impact of the Manifesto has made on the community? Do you think it's given cause to people to rethink their own assumptions?

To listen you can either download the episode (mp3 or ogg) or subscribe to their feed via RSS or iTunes.

0 comments voice your opinion now!
cloudoutloud podcast edfinkler interview microphp manifesto



Reddit.com:
What non-PHP stuff should a PHP developer know?
February 10, 2012 @ 09:27:02

On Reddit.com there's a good discussion going on to answer the question "What non-PHP stuff should a PHP developer know?"

I was looking at job description for a web developer, and one of the big responsibilities was database maintenance. [...] And along those lines, what other skills would be useful for a PHP developer to have that aren't directly PHP-based?

Suggestions so far include things like:

  • Linux command-line skills
  • some Python
  • Virtualization (making and administering VMs)
  • Version control systems (svn or git)
  • Database architecture
  • HTML/CSS/Javascript
0 comments voice your opinion now!
nonphp knowledge opinion topics learn


Community News:
The Changelog Podcast
February 10, 2012 @ 08:50:41

If you're a fan of open source development and can't get enough about projects and what's the latest in the online OS community as a whole, you'll definitely enjoy The Changelog (it's a weekly podcast and news site).

The podcast hosts talk about popular trends and technology in the open source world and interview developers behind some of the useful tools you may use every day. Recent topics include Vagrant with Mitchell Hashimoto, Spine and client-side MVC with Alex MacCaw and Foundation and other Zurb goodies.

They've also spotlighted several interesting new libraries including:

0 comments voice your opinion now!
changelog podcast opensource news community library



Leaseweb Labs Blog:
Migration to Symfony2 continued
February 09, 2012 @ 11:51:59

On the LeaseWeb Labs blog there's a continuation from a previous post about migrating your Symfony1 application over to Symfony2. In the first part of this series of posts, Stefan Koopmanschap talked about wrapping your code to make it work. In this second post, Maurtis van der Schee tackles two issues Stefan mentioned - performance problems and handling authorization/authentication.

On December 21, 2011 Stefan Koopmanschap wrote an excellent article on this blog titled "Painless (well, less painful) migration to Symfony2." [...] We were very much inspired by his passionate elucidation and we were fully convinced of the urge to start migrating to Symfony2 as soon as possible. However, he also provided us with a "A word of caution" about 2 things: performance and authentication/authorization. This might get some people worried, but not us: it challenged us to find a solution for those two open issues.

They explain why these two things are a problem and some of their solutions they've created - a .htaccess for routing and manually replicating the Symfony2 session in the Symfony1 code. Included in the post are the rewrite rules and code to make these two things happen (and a small configuration change to make them work).

0 comments voice your opinion now!
symfony2 migration wrapper authentication performance authorization


SitePoint.com:
How to Create Your Own Random Number Generator in PHP
February 09, 2012 @ 10:03:35

On SitePoint.com today there's a new tutorial showing how to create a random number generator in PHP (with the help of methods like mt_rand and mt_srand).

Computers cannot generate random numbers. A machine which works in ones and zeros is unable to magically invent its own stream of random data. However, computers can implement mathematical algorithms which produce pseudo-random numbers. They look like random numbers. They feel like random distributions. But they're fake; the same sequence of digits is generated if you run the algorithm twice.

Included in the post is code showing how to use the random functions and how to create a class (Random) that provides a few methods to help make generation easier - "seed" and "num". It first calls "seed" with a number to start the random generator off with and then "num" in a loop to pull out random values based on that.

0 comments voice your opinion now!
random number generator tutorial introduction mtrand


Refulz.com:
The __toString() Method - Objects as Strings
February 09, 2012 @ 09:27:19

On the Refulz.com blog there's a recent post introducing the __toString() magic method in PHP. This handy method allows you to define how to return an object when it's referenced as a string.

We started the study of PHP magic methods by learning about __get() magic method. [...] PHP is loosely typed language and same variable can be used or referred as string, number or object. The __toString() method is called when the code attempts to treat an object like a string. This function does not accept any arguments and should return a string.

Some quick code is included showing how it works - returning a combined string made from two private class properties when the object ($obj) is echoed out. They also show multiple ways of using the method in both pre- and post-PHP 5.2.

0 comments voice your opinion now!
tostring magic method object string


PHPMaster.com:
Using Traits in PHP 5.4
February 09, 2012 @ 08:40:50

On PHPMaster.com today there's a new tutorial about using a feature in the upcoming PHP release (5.4) to make it easier to work with more modular code - using traits.

In this article I will discuss traits, a new feature introduced in PHP 5.4 to overcome [issues where multiple inheritance is needed]. The concept of traits itself is nothing new to programming and is used in other languages like Scala and Perl. They allows us to horizontally reuse code across independent classes in different class hierarchies.

Included in the post is example code showing what the use of a trait looks like and a method for creating a Singleton that can spawn instances of two classes. Also included are examples of:

  • using multiple traits at once,
  • traits made up of traits,
  • the importance of order,
  • aliasing to avoid conflicts,
  • reflection
  • and a few other features that come along with their use.
0 comments voice your opinion now!
traits tutorial introduction feature multiple inheritance



Ibuildings techPortal:
DPC Radio Implementing OAuth
February 08, 2012 @ 14:20:29

On the Ibuildings techPortal today they've posted the latest in their DPC Radio series of podcasts as recorded at last year's Dutch PHP Conference. In this new episode they share Lorna Mitchell's talk "Implementing OAuth".

With Twitter moving its API to OAuth the idea of using tokens rather than passwords for authentication went mainstream. Many explanations of OAuth make it seem complicated whereas in reality the "OAuth Dance" is a series of simple steps executed in sequence. This talk covers consuming and providing OAuth services, includes implementation examples, and is recommended for all technical leads, architects, and integration specialists.

You can listen to this latest episode either via the in-page player or by downloading the mp3. You can follow along with the presentation in her slides.

0 comments voice your opinion now!
oauth dpcradio podcast dpc11 conference session lornamitchell



Community Events





Don't see your event here?
Let us know!


test development community database introduction language custom phpunit symfony2 release series api interview component conference framework application unittest podcast opinion

All content copyright, 2012 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework