 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Adam Culp: PHP usage statistics
by Chris Cornutt May 24, 2013 @ 11:41:16
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.
voice your opinion now!
usage statistics language w3techs tiobe popularity
Michelangelo van Dam: UA Testing with Selenium and PHPUnit
by Chris Cornutt May 24, 2013 @ 10:18:40
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 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
voice your opinion now!
useracceptance testing phpunit selenium introduction
Community News: Packagist Latest Releases for 05.24.2013
by Chris Cornutt May 24, 2013 @ 08:07:13
Recent releases from the Packagist: - 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
voice your opinion now!
Anna Filina: Full Test Coverage is Impractical
by Chris Cornutt May 23, 2013 @ 12:06:34
In her latest post Anna Filina proposes that full test coverage is an impractical way to measure the quality of your software. It can provide a false sense of security, even if the tests are poorly written.
Many developers claim that to achieve high quality software, developers must create automated tests that ensure that all possible execution routes have been covered. This is also known as full path coverage. I will argue that different types of software require different testing approaches and that full path coverage is impractical in almost every case. Too many tests simply create clutter.
She looks at how it's impractical to expect that all tests will be written efficiently or even correctly. Even simple tests are enough to show up on code coverage reports but may only be painting part of the picture. She also notes that not all software can be tested the same way - things like APIs require different testing skills/methods than something like consumer software.
In the end, there are no exact rules on how much to test. The most important thing to keep in mind is that writing tests for the sake writing tests is futile and costly. [...] Focus on building great software. Tests are a tool to make it better. Just don't overdo it.
voice your opinion now!
full testing codecoverage quality software impractical opinion
ZFort Group: The Battle of the Titans. Zend vs. Symfony
by Chris Cornutt May 23, 2013 @ 11:55:45
In this new post to the ZFort blog Elena Bizina compares Symfony and Zend Framework from her perspective, looking at things like functionality, general understanding and community.
Zend and Symfony are the two frameworks that are often compared. Which one is more functional? Which one is more preferable in terms of productivity? Which one is better for general understanding? Which of these two has a larger community? I've asked Zfort Group experts to help me with these questions, and here's what we have come to.
She first gives a high-level overview of each framework, pointing out a few of the features and tools they have built-in. She then goes on to answer the questions above, noting that she sees Symfony as coming out in the lead. Some of the questions are a little vague, so it's not entirely clear why one is different than the other. What do you think? Leave a comment here with your opinions.
voice your opinion now!
zendframework symfony framework comparison
Lorna Mitchell: Simplest PHP Generator Example
by Chris Cornutt May 23, 2013 @ 10:31:02
On her blog Lorna Mitchell has posted an example of a basic generator written in PHP, a feature of the upcoming PHP version 5.5.
I really like the generators feature that's arriving in PHP 5.5, and since we're now into release candidate releases, it's actually not that far away. I've been speaking on this topic and I thought I'd share my trivially simple code example from my slides.
She includes an example of a very basic generator using the new "yield" keyword and how to implement it in a simple foreach loop. There's also a little talk about when is a good time to use generators in your applications (two examples: complex number calculation and working with large data sets a chunk at a time). For more information on how these generators will work, check out this page in the PHP manual.
voice your opinion now!
generator simple example introduction manual
Engine Yard: A Conversation About Testing in PHP
by Chris Cornutt May 23, 2013 @ 09:42:29
On the Engine Yard blog today they've posted a conversation about testing between Ed Finkler and Chris Hartjes (also the hosts of the DevHell podcast).
Our friends Ed Finkler and Chris Hartjes recently had a chat about testing in PHP. Read on to get the low down on different testing tools and their relative merits-check it out as Ed and Chris weep for the future, come to some interesting conclusions and get their hands dirty so you don't have to.
They talk some about the current tools for unit testing in PHP applications and show what a sample test looks like. Ed talks about how the current testing tools can make it intimidating for people to get started testing and mentions the built-in testing library in Python that is a bit easier. There's also some mention of acceptance/functional testing and the Behat + Mink combo.
voice your opinion now!
conversation testing unittest phpunit edfinkler chrishartjes
|
Community Events
Don't see your event here? Let us know!
|