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

SitePoint PHP Blog:
More Useful Jenkins Plugins for PHP Projects
December 08, 2014 @ 13:27:32

The SitePoint PHP blog has posted the latest article in their Jenkins + PHP tutorial series (part four) with a look at some other useful plugins for use in your projects.

In the previous articles in this series, we set up Jenkins and our project and did an analysis of the first few builds. So far, we have seen interesting results come back regarding the quality of our project. In this article, we are going to take a look at some more tools and plugins which we can use for inspecting the front end assets.

The list includes tools for evaluating a wide range of technologies involved in web development like:

  • CSSLint
  • JSHint
  • Open tasks (aka @todo)

Each tool has an example of what the output looks like and how to integrate it into the Phing build and in the Jenkins setup.

0 comments voice your opinion now!
jenkins plugin useful list project tutorial

Link: http://www.sitepoint.com/useful-jenkins-plugins-php-projects/

SitePoint PHP Blog:
Analyzing a PHP Project with Jenkins
December 05, 2014 @ 10:58:32

The SitePoint PHP blog has posted the latest part in their Jenkins+PHP series today. In this new article (the final part in the series) they use the Jenkins setup they've walked you through already and actually run the analysis on the PHP project and the resulting information.

The results of Jenkins come from different tools and will be placed in different locations within the Jenkins GUI. [...] Within this article, we will be going through each tool and have a look at what it reports back to us. In the end, we will also look at some extra details Jenkins collects for us. Since we build the same project several times, we will get straight lines within our graphs. In a real project, the graph would fluctuate.

He goes through some examples of the results from his analysis including screenshots and explanations for:

  • PHP_CodeSniffer
  • PHP MD (Mess Detector)
  • PHP CPD (Copy & Paste Detector)
  • PHP Depend
  • PHPLOC (Lines Of Code)
  • PHPUnit
  • PHPDox

He also briefly mentions the "changes" information, showing you what changed in that particular build to help narrow down any issues that might have come up.

0 comments voice your opinion now!
tutorial jenkins project analysis report output

Link: http://www.sitepoint.com/analyzing-php-project-jenkins/

Community News:
Do You Know PHP? (Quiz)
November 19, 2014 @ 10:53:23

Think you know a lot about PHP? Well, the folks at PHP Weekly and mogosselin have put together a fun little quiz you can use to see just how much you know your favorite language.

Question topics cover things like:

  • Notable people in PHP's past
  • "Meta" about the language itself
  • The future of the language
  • Projects from around the PHP community
  • PHP security topics
  • Plenty of tricky code questions

...and that's all the hints you're going to get. Go over and test out your knowledge and see how you rank against the other developers taking on the challenge!

0 comments voice your opinion now!
quiz fun language history future project questions results

Link: http://markonphp.com/php-quiz-2014/

Symfony Blog:
Introducing the Symfony Marketplace
November 13, 2014 @ 11:05:22

On the Symfony blog today they've announced what they call the Symfony Marketplace, a resource to locate products and services, all related to Symfony.

Today we are thrilled to introduce the new and long-awaited Marketplace section on symfony.com website. The Symfony Marketplace is a directory of products and services related to Symfony and its ecosystem. [...] We envisioned this marketplace for the first time when we launched Symfony 2.0. Thanks to the recent boom of Symfony related services and applications, the marketplace is now a reality.

Currently they have around 45 projects (open source and commercial) and tools that are popular in the Symfony community. There's also links to several Symfony-friendly services out there including Microsoft Azure and Platform.sh. Sound interesting? Be sure to check it out or find out how to get your projects/product/service added to the lists.

0 comments voice your opinion now!
symfony community marketplace project service product

Link: http://symfony.com/blog/introducing-the-symfony-marketplace

Peter Petermann:
Building better project skeletons with Composer
November 06, 2014 @ 11:26:54

Peter Petermann has (re)posted an article he wrote about building better project skeletons with Composer and automate the process to make your life easier.

The more you use modern frameworks and the more modular you build your PHP applications, the more likely you'll use a skeleton (or template) for creating new projects. In fact, most of the better known frameworks provide skeletons for you to bootstrap your application with. Those skeletons are great to get started, but it's very likely you'll have your own stack of composer packages that you integrate in each project after a while. Each skeleton will be slightly different, so you'll likely fork your own. This article is meant to provide you with an understanding on how to build a skeleton that will allow you to automate things as far as possible.

He starts with some of the basics, both in the terminology that will be used in the article and a little bit about projects in Composer. He shows how the Zend Framework 2 project makes uses of a built-in "composer.phar" file to make bootstrapping easier but soon asks how it could be improved. The answer comes in the form of Composer's own "create-project" functionality (with a few additions, like cleanup scripts run after the fact). He then gets into building his own custom skeleton that includes a custom post-create-project cleanup script, templates for static files (README, CHANGELOG, etc) and a basic "composer.json" configuration for the end result.

0 comments voice your opinion now!
tutorial custom project skeleton composer application

Link: http://devedge.wordpress.com/2014/11/05/building-better-project-skeletons-with-composer-2/

Michael Kimsal:
Is your code portable to subfolders?
September 02, 2014 @ 09:12:53

In a quick new post to his site Michael Kimsal asks an interesting question that some PHP developers don't think about in the course of their development: "Is your code portable to subfolders?.

