2012年12月10日星期一
Community News: Packagist Latest Releases for 12.10.2012
- guzzle/guzzle (v3.0.6)
- zumba/symbiosis (v1.1.5)
- vojtech-dobes/nette-forms-inputlist (1.0.0)
- pascalc/tinyl10n (0.6)
- symfony-cmf/routing-extra-bundle (1.0.0-alpha2)
- symfony-cmf/routing (1.0.0-alpha3)
- ladela/personal-translations-widget-bundle (v0.2.2, v0.2.1, v0.2)
- manymules/marionettejs-bundle (1.0.0-rc1)
- cloudlib/Cloudlib (0.3.0)
- cloudlib/core (0.3.0)
- slim/sessions (0.1.0)
- netpositive/discriminatormap-bundle (v2.0.1)
PHPMaster.com: Inversion of Control - The Hollywood Principle
In this new tutorial on PHPMaster.com, Alejandro Gervasio looks at the Inversion of Control methodology and how it's more than just an abstract reference to dependency injection.
Traditionally, application components have been designed to operate on and control the execution environment, an approach that delivers well to some extent. [...] Instead of making the module completely responsible for logging data to multiple endpoints, we can transfer the responsibility straight to the external environment. [...] Not surprisingly, the process of inverting these responsibilities between components and the environment is formally known as Inversion of Control (or in a more relaxed jargon, The Hollywood Principle), and its implementation can be a real boost when it comes to developing extensible, highly-decoupled program modules.
He uses a set of domain objects (Posts and Comments in a typical blog structure) and the Observer pattern to show how mixed up things might get if the application isn't carefully coded. He takes this and updates it to include a "comment notification service" that implements the SplObserver and is attached to the post to be executed on an event (in this case, the setting of a new comment).
PHPClasses.org: Lately in PHP, Episode 30 - Will PHP 6 feature a JIT compiler?
On the PHPClasses.org site they've posted the latest episode of their "Lately in PHP" podcast series - Episode #30, "Will PHP6 Feature a JIT compiler?"
Now that Facebook made some progress with their PHP HipHop VM JIT compiler engine, some PHP core developers are considering having also a JIT compiler implementation of the official implementation based on LLVM, eventually in PHP 6. [...] They also commented on the first alpha release of PHP 5.5.0, proposals for having pure interfaces in the PHP core, the Facebook PHP JIT compiler enhancements, and the new system of levels and missions of the PHPClasses and JSClasses sites.
You can listen to this latest episode either through their in-page player, by downloading the mp3 or by subscribing to their feed. You can also watch the video of the recording as well.
2012年12月9日星期日
Community News: Packagist Latest Releases for 12.09.2012
- robmorgan/phinx (v0.1.6)
- lstrojny/fxmlrpc (0.3)
- tala/tala-payments-authorizenet (v0.1.0)
- dhorrigan/db-wrapper (1.0.0)
- lankit/jquery-bundle (v1.8)
- tala/tala-payments-core (v0.1.0)
- christiaan/emailfeed (0.1)
- djordje/li3_recaptcha (v1.0.0)
- matthimatiker/molcomponents (1.4.3)
- 3rdpartyeve/phealng (0.2.3, 0.2.2, 0.2.1, 0.2.0)
- christeredvartsen/php-bittorrent (0.3.0)
- sweikenb/php-library (1.0.0)
- foolz/sphinxql-query-builder (0.8.6)
- clio/clio (0.1.4)
2012年12月8日星期六
Community News: Packagist Latest Releases for 12.08.2012
- axelitus/acre-net-http (v0.5.0)
- pocketrent/silverstripe-twitter (1.1, 2.0)
- granula/twig (v1.0.2, v1.0.1)
- granula/config (v1.1.3, v1.1.2, v1.1.1, v1.1, v1.0)
- bcen/yauc (0.0.5)
- isidromerayo/simple_php_skeleton (v0.9)
- granula/app (v1.0)
- granula/controller (v1.0)
- granula/granula (v1.0)
- sybio/image-workshop (2.0.0)
- granula/router (v1.0)
- liuggio/statsd-client-bundle (v1.2.3)
- pascalc/php-properties (1.0)
- alcaeus/liquibase (1.0.0)
- phpmo/phpmo (v0.1)
- devster/ubench (1.1.1, 1.1.0)
- us/libopensso (1.0.6)
- backend/base (0.2.2)
- backend/core (0.5.5, 0.5.4)
- rickysu/cacheable-behavior-bundle (v1.0.1)
2012年12月7日星期五
Site News: Popular Posts for the Week of 12.07.2012
- Phil Sturgeon: Why some people hate PHP
- Paul Jones: Aura: First 1.0.0 Stable Library Releases!
- Community News: PHPKnowHow.com - PHP in Plain English
- Community News: Packagist Latest Releases for 12.01.2012
- Community News: Packagist Latest Releases for 12.02.2012
- Richard Rodger: Why I Have Given Up on Coding Standards
- Scott Mattocks: C is for Configurable
- Site News: Popular Posts for the Week of 11.30.2012
- Community News: Packagist Latest Releases for 11.30.2012
- Sherif Ramadan: PHP OOP: Objects Under The Hood