News Feed
Sections




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

Sound of Symfony Podcast:
Episode 6 - The SymfonyCon Special
December 19, 2014 @ 09:02:53

The Sound of Symfony podcast has released their latest episode today: Episode #6, The SymfonyCon Special. This episode was recorded at SymfonyCon Madrid 2014 that happened in Spain at the end of November.

In this episode we're all about SymfonyCon. So much so that we in fact recorded this episode at the SymfonyCon Hack day. As usual, we go over the news and community update, but the rest of the episode is focused on discussing the conference with our guests.

Among the topics discussed are things like:

You can listen to this latest episode either through the in-page audio player or by downloading the mp3. If you enjoy it, you can subscribe to their feed too.

0 comments voice your opinion now!
soundofsymfony podcast ep6 symfonycon live recording

Link: http://www.soundofsymfony.com/episode/episode-6/

Community News:
Packagist Latest Releases for 12.19.2014
December 19, 2014 @ 08:09:21

Recent releases from the Packagist:


Lee Blue:
How PHP Frameworks Affect Profitability
December 18, 2014 @ 11:37:19

Lee Blue has posted his next article in a series covering some of the real costs and considerations around using PHP for your applications. In this latest post he talks about frameworks and what kind of effect they could have on the overall profitability of your business.

Last week we talked about application shelf life an aspect of PHP development that often goes overlooked. This week let's talk about how the web development framework you use contributes to the shelf life of your app and the profitability of your web application. [...] The main goal of all web frameworks is to improve the developer's ability to get ordinary things done so we can focus on the primary goals of what we're building.

He talks about how PHP was "made for the web" and why there are so many different kinds of frameworks out there (though most are generally MVC-ish). He talks about one of the standard arguments, learning curve vs efficiency, and how it compares to the "no framework framework" ideals. He then gets into some of the dark side of using frameworks, specifically how they can shorten the shelf life of an application and how difficult migration can sometimes be. He points out the irony of large frameworks: the bigger the app/framework, the harder it can be to migrate (and cost more). He encourages sticking with smaller, lighter frameworks instead and suggests coding standards, common packages and using custom libraries only where needed to create your application.

0 comments voice your opinion now!
framework profitability cost migration small mvc

Link: http://leehblue.com/php-frameworks-affect-profitability/

Matthieu Napoli:
Test against the lowest Composer dependencies on Travis
December 18, 2014 @ 10:53:58

Recently the "prefer-lowest" option of Composer was mentioned in relation to testing for Symfony-based applications. In this new post to his site Matthieu Napoli shows how you can do it on any project that uses the Travis-CI continuous integration service.

Composer just got a new awesome addition thanks to Nicolas Grekas: prefer the lowest versions of your dependencies. [...] This amazing option will install the lowest versions possible for all your dependencies. What for? Tests of course!

He includes all the instructions you'll need to get your Travis build using this command line option, starting with testing it on your own system first. He shows a basic ".travis.yml" file with the configuration you'll need to provide it use the "prefer-lowest" (check out line 17). He does point out that you'll need to run a "composer self-update" first though, as Travis hasn't quite caught up with the latest Composer that includes this option.

0 comments voice your opinion now!
test lowest dependency version composer travisci tutorial

Link: http://mnapoli.fr/test-lowest-dependencies/

SitePoint PHP Blog:
Getting Started with Medoo - Examples of Use
December 18, 2014 @ 09:45:26

On the SitePoint PHP blog, there's a new tutorial that introduces you to the Meedoo library, a tool to make working with databases even easier. In this tutorial Wern Ancheta walks you through some of the basics of the tool and shows you how to use it with a Pokemon-based example.

In this article I'm going to walk you through Medoo, a lightweight database abstraction library for PHP. Its main features include: support for multiple databases, being secure and easy to use. [...] While Medoo is nothing revolutionary, and the fact that it sports a very small filesize matters little to few, it's still an interesting project that went from being outright dismissed to vaguely accepted, as evident in these threads. It's on its way up, and that's our reason for taking a look at it.

Once installed (he recommends using Composer) you can follow along with his examples showing how to connect to the database, make a simple select and define something a bit more complex (like multiple other requirements in the SQL statement's "where"). He shows how to execute manual queries and handling more complex operations like joins. He then gets into the other parts of the usual CRUD handling - inserting new data, updating data and deleting data.He finishes the post by mentioning aggregate functions and some of the debugging options the tool includes.

0 comments voice your opinion now!
medoo database tutorial library tool crud complex

Link: http://www.sitepoint.com/getting-started-medoo-examples-use/

Community News:
Packagist Latest Releases for 12.18.2014
December 18, 2014 @ 08:09:10

Recent releases from the Packagist:


php[architect]:
Announcing php[tek] 2015 & the Open Call for Papers
December 17, 2014 @ 13:34:02

php[architect] has a quick post on their site today announcing their latest conference, php[tek] 2015 and the opening of its Call for Papers.

Today we've opened up the Call for Papers (as well as registration) for our upcoming conference php[tek] 2015. This conference will once again take place in Chicago, IL, from the dates of May 18th to May 22nd. The call for papers is only open until January 19th however. So don't delay in submitting those talk ideas to us!

The conference will be happening at its usual spot in Chicago, Illinois and there's "big plans this year to be the biggest best php[tek] ever." If you're interested in the event, check out the the main site or last year's site for more information.

0 comments voice your opinion now!
phptek15 tek15 conference announcement callforpapers cfp

Link: http://www.phparch.com/2014/12/announcing-phptek-2015-and-our-call-for-papers/

Symfony Blog:
Testing minimal versions of Symfony requirements
December 17, 2014 @ 12:02:47

On the Symfony blog today there's a quick tip from Nicolas Grekas about using Composer to install a Symfony2 project and the definition of minimum version requirements.

Setting up Composer package versions for complex projects is not an easy task. For starters, there are a lot of different ways to define package versions. Then, you must check that declared package versions really work when installing or updating the project, specially for the minimal versions configured. In order to improve testing the minimal versions of Symfony Components requirements, Composer now includes two new options: prefer-lowest and prefer-stable. [...] Thanks to these two new options, it's really easy to check whether your project really works for the minimal package versions declared by it.

He includes definitions of what impact each of the options has on the packages Composer installs and the work that's been done recently to define the correct package versions for the 2.3, 2.5 and 2.6 branches of Symfony. He also offers some steps to follow in your own projects to ensure that the "prefer-lowest" packages installed work correctly.

0 comments voice your opinion now!
symfony framework package version preferlowest preferstable

Link: http://symfony.com/blog/testing-minimal-versions-of-symfony-requirements


Community Events





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


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

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