Have been dealing with a couple of PHP projects recently which have been a far bigger pain in the backside than I anticipated, and both had some of the same stumbling blocks. In both cases, and in other projects I've seen, there's a huge assumption that the code will be run from the root of a domain, and all url and routing management have this assumption baked in to everything they touch. What's the answer?

Some projects just suggest making a new virtual host in the web server configuration and moving on, but this isn't always a real possibility for some projects. In some recent experience, he's found several of the major PHP frameworks assume this kind of setup. He mentions a Java framework, Spring, that allows for this kind of redirect and wonders why it's not that easy in something like Slim.

Maybe try grabbing your own code sometime and reinstalling it in a 'non-traditional' way, and see how many assumptions you've baked in are really necessary, vs just using defaults.
0 comments voice your opinion now!
subfolder project portable framework

Link: http://michaelkimsal.com/blog/is-your-code-portable-to-subfolders/

Anthony Ferrara:
Introducing Recki-CT
September 01, 2014 @ 10:56:46

Anthony Ferrara has introduced an interesting new tool in his most recent post, a compiler toolkit for PHP: Recki-CT.

Over 1.5 years ago, I introduced PHPPHP to the world. It was the first implementation of the PHP language written in PHP itself. But PHPPHP suffered from a few problems which relegated it to toy status (such as performance). Today, I get to introduce you to another implementation of PHP, written in PHP. But this one is no toy. This one... This one is fun...

He goes on to introduce the tool, pointing out what it is (and isn't) and how it compiles the PHP down into machine code. He covers the difference between it and things like HHVM and some benchmarks on how fast the resulting code performs. He also gives some thanks to people who helped him along the way (as well as sone of the projects it relies on). If you're interested in finding out more, check out the project's GitHub page for complete info and the latest version.

0 comments voice your opinion now!
reckict project compile language phpphp

Link: http://blog.ircmaxell.com/2014/08/introducing-recki-ct.html

Engine Yard Blog:
Engine Yard Is Sponsoring Composer
August 27, 2014 @ 11:50:24

According to this new post to the EngineYard blog, they're announcing their formal sponsorship of a tool that has revolutionized the way PHP libraries and packages are used: Composer.

Open source is a big deal at Engine Yard. Originally founded as a Ruby company, most of our early work was in the Ruby community. Since acquiring Orchestra in 2011, we have been investing in the PHP commmunity and are continually on the look out for ways to give back. So I'm thrilled to be sharing the latest news on this front. [...] We care a lot about PHP and we want to continue our mission of supporting key pieces of infrastructure in the communities we serve.

Their support is coming in the form of a community grant provided over the next twelve months. This fund ($15k) will provide support for the continued development of the project and Nils Adermann, one of Composer's principal developers.

0 comments voice your opinion now!
engineyard sponsor composer communitygrant project

Link: https://blog.engineyard.com/2014/engine-yard-sponsoring-composer

Alex Bilbie:
Open Source Guilt
August 18, 2014 @ 13:29:43

Alex Bilbie has an interesting new post to his site looking at the idea of open source guilt. He uses the term to describe the feeling you can get when a project falls by the wayside and you're not putting as much effort into it as you had before. He uses his own real-world project work as an example (an Oauth2 server and client).

I've willingly and happily poured hours of my life into both projects. [...] After leaving the university I moved to London and my life "got flipped-turned upside down" (as Will Smith once put it) which naturally resulted in a reduction in the number of commits that went into the projects. [...] I did my best with the emails piling up in my inbox but I also ignored many. [...] Releasing open source projects is a great feeling however there are a number of considerations one should bear in mind.

He makes the suggestion of four things to keep in mind when working on and releasing an open source project. These are things that can remind you (and keep you away from) some of the issues he's had in his own work:

  • Actions have consequences
  • People want to help
  • Your personal reputation is on the line
  • Popular open source projects work well when the authors are using the project regularly themselves

He also includes a few personal things he's going to do to try to make life easier and happier including roadmaps for projects, documenting via FAQs and being more honest about his own availability.

0 comments voice your opinion now!
opensource guilt project maintenance personal

Link: http://alexbilbie.com/2014/08/open-source-guilt/

Reddit.com:
PHP library authors Have you considered to arrange security bug bounties?
August 06, 2014 @ 10:39:00

In this new post to Reddit.com Timoh suggests something that could definitely help improve the overall security of the PHP ecosystem - a bug bounty system, providing libraries and projects an easy way to security-related submissions for their code.

To encourage software security research on the open-source PHP libraries we use everyday, I have been brainstorming the possibilities for us, the code authors, to start to offer security bug bounties on the projects we maintain. It is a shame such a few PHP projects encourages security research by offering bug bounties, and I think it doesn't have to be this way.

He describes his ideas for the system including the ability to offer both monetary bounties and other kinds of recognition as well. Comments on the post are largely supportive, agreeing with him that it can definitely help things. He also makes the suggestion of getting frameworks with corporate backings (like Zend Framework and Symfony) to be some of the leaders and be an example to other projects and get them on board. What do you think? Add your own thoughts and suggestions about the project to the mix!

0 comments voice your opinion now!
bugbounty service project library zendframework symfony bounty recognition

Link: http://www.reddit.com/r/PHP/comments/2cpu6v/php_library_authors_have_you_considered_to/


Community Events





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


framework version laravel library composer community release security voicesoftheelephpant tool series list opinion introduction language symfony interview artisanfiles podcast conference

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