- Michelangelo van Dam: UA Testing with Selenium and PHPUnit
- Community News: Latest PEAR Releases for 05.27.2013
- 7PHP.com: How To Start A PHP User Group - Hear It From Craig Willis Founder Of LeedsPHP Usergroup
- Adam Culp: PHP usage statistics
- Community News: Packagist Latest Releases for 05.25.2013
- Codeception.com: Headless Browser Testing with Selenium2 and PhantomJS
- PHP.net: PHP 5.5.0RC2 is available
- Brandon Savage: Queuing with RabbitMQ and PHP
- Community News: Latest Releases from PHPClasses.org
- Kore Nordmann: PHP project room at FrOSCon 2013
2013年5月31日星期五
Site News: Popular Posts for the Week of 05.31.2013
Community News: Packagist Latest Releases for 05.31.2013
- skyzyx/adobe-swatch-exchange (2.1)
Generates ASE swatch files for use with Adobe products. - fusic/filebinder (2.3.5)
Simple file attachment plugin for CakePHP - f21/paradox (1.3.1)
Paradox is an elegant Object Document Mananger (ODM) to use with the ArangoDB Document/Graph database server. - neoxia/laravel-openssl-encryption (1.0)
Laravel 4 encryption package that uses the PHP openssl extension - 3rdpartyeve/phealng (0.2.7)
PHP Eve Api Library, a simple PHP lib to access the EVE Online API - pheal/pheal (0.1.9)
PHP Eve Api Library, a simple PHP lib to access the EVE Online API - king23/project_template (0.1.4)
the King23 Framework // project template - king23/king23 (0.1.4, 0.1.3)
the King23 Framework - bjyoungblood/bjy-authorize (1.3.0)
ZendAcl based firewall system for ZF2 dispatch protection - bjyoungblood/BjyAuthorize (1.3.0)
ZendAcl based firewall system for ZF2 dispatch protection - onemightyroar/php-filemanager (0.1.2)
Object Oriented File Management - parasys/log-reader (v1.0.3, v1.0.2, v1.0.1)
Reads the Symfony projects log files. - bzick/cytro (1.0.1, 1.0)
Cytro - fast template engine for PHP - barryvdh/laravel-ide-helper (v1.1.2, v1.1.1, v1.0.4, v1.1.0, v1.0.3, v1.0.2)
Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion. - bit3/contao-merger2 (2.3.1)
Module merger V2 for Contao OpenSource CMS - blake-gardner/mac-address (2.1.3)
Get, validate and generate MAC addresses. - mardy-dev/hmac (v0.1.0)
A keyed-Hash Message Authentication Code (HMAC). Used for application to application authentication. Uses headers to send - mardy-git/hmac (v0.1.0)
A keyed-Hash Message Authentication Code (HMAC). Used for application to application authentication. - aws/aws-sdk-php (2.3.4)
AWS SDK for PHP - smirik/propel-admin-bundle (v0.9-beta1)
Powerful propel admin generator. - lamina/formbundle (1.2-RC1)
Forms management for Symfony 2 - zeptech/opal (1.0.2)
Companion object generation - happydemon/arr (0.1)
A Kohana module that adds extra methods for dealing with arrays and configuration files - orno/di (1.2.2, v1.2.2)
Orno Di is a small but powerful dependency injection container with automatic resolution of dependencies. - adfab/user (0.1.1, 0.1.0)
Module managing user - netglue/zf2-ssl-module (0.1.1)
ZF2 Module that helps enforce the use of an SSL connection for HTTP requests - netglue/zf2-admin (0.1.0)
ZF2 Module providing Basics for aggregating admin utils - paypal/rest-api-sdk-php (v0.7.0)
PayPal's PHP SDK for REST APIs - mthenw/nosqlite (v0.2.2)
Simple key => value store based on SQLite3 - polycademy/polyauth (1.0)
Authentication & Authorisation Library - dakota/cakephp_less (v2.0.2, v2.0.1, v2.0.0)
CakePHP plugin that converts your .less files to .css using only PHP - piwik/piwik (1.12)
Open Source Real Time Web Analytics Platform - m6web/firewall-bundle (0.1.2)
Bundle providing IP filtering features for controllers and actions - uam/postmark-swiftmailer-bundle (0.2.3, 0.2.2)
Symfony bundle to provide a Postmark SwiftMailer service - uam/aws-bundle (0.2.1)
Symfony bundle to provide a wrapper service around AWS S3 - orno/http (v1.0.0)
A wrapper for SymfonyHttpFoundation with a few extra features. - rakuten-ws/rws-php-sdk (1.0.4)
The SDK of Rakuten Web Service - guzzle/service (v3.6.0)
Guzzle service component for abstracting RESTful web services - guzzle/stream (v3.6.0)
Guzzle stream wrapper component - guzzle/plugin-md5 (v3.6.0)
Guzzle MD5 plugins - guzzle/plugin-mock (v3.6.0)
Guzzle Mock plugin - guzzle/plugin-cache (v3.6.0)
Guzzle HTTP cache plugin - guzzle/plugin (v3.6.0)
Guzzle plugin component containing all Guzzle HTTP plugins - guzzle/plugin-cookie (v3.6.0)
Guzzle cookie plugin - guzzle/plugin-curlauth (v3.6.0)
Guzzle cURL authorization plugin - guzzle/plugin-error-response (v3.6.0)
Guzzle errorResponse plugin for creating error exceptions based on a service description - guzzle/plugin-history (v3.6.0)
Guzzle history plugin - guzzle/plugin-log (v3.6.0)
Guzzle log plugin for over the wire logging - guzzle/guzzle (v3.6.0)
Guzzle is a PHP HTTP client library and framework for building RESTful web service clients - guzzle/batch (v3.6.0)
Guzzle batch component for batching requests, commands, or custom transfers - guzzle/cache (v3.6.0)
Guzzle cache adapter component - guzzle/http (v3.6.0)
HTTP libraries used by Guzzle - guzzle/inflection (v3.6.0)
Guzzle inflection component - guzzle/iterator (v3.6.0)
Provides helpful iterators and iterator decorators - guzzle/log (v3.6.0)
Guzzle log adapter component - guzzle/plugin-async (v3.6.0)
Guzzle async request plugin - guzzle/plugin-backoff (v3.6.0)
Guzzle backoff retry plugins - chuyskywalker/rolling-curl (2.0.1, 2.0.0)
Rolling-Curl: A non-blocking, non-dos multi-curl library for PHP - simplon/helper (0.6.2)
General helpers which come-in helpful.
Brandon Savage: Consuming RabbitMQ messages with PHP
Brandon Savage continues his look at using RabbitMQ and PHP together to queue up requests today in this latest post. In this new part of the series, he focuses on the last piece of the puzzle - consuming the requests in the queue. (Parts one and two)
Once you've created a RabbitMQ producer, it's fairly easy to create a consumer. In fact, the only difference is in exactly what commands you're using. The connection, envelope, channel and queue declarations are the same. While in RabbitMQ you publish to the exchange, you actually do consume a specific queue. As a result, the commands for consuming are part of the AMQPQueue class.
He shows you how to set up the code to sit in the background and wait for a queue request and how to fetch them in a non-blocking way. He finishes off the post with a look at handling success and error conditions (based on the status of message consumption, not the result of the processing).
Link: http://www.brandonsavage.net/consuming-rabbitmq-messages-with-php
Community News: Laravel 4 Stable Released
The long-awaited versino 4 of the Laravel Framework has finally been released (and the site has gotten a facelift as well):
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
Laravel aims to make the development process a pleasing one for the developer without sacrificing application functionality. Happy developers make the best code.
You can find lots of information about the framework and its functionality on the main project site including a forums area with lots of discussion around not only v4 but still v3 for those using it. You can also find some good discussion about the release itself in this thread over on Reddit.
Link: http://laravel.com/four
Rasmus Larsson: Building a template engine in PHP
Rasmus Larsson has a recent post to his site showing how to build a basic templating engine in PHP that uses the "__toString" to help render the result.
Possibly the most common sign of bad code is tight coupling, especially between logic and presentation. It might seem like a good idea to print out the HTML while the data is being generated, but it more often than not leads to a big incoherent mess of tangled code. [...] While PHP makes it unnecessarily easy to write shitty code it also provides a lot of ways to avoid it. I'll use this post to show you how ridiculously easy it is to create a template engine in PHP in three easy steps.
He includes the sample code for a "Template" class and shows the combination of exporting variables and output buffering to return the resulting template populated with values. The "__toString" method makes it so that you can just echo out the object and get the results.
Link: http://www.rasmuslarsson.se/2013/05/a-template-engine-in-php
2013年5月30日星期四
Site News: Blast from the Past - One Year Ago in PHP
- Gary Hockin's Blog: Zend Framework 2 and a Restful Application
- Jason Hinkle's Blog: Build a Backbone.js Application with PHP
- PHP-A-Day Blog: Commentary: Why Do People Hate PHP?
- Rob Allen's Blog: Zend Framework 2 beta 4 released
- PHPMaster.com: Input Validation Using Filter Functions
- PHP Tip-a-Day: PHP Tutorial: Convoluted Code - Combining Ternary Operators and Anonymous Functions
- Phil Sturgeon's Blog: CodeIgniter Conference 2012 SF
- VG Tech Blog: Lazy Loading Resources with Zend Framework Bootstrap
- Chris Hartjes' Blog: Tricorder: A Testing Helper for PHP
- Project: Codeception Introduces ZombieJs and Selenium2 Support
- Brian Moon's Blog: PHP Coding Standards
- WebSpeaks.in: Search Google Plus Profiles using PHP and Google Plus API
- Smashing Magazine: Replicating MySQL AES Encryption Methods With PHP
- Kevin Schroeder's Blog: 10 reasons to use PHP
- Reddit.com: Symfony2... to Twig or not to Twig...
Community News: Packagist Latest Releases for 05.30.2013
- uam/postmark-swiftmailer-bundle (0.2.1, 0.1.2, 0.1.1)
Symfony bundle to provide a Postmark SwiftMailer service - mjohnson/admin (0.20.0, 0.19.0, 0.18.0)
A CakePHP admin plugin. - aoyagikouhei/pg (0.0.5)
PHP Class for PostgreSQL - onemightyroar/php-filemanager (0.1.1, 0.1.0)
Object Oriented File Management - desarrolla2/rss-client-bundle (v2.0.2)
This Bundle provides a way to get rss feeds friendly. - mjohnson/uploader (4.1.1)
File uploader and validation plugin for CakePHP. - desarrolla2/rss-client (v2.0.5)
A simple to use RSS client library. - mjohnson/transit (1.2.1)
A file uploader, validator, importer and transformer library. - parasys/log-reader (v1.0.0)
Reads the Symfony projects log files. - liip/imagine-bundle (v0.10.1)
This Bundle assists in imagine manipulation using the imagine library - netglue/zf2-route-layout-module (0.1.0)
Simple ZF2 Module that switches layouts based on arrays of layout names and route names - rackem/rackem (0.4)
Rack for PHP - dominionenterprises/dws-coding-standard (v1.1.2)
DWS Coding standard - bitgandtter/bituser-bundle (0.1.1)
Symfony BIT UserBundle - geoip2/geoip2 (v0.2.0)
MaxMind GeoIP2 PHP API - mobiledetect/mobiledetectlib (2.6.1)
Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment. - m6web/firewall-bundle (0.1.1)
Bundle providing IP filtering features for controllers and actions - intervention/validation (1.0.1)
Additional Validator Functions for the Laravel 4 Framework - intervention/httpauth (1.0.1)
HTTP authentication made to work with Laravel 4 - intervention/helper (1.0.2)
Easier handling and formating of strings and dates - intervention/imagecache (0.5.3)
Caching extension for the Intervention Image Class - barryvdh/laravel-vendor-cleanup (v1.0.1, v1.0.0)
A vendor cleanup package, to remove tests and documentation to save space - sebastian/git (1.0.0)
Simple wrapper for Git - intervention/image (1.4.1)
Image handling and manipulation library with support for Laravel 4 integration - hwi/oauth-bundle (0.2.5)
Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony2. - nelmio/esi-debug-bundle (1.1.0)
Shows you caching information around ESI requests for debugging purposes - barryvdh/laravel-ide-helper (v1.0.1)
Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion. - kindari/laravel-markdown (v1.0.0)
Markdown Integration with Laravel's View system - mongator/behaviors (v1.0.1)
Bahaviors for Mongator, the Simple, powerful and ultrafast Object Document Mapper (ODM) for PHP and MongoDB - icecave/parity (0.1.0)
A comparator library for PHP. - mongator/mongator (v1.2.1)
Mongator is a easy, powerful and ultrafast ODM for PHP and MongoDB. (forked from Mandango project) - mongator/mondator (v1.0.0)
Easy and flexible class generator for PHP - fuxie/utopia-php-framework (v1.0.0-RC4)
A simple, light and advanced PHP framework
PHPMaster.com: Create Digital Tickets with PHP and Apple Passbook
On PHPMaster.com today there's a new tutorial showing you how to create digital tickets using PHP and the Apple Passbook service.
Why should we PHP warriors care at all about Apple's Passbook? Well first because Apple made this technology open (well, sort of…), second because it can be used outside iOS devices, and third because it involves a lot of well-known and loved technologies like JSON and RESTful APIs. I'd also add that it's a very interesting piece of technology, but that's my personal opinion. In this article I'll show you how I built a sample web application that creates and distributes passes in the form of a "PHPMaster Membership Card". It is not a full-featured product, but it's a nice base to build on for more serious real world uses.
He talks about the concept of a "pass" (a digitally signed document that can be easily distributed) and the types that the Apple service lets you make. His example (sample code here) is Silm based and Idorim & Paris for the data handling. He talks some about the certificate handling that's involved and the structure of the application including the certs, application code, templates and images. He then works through the code step-by-step and explains what each part does and how it connects with Apple's service to generate the pass.
Link: http://phpmaster.com/create-digital-tickets-with-php-and-apple-passbook
Brandon Savage: Publishing messages to RabbitMQ with PHP
Brandon Savage has posted the second article in his RabbitMQ+PHP series today with a look at publishing messages to the queue. (Part one is here)
Now that we understand the basics behind RabbitMQ, it's time for us to start working with it. The first step in working with RabbitMQ is to begin sending messages to the exchange so that they can be queued. In RabbitMQ parlance, the "producer" is responsible for "publishing" the messages to the exchange.
He includes the code you'll need to use the AMQP PHP extension to connect with the RabbitMQ server and select a channel. He also shows how to set up an "exchange" and "queue" and bind them to each other. Finally, there's the one line of code that uses the routing key value to push a message into the waiting service.
Link: http://www.brandonsavage.net/publishing-messages-to-rabbitmq-with-php
PHPClasses.org: 10 Steps to properly do PHP Bug Tracking and Fixing as Fast as possible
On the PHPClasses.org blog today Manuel Lemos has shared some advice on tracking and fixing bugs and some strategies to help prevent them in the future.
No matter how hard you try to test your PHP applications before putting them in production, you will always ship code to your server that has bugs. Some of those bugs will be very serious and need to be fixed before they cause greater damages to your application data that may be too hard to recover. Read this article to learn about a several good practices that you can apply to track bugs in production code, so you can fix them before it is too late.
Suggestions included in his list are things like:
- Test as Much as Possible Before in your Development Environment
- Separate your Code from Environment Configuration files
- Track PHP Errors with Assertion Condition Tests
- Send PHP Errors to an Error Log File
- Monitor the PHP Error Log File to Quickly Fix Serious Bugs
- Fix Your Bugs but Never Edit Code on the Production Server
He also includes a brief look at some things to think about when considering "defensive coding practices" and links to other articles with more information.
Link: http://www.phpclasses.org/blog/package/1351/post/1-10-Steps-to-properly-do-PHP-Bug-Tracking-and-Fixing-as-Fast-as-possible.html
2013年5月29日星期三
Community News: Latest Releases from PHPClasses.org
- Xyndravandria AverazainPackage:Summary:Handle AJAX requests with PHP classesGroups:Author:Description:This package can handle AJAX requests with PHP classes...
Read more at http://www.phpclasses.org/package/8078-PHP-Handle-AJAX-requests-with-PHP-classes.html - PHP Tab Control CreatorPackage:Summary:Generate a tab control to switch visible contentGroups:Author:Description:This class can generate a tab control to switch visible content...
Read more at http://www.phpclasses.org/package/8075-PHP-Generate-a-tab-control-to-switch-visible-content.html - Manage PHP Permissions FrameworkPackage:Summary:Manage role based user permissions store in MySQLGroups:Author:Description:This package can manage role based user permissions store in a MySQL database...
Read more at http://www.phpclasses.org/package/8069-PHP-Manage-role-based-user-permissions-store-in-MySQL.html - PHP Autoload Class FilesPackage:Summary:Automatically load class files from directoriesGroups:Author:Description:This class can automatically load class files from directories...
Read more at http://www.phpclasses.org/package/8074-PHP-Automatically-load-class-files-from-directories.html - PHP Public Variable WrapPackage:Summary:Access an object private variables and functionsGroups:Author:Description:This class can access an object private variables and functions...
Read more at http://www.phpclasses.org/package/8073-PHP-Access-an-object-private-variables-and-functions.html - PHP Validate JSON ObjectPackage:Summary:Validate variables of a JSON encoded objectGroups:Author:Description:This class can validate variables of a JSON encoded object...
Read more at http://www.phpclasses.org/package/8070-PHP-Validate-variables-of-a-JSON-encoded-object.html - Redstart Graphic LibraryPackage:Summary:Manipulate and draw on images using GD extensionGroups:Author:Description:This packages can manipulate and draw on images using the GD extension...
Read more at http://www.phpclasses.org/package/8064-PHP-Manipulate-and-draw-on-images-using-GD-extension.html
Community News: Packagist Latest Releases for 05.29.2013
- zeptech/annotations (1.1.0)
DOC Block annotation parsing for PHP - andyfleming/handy (v1.2.3)
Handy Model class for amazing data magic. - icecave/archer (0.4.1)
PHP projects by convention. - thetwelvelabs/zeus (1.0.1)
Zend Framework 1.x RESTful Bundle - molajo/numbertotext (v1.0)
Converts a numeric value up to a 999 quattuordecillion to translatable term. - phpmachinist/phpmachinist (v2.0.0-alpha1)
Testing object factory for PHP - derptest/phpmachinist (v2.0.0-alpha1)
Testing object factory for PHP - rocker/server (1.1.7)
Boilerplate that helps you write RESTful web services on top of Slim framework (https://github.com/victorjonsson/PHP-Rocker#php-rocker) - doctrine/phpcr-bundle (1.0.0-alpha4)
Symfony DoctrinePHPCRBundle - symfony-cmf/routing (1.1.0-alpha2)
Extends the Symfony2 routing component for dynamic routes and chaining several routers - symfony-cmf/blog-bundle (1.0.0-alpha2)
Symfony CMF Blog Bundle - ncsuwebdev/otframework (3.0.5)
Base application framework - symfony-cmf/core-bundle (1.0.0-alpha2)
Symfony CMF Core Bundle - phundament/p3pages (0.11.9)
Page Manager - segmentio/analytics-php (0.4.7)
Segmentio Analytics PHP Library - ner0tic/php-instagram-api (2.0.2, 2.0.1, 2.0.0)
Instagram API client - salavert/time-ago-in-words (v1.0)
Twig extension where you can easily convert a datetime or timestamp to a distance of time in words. - dominionenterprises/dws-coding-standard (v1.1.1, v1.1.0)
DWS Coding standard - cloud-solutions/zend-sentry (0.3.1)
A Zend Framework 2 module that lets you log to the Sentry service. - polianych/media-net-api (0.1.1)
MediaNet API support for ZF2 application - payum/be2bill (0.4.1)
Be2Bill payment lib - barryvdh/laravel-ide-helper (v1.0.0)
Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion. - bit3/contao-assetic (1.1.2)
Assetic integration for Contao OpenSource CMS - laravel/framework (v4.0.0)
The Laravel Framework. - aza/thread (v1.1)
AzaThread - Anizoptera CMF simple and powerful threads emulation component for PHP (based on forks). - aza/socket (v1.0.2)
AzaSocket - Anizoptera CMF sockets abstraction component. Provides convenient universal API for using sockets in PHP (via sockets or stream extensions). - aza/phpgen (v1.1.1)
AzaPhpGen - Anizoptera CMF PHP code generation (dump) component. Allows to dump complex arrays, objects, closures and basic data types as php code. In part, this can be called a some sort of serialization. You can customize your dumped php code as you wish. - aza/math (v1.0.3)
AzaMath - Anizoptera CMF mathematic component. Arbitrary precision arithmetic (for huge integers; BCMath wrapper) and universal convertor between positional numeral systems (supported bases from 2 to 62 inclusive, and systems with custom alphabet; pure PHP realisation, can use GMP and core PHP functions for speed optimization). - aza/libevent (v1.1)
AzaLibEvent - Simple, powerful and easy to use OOP wrapper for the LibEvent PHP bindings. Component from Anizoptera CMF. - aza/clibase (v1.1)
AzaCliBase - Anizoptera CMF component with basic functionality and helper methods for CLI and Daemon applications (forks, libevent, etc..). - illuminate/database (v4.0.0)
- symfony-cmf/routing-bundle (1.1.0-alpha2)
Symfony RoutingBundle - kakawait/jumper (1.0.0-BETA1, 0.9.0)
A remote closure executor! - mediawiki/core (1.21.1)
Free software wiki application developed by the Wikimedia Foundation and others - kkamkou/tp-minify (1.0)
Zend Framework 2 module which uses the Steve (mrclay) Clay's Minify library for styles and scripts obfuscation - slevomat/sglogistics-api (1.15)
SG Logistics client API Library - michaelgooden/mdg-uuid (1.0.0)
Simple UUID generation functionality, using Zend Framework 2's ZendMathRand component. - esendex/sdk (v1.0.2)
Send SMS from your application using the Esendex API - candycms/plugins (3.0.6)
Plugins for candyCMS. - candycms/core (3.0.7)
Core elements for candyCMS. - webignition/css-validator-output-parser (1.6.4)
Parser for output from the W3C CSS validator - willdurand/geocoder (1.7.0)
The almost missing Geocoder PHP 5.3 library. - bgallagher/bgoauthprovider (0.1.6)
ZF2 OAuth 1.0a Provider module - bear/resource (0.8.0)
RESTful service layer framework - slm/mail (v1.0.0-rc3)
Integration of various email service providers in the Zend Framework ZendMail - bear/sunday (0.7.4)
BEAR.Sunday, a resource oriented framework
MaltBlue.com: Zend Framework 2 - The New HTML5 Form Fields
Matthew Setter has posted another in his series looking at the Zend Framework v2 and some of its features. In this new post he focuses on the HTML5 form field support that comes bundled with recent versions.
In this tutorial, I'll be taking you through a few of the new HTML5-specific form elements available in the new Zend Framework 2. We'll see: how they work, how to use them, so you can also see what they're like. This will be coupled with a good set of screenshots - so you know what they look like. By the end of this tutorial, you should be well on your way to being able to have fully HTML5 interfaces in your applications.
He starts off by talking about HTML5 elements in general, pointing out a few reasons why to use them, complete with statistics to back them up (of mobile usage where HTML5 can be handy). He focuses specifically on four different elements - the telephone input field, email field, URL field and the date/time selector. He gives examples of each and screenshots of what they look like on a mobile device (iPhone in this case). Complete code is included to create the elements as well.
Link: http://www.maltblue.com/tutorial/zf2-html5-form-field-introduction
Timothy Boronczyk: Composing Music with PHP
Timothy Boronczyk has a recent post to his site with an interesting thing to use PHP for - composing music.
I'm not an expert on probability theory, artificial intelligence and machine learning, and even my Music 201 class from years ago has been long forgotten. But if you'll indulge me for the next 10 minutes, I think you'll find that even just a little knowledge can yield impressive results if creatively woven together into an application. I'd like to share with you how PHP can be taught to compose music.
He shows examples of some basic melodies generated by PHP (not the prettiest) and talks about how he "taught" PHP to get better at it. He transcribed other music into Scientific Pitch Notation and used a Markov process to create a "next note selection" method based on the notes around it. He includes the code for his "robot composer" class with its "train" and "compose" methods and and example of its usage.
Link: http://zaemis.blogspot.com/2013/05/composing-music-with-php.html
Codeception.com: Headless Browser Testing with Selenium2 and PhantomJS
On the CodeCeption blog they have an example if how to use the testing tool to run headless with Selenium2 and PhantomJs to work with Javascript or DOM elements in the page.
The latest version of PhantomJS is an easy to install, stand-alone binary that doesn't require installing Node.js or any other dependencies, and ships with its own 'Ghost Driver' for implementing the WebDriver Wire Protocol. Which means you can drive it using the Selenium2 driver in Codeception, and anything that you can test in Chrome, Firefox, Safari, or IE using Selenium2, you can now test in half the time using PhantomJS.
They help you get the tools you need installed and show you how to start up the Selenium server and connect PhantomJS to it. Then you just run the acceptance tests for your application and get some feedback directly in the terminal window from the execution.
Headless testing can be a bit of a challenge, since it's impossible to 'see' what failed. But in this case, Codeceptions default logging and screenshot capture on failure can be extremely helpful, since you can then actually see the state of the browser at the point of failure.
Link: http://codeception.com/05-13-2013/phantom-js-headless-testing.html
2013年5月28日星期二
Community News: Latest PECL Releases for 05.28.2013
- fribidi 1.2
Requires GNU FriBidi version 0.19.1 or later. - libevent 0.1.0
- Added event_base_reinit(). (Ivan Shalganov, Andy Skelton)
- Added config.w32. (bruno at chalopin dot fr)
- Fixed windows compilation with libevent 2.x. (Anatol Belski)
- Fixed bug #61673 (callback function args are wrong for signal handler).
- Fixed bug #61653 (Segfault on event_free()). - xdebug 2.2.3
Tue, May 21, 2013 - xdebug 2.2.3
+ Added features:
- Support for PHP 5.5.
= Fixed bugs:
- Fixed bug #923: Xdebug + Netbeans + ext/MongoDB crash on MongoCursor instance
- Fixed bug #929: Directory name management in xdebug.profiler_output_dir
- Fixed bug #931: xdebug_str_add does not check for NULL str before calling strlen on it
- Fixed bug #935: Document the return value from xdebug_get_code_coverage()
- Fixed bug #947: Newlines converted when html_errors = 0 - memprof 1.0.0
PECL release - mongo 1.4.0
** Improvement
* [PHP-303] - Support the autoIndexId option for createCollection
* [PHP-316] - When using replica sets and setSlaveOkay queries slow if a secondary is down...
* [PHP-371] - Replication connection string hangs for quite some time when a machine that is listed is physically down
* [PHP-490] - "nolock" option in MongoDB::execute method
* [PHP-537] - Update limits according to default (16MB) or server info (maxMessageSizeBytes)
* [PHP-572] - Add support for "journal" and "fsync" connection string options
* [PHP-610] - Remove the mongo.utf8 setting
* [PHP-651] - Slow connection to the replica set with one member down
* [PHP-686] - Constant attempt to reconnect to a down server takes too long
* [PHP-744] - Support the oplog_replay query flag
* [PHP-775] - MongoCursor->hint() can't hint on a index by name
* [PHP-790] - MongoCollection write operation wtimeout option inconsistent with connection string wTimeoutMS option
** New Feature
* [PHP-664] - Add support for SSL and certificate validation
** Bug
* [PHP-296] - Many of the zend_hash_find calls for options etc do not check or convert correctly for datatype issues.
* [PHP-447] - Inconsistent error for unsupported database commands on mongod and mongos
* [PHP-508] - Change BSON ID generation to use random "increment"
* [PHP-554] - MongoId should not get constructed when passing in an invalid ID.
* [PHP-653] - is_master() failing with mongodb <= 1.8.3
* [PHP-675] - Test for PHP-511 broken
* [PHP-693] - MongoCursor timeout not used when reading data
* [PHP-696] - mongo_io_wait_with_timeout() waits 10 seconds instead of one for "no socket timeout"
* [PHP-698] - Segmentation Fault - in mongo_deregister_callback_from_connection when calling MongoClient->close()
* [PHP-704] - Incorrect failure checks for stream reads
* [PHP-707] - Replication with 1.8 does not work
* [PHP-715] - Crash in PHP driver on Apache
* [PHP-717] - (Almost) All tests leak and has a unconditional jump
* [PHP-718] - ZTS Broken in master
* [PHP-723] - Possibly invalid read in MongoCollection getter
* [PHP-731] - Memory leak during failover
* [PHP-732] - Improve error message during failover
* [PHP-734] - Possible segfaults when error_message is not set
* [PHP-735] - Queries/commands to mongos should inherit read preferences from MongoDB and MongoCollection objects
* [PHP-736] - MongoClient connection fails if RP tags match nothing
* [PHP-737] - Missing RP tags parse error message using MongoClient options array
* [PHP-741] - Passive replicaset members (priority=0) not used for secondary reads
* [PHP-746] - The getBytes method may return random data in particular conditions.
* [PHP-751] - When a secondary goes into recovery mode, we should disconnect from it
* [PHP-759] - Write operations apply ReadPreferenceTags when finding primary
* [PHP-770] - Missing error code for "field names must be strings" MongoException
* [PHP-776] - MongoCollection::batchInsert() with empty options array segfaults
* [PHP-779] - Cannot read from secondaries when connecting directly (standalone connection)
* [PHP-781] - MongoCollection::count() should not leak, and throw exception instead of returning GLE document
* [PHP-792] - Memory leak while reading an INT64 on a 32bit platform with native_long enabled
* [PHP-795] - MongoCode segfaults when internal 'code' property is modified
* [PHP-800] - Error codes for some errors in bson.c are re-used.
** Deprecated Functionality
* [PHP-780] - Deprecate slaveOkay & timeout URI options
* [PHP-793] - Add deprecation notice to non-array options for MongoDB::createCollection
* [PHP-801] - Deprecate boolean options to MongoCollection::insert()
* [PHP-802] - Deprecate boolean options to MongoCollection::ensureIndex()
* [PHP-805] - Deprecate (for real) the "chunks" option in MongoGridFS::__construc
** Task
* [PHP-314] - Improve connection string documentation/pooling
* [PHP-437] - Update ZEND_MODULE_API_NO to use PHP_VERSION_ID to be more clear
* [PHP-475] - Create functional phpt tests for read preference exceptions
* [PHP-496] - Added a few examples to MongoDB::runCommand() for more examples
* [PHP-542] - Put all exception classes into their own file(s)
* [PHP-563] - Strongly advise users not to create immortal MongoCursors
* [PHP-674] - Remove mention of OSX/Windows GitHub downloads from documentation
* [PHP-694] - Split out types and gridfs classes into their own files.
* [PHP-695] - Remove mention of PHPUnit from documentation
* [PHP-702] - DOC - Support the autoIndexId option for createCollection
* [PHP-725] - Re-organise option parsing in mcon/parse.c
* [PHP-738] - Add replica set tags to test suite
* [PHP-745] - Add Replicaset Tags to sharding test suite
* [PHP-748] - Add vim modelines
* [PHP-749] - Improve fragile checks for max_message_size in tests
* [PHP-767] - Create prototypes for GridFS classes
* [PHP-768] - Create prototypes for MongoCollection class
* [PHP-771] - Time expectations mongo.is_master_interval test are fragile
* [PHP-788] - Document journal/fsync MongoClient connection options
* [PHP-789] - Document fsync, j, and wtimeout options for MongoCollection write operations
Community News: Packagist Latest Releases for 05.28.2013
- heydon/uarray (v1.0.0-beta3)
Allow manipulation of PICK Dynamic Arrays in PHP for use with RockSoftware's U2 products - mjohnson/uploader (4.1.0)
File uploader and validation plugin for CakePHP. - mjohnson/transit (1.2.0)
A file uploader, validator, importer and transformer library. - rbone/phactory (1.1.3)
A PHP library for generating data for tests - bluedogtraining/guzzle-clickatell (v2.0.3)
A Guzzle client for interacting with the Clickatell API - bluedogtraining/guzzle-eway (v2.1.2)
A Guzzle client for interacting with the Eway Direct Transactions API - bshaffer/oauth2-server-php (v0.8)
OAuth2 Server for PHP - juriansluiman/slm-google-analytics (v0.3.0)
Google Analytics tracking integration for Zend Framework 2 - slm/google-analytics (v0.3.0)
Google Analytics tracking integration for Zend Framework 2 - stefano/stefano-tree (1.0.0)
Library for managing tree structures - geoip/geoip (v1.13)
MaxMind GeoIP PHP API - stefano/stefano-db (1.0.0)
Modul for Zend Framework 2 - doctrine/orm (2.4.0-RC1)
Object-Relational-Mapper for PHP - stefano/stefano-object (1.0.0, 1.0.2)
Module for Zend Framework 2 - doctrine/dbal (2.4.0-RC1)
Database Abstraction Layer - doctrine/common (2.4.0-RC3)
Common Library for Doctrine projects - pjdietz/wellrested (v1.2.0)
Simple PHP Library for RESTful APIs - dmishh/recaptcha-bundle (1.0.0-rc1)
reCAPTCHA support for Symfony2 with easy-to-use integration to Security Component. - dmishh/recaptcher (1.0.0-rc2, 1.0.0-rc1)
Yet another reCAPTCHA PHP implementation - jaz303/phake (v0.5.0)
A wee clone of Ruby's rake for PHP 5.3. Uses closures for ultimate coolness. - yotpo/yotpo (0.0.1)
A PHP interface to the YOTPO API - zetta/menu-bundle (v1.1.3, v1.1.2)
Admin menu - danielmewes/php-rql (1.5.3)
A PHP client driver for the RethinkDB query language (ReQL) - stefano/stefano-convert (1.0.0)
Module for Zend Framework 2 - jcambien/kengai (1.1.0)
Configuration tool for your PHP applications - wingu/code-generator (1.0.2)
Wingu OctopusCore CoreGenerator - craue/formflow-bundle (2.0.0)
Multi-step forms for your Symfony2 project. - simplon/helper (0.6.1)
General helpers which come-in helpful. - lisachenko/go-aop-php (0.3.0)
Library for aspect-oriented programming in PHP. - lilweb/job-bundle (0.1.2)
Performing asynchronous jobs with Symfony2 - nixilla/carweb-api-consumer (0.3)
CarweB API consumer in PHP - lfnds/sdk (1.3.1)
PHP SDK for the elefunds API. - paypal/adaptiveaccounts-sdk-php (v2.4.102)
PayPal adaptiveaccounts SDK for PHP - nyholm/zebra-image (1.0.1)
The ZebraImage PHP library in a nice package. - elvis-bi/test (0.1)
test
Brandon Savage: Queuing with RabbitMQ and PHP
Brandon Savage has posted a quick overview of working with PHP and RabbitMQ for queuing. This is the first part of a three-part series about using these two technologies together effectively.
There are many times that you want to write background processes and queue up the tasks so that they can be handled in sequential order. There are any number of queues available for software developers, and one that I've really taken a liking to is RabbitMQ. Besides the fact that the queue is designed to requeue messages that are unsuccessfully delivered, RabbitMQ is fast and efficient.
He introduces some of the basic concepts behind working with RabbitMQ (like connections and channels) and an "exchange" - the method by which messages are routed. He talks about pushing messages to the exchange to be handled and how you consume the queue for updates. He also links to the various things you'll need to install to start combining these two tools including the AMPQ PECL extension.
Link: http://www.brandonsavage.net/queuing-with-rabbitmq-and-php
2013年5月27日星期一
Community News: Packagist Latest Releases for 05.27.2013
- icecave/archer (0.4.0)
PHP projects by convention. - lobostome/furry-bear (0.3.1)
A PHP wrapper for various open data - jridgewell/form-validator (v1.0.3, v1.0.2, v1.0.1, v1.0.0)
A simple HTML form validator - heydon/uarray (v1.0.0-beta2)
Allow manipulation of PICK Dynamic Arrays in PHP for use with RockSoftware's U2 products - piwik/piwik (1.12-b21)
Open Source Real Time Web Analytics Platform - sallycms/sallycms (0.8.1)
Content Management System for Professionals - sallycms/backend (0.8.1)
The legacy backend for SallyCMS projects. - sallycms/core (0.8.1)
Core Framework for SallyCMS - toin0u/http-adapter (1.0.3, 1.0.2, 1.0.1, 1.0.0)
HttpAdapter PHP 5.3+ library - bitgandtter/bitsocialuser-bundle (0.1)
Symfony Optime SocialUserBundle - bitgandtter/bituser-bundle (0.1)
Symfony BIT UserBundle - bitgandtter/twitter-bundle (1.1)
Symfony FOSTwitterBundle - bitgandtter/twitteroauth (0.1)
Twitter API library for PHP - bitgandtter/facebook-bundle (1.1)
Integrate the Facebook Platform into your Symfony2 application. - toin0u/trustpilot (0.1.6)
Trustpilot wrapper PHP 5.3+ library - bitgandtter/google-api (0.6.2)
Google API library for PHP - jeremeamia/SuperClosure (0.9.2)
Doing interesting things with closures like serialization and partial function application. - toin0u/digitalocean (1.1.3)
DigitalOcean API PHP 5.3+ library - opichon/autotabs (2.0.10, 2.0.9)
JQuery plugin to generate tabs from page markup - dzangocart/dzangocart-bundle (0.1.1)
Symfony 2 bundle for dzangocart - etenil/atlatl (v1.3, v1.2)
A tiny and very simple micro-framework - etenil/assegai (v1.3)
A full MVC framework for PHP. - dzangocart/client (0.2.1, 0.1.2, 0.1.1)
Client library for dzangocart - enygma/expose (0.1)
An intrusion detection library based on PHPIDS - davejamesmiller/laravel-aliases (0.2.0)
Adds an 'artisan aliases' command to Laravel that lists registered aliases and the classes they map to, including resolving facades - zweifisch/zf (v0.3.0)
a micro php web/cli framework/router
2013年5月26日星期日
Community News: Packagist Latest Releases for 05.26.2013
- elvis-bi/zf2-modult-install (0.1.0)
ćäž›zf2樥ĺ-çš„composer厉装 - robmorgan/phinx (v0.2.5)
Phinx makes it ridiculousy easy to manage the database migrations for your PHP app. - jeremeamia/SuperClosure (0.9.1)
Doing interesting things with closures like serialization and partial function application. - codeception/codeception (1.6.2)
BDD-style testing framework - tonicospinelli/classgeneration (1.0.1)
Library to create Php Class files - dosomething/mobilecommons-php (1.0.0)
A PHP wrapper for the Mobile Commons API - desmondmorris/locu-php (1.0.0)
An un-official Locu API wrapper written in PHP - happydemon/elements (1.0)
A Kohana module to help with building HTML navigation menus and breadcrumbs - kevintweber/ktw-parameter-bundle (v0.1)
Symfony bundle for configuring compile-time parameters at run-time. - mediawiki/core (1.21.0)
Free software wiki application developed by the Wikimedia Foundation and others - luxifer/doctrine-functions (1.0.0)
Doctrine DQL Functions for Mysql - lexik/monolog-browser-bundle (v0.1.0)
This Symfony2 bundle provides a Doctrine DBAL handler for Monolog and a web UI to display log entries - knplabs/knp-menu-bundle (v1.1.2)
This bundle provides an integration of the KnpMenu library - friendsofsymfony/user-bundle (v1.3.2)
Symfony FOSUserBundle - lexik/workflow-bundle (v0.3.0)
Simple workflow bundle for Symfony2 - piwik/piwik (1.12-b20)
Open Source Real Time Web Analytics Platform - paste/pre (v1.0)
A handsome replacement for print_r & var_dump. Debugging output with understated style. - eko/feedbundle (1.0.1)
A Symfony bundle to build RSS feeds from entities - elvis-bi/bq-wechat-sdk (0.1.0Alpha)
PHPç‰ˆçš„č…žčŽŻĺžŽäżĄĺ…Źäź-ĺšłĺ°SDKă'‚ - bear/ace (0.2.1)
Ace online editor utility - pagon/pagon (0.6.2)
Pagon Framework - titon/type (0.6.2)
The Titon type package provides class like structure and advanced functionality for arrays, strings, objects and enums. - titon/utility (0.8.3)
The Titon utility package provides convenience classes for basic tasks like validation, formatting, sanitization and more. - titon/controller (0.1.3)
The Titon controller package provides controllers and actions to handle the HTTP request and response. - mpratt/bolido (0.8.0)
A simple modular Framework - titon/common (0.7.3)
The Titon common package provides global functionality like class traits and augmentation as well as dependency and configuration management.
2013年5月25日星期六
Community News: Packagist Latest Releases for 05.25.2013
- mandrill/mandrill (1.0.30)
API client library for the Mandrill email as a service platform - sabre/vobject (3.0.0-alpha3)
The VObject library for PHP allows you to easily parse and manipulate iCalendar and vCard objects - pinano/datatables-bundle (1.9.4)
Symfony2 bundle for wrapping the famous dataTables jquery plugin by SpryMedia - pinano/select2-bundle (3.4.0)
Symfony2 bundle for wrapping the famous select2 jquery plugin by @ivaynberg - phundament/p3widgets (0.11.8)
Widget Manager - simplon/db (1.2.3)
Simplon DB Libraries - kr4y/profiler (1.0.2)
Profiler for Laravel 4 - zweifisch/zf (v0.2.9)
a micro php web/cli framework/router - phundament/p3pages (0.11.8)
Page Manager - patchwork/utf8 (v1.1.8)
UTF-8 strings handling for PHP 5.3: portable, performant and extended - piwik/piwik (1.12-b19)
Open Source Real Time Web Analytics Platform - gocardless/gocardless (0.4.1)
The PHP client library for the GoCardless API - hostnet/form-twig-bridge (0.5)
Allows usage of the Symfony 2 form framework, rendered in twig, without using all of Symfony 2! - simplon/helper (0.6.0, 0.5.11)
General helpers which come-in helpful. - gabriel403/g403-session-db (1.0.2)
Extension to ZF2 to allow sessions to be stored in the database. - willdurand/expose-translation-bundle (0.3.0)
A pretty nice way to expose your translation messages to your JavaScript. - vojtech-dobes/nette-forms-gpspicker (v1.0.7)
Google Maps based picker of coordinates for Nette Framework. - mjohnson/uploader (4.0.15)
File uploader and validation plugin for CakePHP.
2013年5月24日星期五
Site News: Popular Posts for the Week of 05.24.2013
- PHPMaster.com: Openbiz Cubi: A Robust PHP Application Framework, Part 1
- PHPClasses.org: 5 Reasons Why the Web Platform War is Over: PHP Won with 75% says Google
- Gonzalo Ayuso: Google App Engine, PHP and Silex. Setting up a Login Provider
- DZone.com: Cloning in PHP
- Chris Jones: Offline Processing in PHP with Advanced Queuing
- Community News: Latest PEAR Releases for 05.20.2013
- Symfony Blog: New in Symfony 2.3: Small things matter
- Reddit.com: Preferred framework for REST usage?
- 7PHP.com: Know Thy PHP User Group Know The Leeds PHP User Group (LeedsPHP)
- Community News: Latest Releases from PHPClasses.org
Community News: Packagist Latest Releases for 05.24.2013
- bcen/silex-dispatcher (0.4.3)
A Silex plugin - fran6co/phptrie (1.0)
PHP Trie implementation - delboy1978uk/del-bitcoin (v0.1)
Blockchain Bitcoin Wallet API Functionality for Zend Framework 2 - f21/dnsmadeeasy (1.0.0)
A simple php library to work with DNSMadeEasy's API v2.0 - mjohnson/decoda (6.0.5)
A lightweight lexical string parser for BBCode styled markup. - richardsjoqvist/silverstripe-localdate (1.1.0)
Translates formatted date strings to the locale set with i18n::set_locale() if there is a matching language file. - cocoon/notation (1.0)
A Markdown, file-based blogging system for Laravel 4 - kitpages/data-grid-bundle (v1.8.0)
Symfony DataGridBundle - vlucas/valitron (1.0.4)
Simple, elegant, stand-alone validation library with NO dependencies - nixilla/carweb-api-consumer (0.2)
CarweB API consumer in PHP - phpunit/phpunit (3.7.21)
The PHP Unit Testing framework. - thetwelvelabs/zeus (1.0.0)
Zend Framework 1.x RESTful Bundle - phpunit/php-code-coverage (1.2.11)
Library that provides collection, processing, and rendering functionality for PHP code coverage information. - phly/phlyty (1.0.1)
PHP 5.4 Microframework built on top of ZF2 components - donatj/simplecalendar (v0.4.1)
A very simple calendar library - alchemy/binary-driver (1.4.1)
A set of tools to build binary drivers - patchwork/utf8 (v1.1.7)
UTF-8 strings handling for PHP 5.3: portable, performant and extended - zweifisch/zf (v0.2.8)
a micro php web/cli framework/router - packfire/fuelblade (1.1.0)
Packfire FuelBlade - Dependency Injection / IoC library for PHP - rtens/mockster (1.1.3)
PHP Mocking framework - phundament/p3widgets (0.11.7)
Widget Manager - yohang/calendr (1.0.3)
Object Oriented calendar management - mouf/archive-installer (v1.0.2)
This is a simple installer that let's you create simple Composer packages that are actually downloading and extracting an archive from the web. - propel/propel-bundle (1.2.4)
Integration of Propel in Symfony2 - bmatzner/marionette-bundle (1.0.3)
MarionetteJS Bundle for Symfony2 - nunzion/php-eventbus (0.1.0)
An event-based bus. - bit3/contao-bit3basics (1.1.2)
Set of basic settings for Contao OpenSource CMS - laiz/laiz-db (v1.0.1)
Object relational mapping library - alphalemon/alphalemon-cms-bundle (1.1.0-RC)
AlphaLemon CMS is an Open Source Content Management System Application, built on top of Symfony2 Framework, providing an easy an intuitive user-interface, to improve the website's content management experience - slevomat/sglogistics-api (1.14)
SG Logistics client API Library - piwik/piwik (1.12-b18, 1.12-b17)
Open Source Real Time Web Analytics Platform - jdolieslager/fetranslator (v0.1.3)
ZF2 Module for translating routematches and messages - craue/formflow-bundle (1.1.3)
Multi-step forms for your Symfony2 project. - rbone/phactory (1.1.2)
A PHP library for generating data for tests - wingu/code-generator (1.0.1.0)
Wingu OctopusCore CoreGenerator - laiz/laiz-error (v0.1.0)
Simple error handler
PHP.net: PHP 5.5.0RC2 is available
On PHP.net today they've announced the release of the latest Release Candidate in the PHP 5.5.x series - PHP 5.5.0RC2.
The PHP development team announces the availability of the second release candidate of PHP 5.5. This release fixes some bugs against RC1 and improves overall stability. [...] Please help us to identify bugs in order to ensure that the release is solid and all things behave as expected. Please test this release candidate against your code base and report any problems that you encounter to the QA mailing list and/or the PHP bug tracker.
Issues corrected include a segfault when memory was used up, an issue with mbstring in PHPT tests in Windows x64 and a problem with custom exceptions. You can find the full list of changes in the NEWS file. Please download this latest release candidate (Windows here) and test it out on your systems.
Link: http://php.net/index.php#id2013-05-23-1
Michelangelo van Dam: UA Testing with Selenium and PHPUnit
In this new post to his site Michaelangelo van Dam looks at user acceptance testing with PHPUnit and Selenium.
Last week I spoke at php[tek] 2013 where I explained to people how to get started with Selenium IDE to record user interaction with the web interface, convert them to PHPUnit testcases and automatically execute them on multiple browsers on multiple platforms. The feedback I got was awesome, you're all a great crowd! But on twitter I also received a bunch of questions regarding how to set up multiple platforms and why I used Windows in my presentation to deploy to. So today I deceided it was time to write a full article on this subject.
He introduces Selenium and what kinds of things it can be used to test. He also defines "user acceptance testing" and talks about why they're an important part of the testing ecosystem. He then walks you through the process of getting the testing environment set up, creating a few tests and how to convert them over to PHPUnit tests (using a built-in tool). Screencasts show you each step of the way. He includes a little tweaking you'll need to do to to the test code to get it working with your own Selenium server
Link: http://www.dragonbe.com/2013/05/ua-testing-with-selenium-and-phpunit.html
Adam Culp: PHP usage statistics
Adam Culp has posted his own look at some of the PHP usage statistics that are out there and how they can be interpreted.
Every once in awhile I stumble across someone who is trying to find their way and decide what they will do in their career. As the organizer of a PHP user group I see many new developers passing through. Of course I always speak of how strong PHP is in the web markets, and encourage new web developers to pursue PHP as a tool in their box of goodies. Because as a web developer it would be a career limiting move to not have any knowledge of PHP. Here is why...
He shares a few different sources including w3tech's overall and PHP-specific information (PHP5 specific here) and the current results of the TIOBE index showing language popularity. For each he talks some about what the results mean (and don't mean) and how, if you're a "professional developer" you should, at the least, know PHP - the most dominant language in the web space.
Link: http://www.geekyboy.com/archives/672
2013年5月21日星期二
Community News: Latest PECL Releases for 05.21.2013
- xhprof 0.9.3
-- Just updating the pecl package to https://github.com/facebook/xhprof/commit/254eb24dcfa763c76c57b472093ebc4b81af2b7d
-- Request #16544: Mac port for XHProf (svilen spasov)
-- fix #16574: require/require_once not special cased like include/include_once (kannan)
-- add a sanity test for sampling mode in xhprof (kannan)
-- add support to ignore functions (such as call_user_func) during profiling (mike paleczny)
-- fix #16098: suppress notices due to use of FILE_BINARY (kannan)
-- add a sanity test for timer (kannan)
-- fix for compile error on debian linux (russ) - fribidi 1.1
Requires GNU FriBidi version 0.19.1 or later. - pq 0.4.0
* Added pqConverterInterface and pqConnection::setConverter()
* Added pqResult::desc() and fixed pqStatement::descAsync()
* Added serializer for input array params
Community News: Packagist Latest Releases for 05.21.2013
- heydon/uarray (v1.0.0-beta1)
Allow manipulation of PICK Dynamic Arrays in PHP for use with RockSoftware's U2 products - mjohnson/transit (1.1.1)
A file uploader, validator, importer and transformer library. - bitgandtter/google-bundle (0.2.1, 2.0)
Integrate the Google Platform into your Symfony2 application. - trsteel/ckeditor-bundle (v1.1)
Symfony2 bundle for easy integration of the CKEditor WYSIWYG - torohill/php-template (1.2.0, 1.1.0)
A very basic template class that uses PHP as the templating language. - aequasi/memcached-bundle (1.3.6, 1.3.5, 1.3.4, 1.3.3, 1.3.2)
Memcached Bundle - thrace/datagrid-bundle (v1.0.0)
This bundle provides easy creating of jqGrid datagrids - thrace/component-bundle (v1.0.0)
Components used by thrace-project bundles - segmentio/analytics-php (0.4.5)
Segmentio Analytics PHP Library - phundament/app (0.20.4)
Yii Application Boilerplate, with packages from composer repository http://packages.phundament.com - beatnode/tumblr (1.0.0)
Wrapper for the offical Tumblr SDK to provide authentication - phundament/p3admin (0.12.3)
Yii application info and skeleton - zircote/rhubarb (0.1.4)
A PHP Celery Client Implementation - jenwachter/html-form (0.2)
A PHP library designed to make creating, validating, and maintaining forms easier. - shark/formlogger-bundle (v2.3.1, v2.3)
Log Symfony Forms - thadafinser/zfc-datagrid (0.3.1, 0.3.0)
Zend Framework 2 Module that provides a datagrid for different datasources and output formats - wowo/wowo-newsletter-bundle (v1.2.7, v1.2.6, v1.2.5, v1.2.4)
Newsletter Bundle for Symfony2 (with messages queuing in beanstalkd) - wowo/wowo-queue-bundle (v1.3.1)
The WowoQueueBundle provides unified method for use queue systems, like Beanstalkd, RabbitMQ, flat files, database driven queues etc. - paypal/sdk-core-php (v2.4.0)
PayPal Core SDK for PHP - paypal/adaptiveaccounts-sdk-php (v3.4.102)
PayPal adaptiveaccounts SDK for PHP - merk/dough (v1.1.4)
This library provides an immutable money library, including currency conversion support. - slevomat/sglogistics-api (1.13)
SG Logistics client API Library - opichon/autotabs (2.0.8, 2.0.7, 2.0.6, 2.0.5)
JQuery plugin to generate tabs from page markup - rah/rah_autoload (0.2.1, 0.2.0)
Loads Composer generated autoload files in Textpattern CMS - studiobonito/silverstripe-publishable (1.0.3)
Publishable is a module for Silverstripe that provides a number of extensions that make enabling and managing versioning for DataObjects much simpler. - simplon/db (1.2.2)
Simplon DB Libraries - ze-pequeno/pequeno-spotify-module (1.0.2)
Zend Framework 2 Module for Spotify Web API - n98/magerun (1.68.1)
Tools for managing Magento projects and installations