News Feed
Jobs Feed
Sections



Recent Jobs

News Archive
feed this:

PHPMaster.com:
An Intro to Virtual Proxies, Part 1
April 19, 2012 @ 08:52:44

On PHPMaster.com today there's a new tutorial from Alejandro Gervasio about using virtual proxies in your application - a method in development that provides a layer of abstraction on top of domain objects and makes it more efficient to work with (and lazy load) them.

Often referenced by a few other fancy names, the substitute is generically called a virtual proxy, a sort of stand-in that exploits the neatness of Polymorphism and interacts with the actual domain objects. Proxies aren't new to PHP. Doctrine and Zend Framework 2.x make use of them, although with different aims. On behalf of a didactic cause, however, it would be pretty instructive to implement some custom proxy classes and use them for lazy-loading a few basic aggregates from the database, this way illustrating how virtual proxies do their stuff under the hood.

He starts off by setting up a domain model for a "Post" and "Author" - a typical blog example.Based on the definition of these classes, he creates a mapper class to generate Author objects and an "AuthorProxy" class that uses a "loadAuthor" method to only load in the author's details when a property is requested. He gives a bit more code showing it in action and the difference between using the normal Author and AuthorProxy class.

0 comments voice your opinion now!
virtual proxy tutorial blog author post interface



PHPBuilder.com:
The ABC's of PHP Introduction to PHP
February 27, 2009 @ 09:31:10

PHPBuilder.com is starting off a new series today that, if you're new to the PHP language, aims to teach you everything you might need to know to get up to speed. Today they've posted the first article in the series, an introduction to the author (Peter Shaw) and a mention of what PHP can do for you.

In this 10 part series, I'm going to take you through the basics of PHP and hopefully give you a taste of what such a versatile language can do. I am not, however, going to preach that PHP is the greatest thing since sliced bread. I'll let you decide that for yourself!

He introduces himself first, talking about some of his past experience with PHP and other various languages. He then goes on to talk about where PHP came from, a high-level look at how it works in both the web and command-line environments.

0 comments voice your opinion now!
abc introduction language what who author petershaw


PHPFreaks.com:
Writing for PHP Freaks
October 08, 2008 @ 07:51:58

If you're looking for a way to give back to the PHP community, there's plenty of ways - one of which could be writing for PHPFreaks.com.

We have decided to give people the chance to write tutorials and blog posts for PHP Freaks. [...] You'll be writing about things that are of general interest to PHP developers and you will be writing tutorials for people who are learning about PHP at any level (i.e. from beginner tutorials to advanced topics). We would rather have tutorials that teach programming/coding concepts or theory than specific things, such as a blog.

You'll need to request membership and join the "Authors" group to get started. Check out their list of other criteria you'll need to match too.

0 comments voice your opinion now!
phpfreaks write blog author article tutorials membership


Inside Open Source:
Matt Westgate on Drupal Theming
August 28, 2007 @ 07:55:00

On the Inside Open Source blog today, Jason Gilmore mentions an upcoming event the Drupal-ers out there might want to check out:

Co-author of Pro Drupal Development Matt Westgate will be giving a live webinar on how to customize Drupal themes. The webinar is slated for September 9 at 7pm GMT, so mark your calendars!

You can find out more information about the webinar on the Groups.Drupal website.

0 comments voice your opinion now!
drupal theming cms mattwestgate author webinar live drupal theming cms mattwestgate author webinar live


Rob Allen's Blog:
PHP UK Conference 2007
February 26, 2007 @ 09:04:00

Those that didn't get a chance to check out this year's PHP UK Conference can get a little taste of what it was like from Rob Allen's perspective in his latest blog post today.

Included in the happenings he mentions were the talk that Cal Evans of the Zend Developer Zone gave on mashups, Kevin Henney's look at Object Orientation, and Rasmus Lerdorf's look at PHP5 performance/security. He also mentions meeting up with Dagfinn Reiersol (author of PHP in Action) to "talk shop" a bit about writing books.

You can check out all of the details about the conference that was over on their website including summaries of the talks that were given during this jam-packed one day event.

0 comments voice your opinion now!
ukphpcon2007 lookback talks meet book phpinaction author ukphpcon2007 lookback talks meet book phpinaction author


Zend Developer Zone:
Davey Shafik and Ben Ramsey on the Zend Certification Exam Study Guide
October 09, 2006 @ 14:56:00

On the Zend Developer Zone today, there's an interview with the co-authors of the recently released book from php|architect, the Zend Certification Study Guide.

The new Zend Certification Study Guide is out and the initial reviews look good. Since this was a topic of interest to me (mainly because I've yet to take the test) I decided to dig a little deeper. I fired up my recorder and called Davey Shafik and Ben Ramsey, the authors of the new guide, to talk to them. Here to give you a little of the back story is our conversation.

They talk about:

  • the release of the book
  • some of the contents of the chapters (including the sample chapter on security)
  • Davey's experience with the exam/Ben's use of his PHP4 certification in his work
  • and the practice tests that php|architect is offering to get developers prepared.

0 comments voice your opinion now!
interview zend certification php5 study guide author contents experience interview zend certification php5 study guide author contents experience



Community Events





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


injection release zendframework2 zendframework symfony2 introduction development database interview podcast framework unittest testing opinion language community conference application voicesoftheelephpant phpunit

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