News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

QaFoo Blog:
Testing Find the Sweet Spot
July 18, 2013 @ 11:52:01

On the QaFoo blog there's a recent post interviewing Johann Peter Hartmann, the CTO of Mayflower, about current PHP testing practices and how to find that "sweet spot" that works for your development.

Talking to interesting people spawns ideas and spreads insight knowledge. Therefore, I talked to Johann Peter Hartmann about testing culture and how PHP projects should approach testing in 2013.

They talk about things like:

  • The move from "spaghetti code" to "quality code"
  • A discussion of the current tools
  • Defining a unit testing strategy
  • Test Driven Development

They also talk some about the training that the QaFoo folks provided to help them (Mayflower) work all of this out for their organization.

0 comments voice your opinion now!
unittest bestpractices company organization

Link: http://qafoo.com/blog/051_testing_sweet_spot.html

Chris Hartjes' Blog:
Organzing Slim Framework Applications
February 15, 2012 @ 08:57:28

One of the more popular PHP microframeworks right now is Slim and Chris Hartjes has a new post to his blog about a good way he's found for organizing applications that use this handy tool.

I've never really used a microframework in PHP before. I used Flask for a Python project that I did to experiment with using Google App Engine. The principles seem to be quite similar (although I will admit that having decorators in PHP would be ineresting) but the trade-off with a microframework is that you usually have to figure out an application layout for yourself.

He also uses the Pimple dependency injection container, Twig templating and Composer for package management. He describes how he got it all set up - organizing the code so Composer could understand it, creating the Twig templates directory and creating some of his default routes.

0 comments voice your opinion now!
slim application organization composer pimple twig


DeveloperDrive.com:
Common Mistakes to Avoid When Coding in PHP
October 19, 2011 @ 09:17:59

On the DeveloperDrive.com site today, there's a new post with a few reminders for PHP developers out there of things it's easy to forget when writing your applications - some common mistakes to avoid.

Despite the high expectations placed on them at times, developers are human. They were the last time we checked anyways. As humans, we are bound to make mistakes from time to time. And simple, common mistakes often slip past our filters the more comfortable we become with something. [...] But knowing what these common mistakes are and how to avoid them can really help speed up the development process and keep our clients smiling.

His list includes three big ones that, if forgotten, could end up being detrimental to your application (sooner or later) - poor housekeeping/organization of code, forgetting punctuation and forgetting to validate input from users.

0 comments voice your opinion now!
common mistake development organization syntax filter input


Matthew Weier O'Phinney's Blog:
Why PHP Namespaces Matter
February 04, 2011 @ 13:23:22

Matthew Weier O'Phinney has a new post today talking about why namespaces in PHP matter and why he thinks they're a valuable contribution to the language.

You've heard about PHP namespaces by now. Most likely, you've heard about -- and likely participated in -- the bikeshedding surrounding the selection of the namespace separator. Regardless of your thoughts on the namespace separator, or how namespaces may or may not work in other languages, I submit to you several reasons for why I think namespaces in PHP are a positive addition to the language.

He breaks down his reasons into four different categories - the code organization benefits that come with namespace "containers", simplified interface structure, improved readability (no more huge class names) and a simpler method for identifying dependencies

0 comments voice your opinion now!
namespace opinion organization interface readability dependencies


Lukas Smith's Blog:
Bootstrapping emPHPower
June 25, 2008 @ 12:05:54

Lukas Smith has posted a "stream dump" of some of the thoughts he's had lately about the status of the emPHPower project including its organization and the potential popularity of the group.

I think the general idea of establishing a communication hub for core developers, end users and companies has been received with sufficient enthusiasm to start working on some of the boring details. The next logical step seems to be to start to fleshing out how the organization behind this communication hub should be structured. I want to leave as much power as possible with the individual members, which is one of the main reasons why I do not want companies to be come members.

He focuses on what he calls the "bootstrapping process" - the formation of the initial core group, opening the organization up for signups from the community, the creation of a constitution and the role of the core PHP developers in the group.

0 comments voice your opinion now!
bootstram emphpower organization constitution member formation


Lukas Smith's Blog:
emPHPower@DLW/IPC
June 03, 2008 @ 12:57:37

In a recent post to his blog, Lukas Smith talks about some of the recent advancements and ideas surrounding his emPHPower PHP evangelism organization (in particular a discussion at this year's International PHP Conference.

The fact of the matter is that today they [Zend] are stuck with a job they never asked to take over: They are the only PHP evangelism organization. So if you want to get some material on how to "sell" PHP to your Java loving IT department, Zend is the only real option to turn to. So we have to thank them for filling this void for now.

emPHPower is looking to replace that with a more diverse range of developers and companies that can provide details on a wide variety of PHP-related topics (including using PHP in the enterprise and the best open source solutions for different needs). He's looking to work with more of the regionally-focused PHP sites (user groups?) to help get things up and running in the beginning and then branching out to "the masses", possibly via other means.

0 comments voice your opinion now!
emphpower intlphpcon2008 zend community advocate organization


Doug Hill's Blog:
Lobbying for PHP - emPHPower me.
April 02, 2008 @ 20:05:49

Doug Hill has posted his response to Lukas Smith's emPHPower movement:

I have been a member of a much smaller organization which adopted a similar mission. The reputation and livelihoods of this group had been damaged by years of infighting, bad legislation and no clear vision of of the future, not all of these are problems we face in the PHP community but the concepts behind organization are the same.

He notes that, being part of such groups previously, there are a few dos and don'ts to follow, specifically when it comes to community involvement.

0 comments voice your opinion now!
emphpower lobby organization community


Community News:
New PHP5 Framework Release - WebMesh
February 16, 2007 @ 09:36:00

A note about a new framework that's been release was passed along to us today - the WebMesh framework PHP5.

WebMesh is a framework developed to serve of base for the creation of projects with PHP5. It offer an API with various abstractions to facilitate the application development and a module implementing the MVC pattern (Model2) using Smarty in the View.

Some of the goals for the framework include:

  • Force a better organization of the your project classes
  • Encorage the usage of the PHP version 5
  • Becomes it a collaborative framework where others can contribute with new classes, abstrations, libraries, modules or frameworks to be integrated
You can check out all the details on the new framework on its SourceForge page.

0 comments voice your opinion now!
webmesh php5 framework contribute resuse organization webmesh php5 framework contribute resuse organization



Community Events





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


code language symfony api zendserver release tips community series threedevsandamaybe interview conference podcast introduction development framework deployment bugfix laravel list

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