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

/Dev/Hell Podcast:
Episode 44 Gorf Fever
May 06, 2014 @ 12:09:44

The /Dev/Hell podcast, hosted by PHP community members Ed Finkler and Chris Hartjes, has released its latest episode - Episode #44 - Gorf Fever.

This weeks brings us a new guest and a new sponsor! Paddy Foran is an old friend of Chris and Ed's who makes his first appearance on the show, talking about the Go programming language, software architecture, open source projects, and his new book "Your API is Bad." We also welcome new sponsor Roave!

There's also mentions of a few other topics including Go, 2cloud and, of course, Gorf. You can listen to this latest episode either through the in-page player, by downloading the mp3 directly or by subscribing to their feed.

0 comments voice your opinion now!
devhell podcast ep44 gorf paddyforan api book

Link: http://devhell.info/post/2014-05-04/gorf-fever/

Medium.com:
Getting Started With Laravel 4 - A Book Review
March 19, 2014 @ 12:52:57

On Medium.com there's a recent post reviewing the book "Getting Started with Laravel 4". In the review Christopher Pitt briefly covers both the good and bad parts of the book.

This book is aimed at newcomers to PHP development, and to Laravel 4 in particular. It doesn't disappoint. It starts slow, talking about the need for, and role filled by frameworks. It explains what Composer does, and why it's useful for frameworks like Laravel. It's not the typical "Laravel needs Composer, here's the code you use" stuff. There are 40 pages of what is essentially a very gentle introduction, before you even start writing code.

He talks about the sample application the book walks you through creating and some other topics around it including unit testing and artisan commands. He mentions the more popular Code Bright book and points out that he believes it (Code Bright) to be a better deal for the money if you're looking for the more comprehensive intro to Laravel.

0 comments voice your opinion now!
book review gettingstarted laravel4 framework

Link: https://medium.com/tech-reviews/f8881d2014c7

Matthias Noback:
The "dark" side of PHP
February 10, 2014 @ 12:58:14

In his latest post Matthias Noback talks about the "dark" side of PHP and some of the common problems of working with and using packages. This is the introduction from his upcoming book on the same subject.

PHP is actually a very problematic language. It has somewhat of a bad reputation. This is no surprise to me, given the huge amounts of bad code written in PHP, produced by novice "developers", yet available for a large audience to copy into their projects. [...] PHP has become such a big player - I guess - because it is so easy to learn. Starting with a simple HTML page it does not take much effort to add some dynamic functionality to it. There is no need to go to school and learn about programming before you can use PHP on your web server.

For all of this good that PHP brings to the table, there's also the bad practices that can come with it. While PHP can be forgiving about bad practices, there's only so far it can go before it starts throwing errors. Since the parsing comes late in the game, bad code can sneak in and not be noticed until it's used.

0 comments voice your opinion now!
package design misuse book introduction language

Link: http://php-and-symfony.matthiasnoback.nl/2014/02/the-dark-side-of-php

SitePoint PHP Blog:
PHP The Right Way The Book
February 03, 2014 @ 12:05:57

On the SitePoint PHP blog today Bruno Skvorc talks about one of the best resources out there for people new to the PHP language (or even those wanting to hone their skills) - PHP: The Right Way. In his post he talks about the guide, it being published on LeanPub and where the proceeds from the book are going.

We can't keep the newbies away, and we can't educate the clients because most clients learn exclusively on mistakes. Shared host environments are also to blame, because their plans seldom include the most recent version of PHP, and are, due to price and ease of use, still the preferred hosting solution for legions of newcomers. So what can we do to spread best practices?

PTRW is a community effort, a website built entirely around spreading best up-to-date PHP practices. It's far from exhaustive - instead, it tries to bullet-list the things you should pay attention to, and links to quality resources where one can learn more about the various aspects it covers.

The book is an online resource, but it's been put on LeanPub to make it more portable and available offline. Since the book is a community resource and no one person should make the money from it, the choice was made to have all proceeds go to the Electronic Frontier Foundation. He finishes off the post with a brief interview with the book's maintainers Phil Sturgeon and Josh Lockhart.

0 comments voice your opinion now!
phptherightway book eff interview philsturgeon joshlockhart

Link: http://www.sitepoint.com/php-right-way-book

CodeBlog.ch:
Book Review - Learning FuelPHP for Effective PHP Development
December 06, 2013 @ 10:58:51

On the CodeBlog they've posted a review of a recent release from Packt Publishing about using the FuelPHP framework for beginners.

I've been playing around with FuelPHP for a while and despite the fact that I haven't used it in production, it has been on my watch list ever since I first saw it. When I saw the new book about FuelPHP by Ross Tweedie, I was eager to read it - here's my feedback about. If you just want to buy the book, you can get it at Amazon or directly from Packt Publishing.

The review looks at each chapter and provides an overview of its contents (seven of them). It also talks some about the target audience for the book - intermediate to advanced PHP developers wanting to learn more about the framework. To be clear, this is not an "introduction to PHP" book too. He points out some of the "bads" about the book including major concepts being explained too high-level and confusion about what exactly to do in certain steps of the process.

Should I read this book? It depends on your background - I wouldn't recommend it if you're a PHP programmer who hasn't worked with namespaces, databases before. [...] I'd definitely recommend to book if you worked with other frameworks like CodeIgniter, Yii, Zend .. before and now want to have a look at FuelPHP. You'll get a good impression about its possibilities!
0 comments voice your opinion now!
fuelphp book review fuelphp development packt publishing

Link: http://www.codeblog.ch/2013/12/fuelphp-book-review/

Community News:
"Laravel From Apprentice To Artisan" Book Release
July 17, 2013 @ 10:31:41

As is mentioned on Reddit.com, Taylor Otwell (author of the Laravel framework) has released his latest book about the architecture of Laravel applications.

Written by the creator of Laravel, this is the definitive guide to advanced application development with Laravel 4. Learn about dependency injection, interfaces, service providers, SOLID design, and more while exploring practical, real-world code examples. Whether you're building a robust, large application with the Laravel framework, or just want to sharpen your software design chops, this book will be of great value to you and your team.

The book covers a lot of common architecture concepts too, not just things specific to Laravel like:

  • Interfaces as contracts
  • Working with service providers
  • the Single Responsibility Principle
  • the Interface Segregation Principle
  • the Dependency Inversion Principle

You might notice that those last few chapters are actually covering the SOLID design principles. You can pick up the book over on Leanpub.

0 comments voice your opinion now!
book release laravel framework taylorotwell architecture solid principles

Link: http://www.reddit.com/r/PHP/comments/1ifd09/laravel_4_from_apprentice_to_artisan_book_released

Hari K T:
The Book on Aura
July 09, 2013 @ 11:17:48

Hari K T, one of the main developers involved with the Aura framework project, has started writing a book about the framework and its use.

There has been lot of requests to show how the individual packages in aura, can be made use inside the framework. So today I am happy to announce that there is a work in progress to make the framework documentation better. I have already started the work on the same.

He already has some sample chapters online and some example code based on the concepts. If you're interested in the book or the framework and want to put your two cents in, consider joining the Aura Google Group and giving your feedback.

0 comments voice your opinion now!
book auraframework example googlegroup

Link: http://harikt.com/blog/2013/07/09/the-book-on-aura/

Community News:
The PHP Internals Book
June 11, 2013 @ 10:44:33

For those that are interested in how PHP works "under the covers" and maybe want to get started writing your own extensions for it, you should check out the PHP Internals Book. It's a collaborative effort between Julien Pauli, Anthony Ferrara and Nikita Popov.

There are three primary goals of this book: Document and describe how PHP internals work, how to extend the language with extensions, how you can interact with the community to develop PHP itself. This book is primarily targeted at developers who have experience in the C programming language. However, where-ever possible we will attempt to distill the information and summarize it so that developers who don't know C will still be able to understand the content.

The book is a work in progress, but they're off to a good start. They already have sections covering some of the basics of working with classes and objects (including iterators and "magic interfaces").

0 comments voice your opinion now!
internals book online introduction language development

Link: http://www.phpinternalsbook.com

Rob Allen:
Objects in the model layer Part 2
April 02, 2013 @ 11:55:50

Rob Allen previously posted about some of his practices around the different types of objects in the model layer of his Zend Framework 2 applications. In this latest post he follows up and shares some example code for the different types.

I previously talked about the terms I use for objects in the model layer and now it's time to put some code on those bones. Note that,as always, all code here is example code and not production-ready.

He includes sample classes related to his "books" examples - a "book" entity (with title, author, id and ISBN), a mapper object to load/save/delete the entity and a service object that provides an interface for the entity to the rest of the application.

0 comments voice your opinion now!
object model layer entity mapper service interface book


Community News:
The Grumpy Programmer's PHPUnit Cookbook Released
March 05, 2013 @ 10:17:15

Chris Hartjes (aka the "Grumpy Programmer") has written a second book that aims to teach you even more about writing testable applications. Where his first book taught the basics of making apps testable, this new book - The Grumpy Programmer's PHPUnit Cookbook provides code examples showing how to solve some of the common problems you'll come across when testing your applications.

You know you need something better, but time just doesn't seem to be on your side. Making things "right" is costly and you need to deliver working code NOW. Tests would be great but there are real deadlines to meet. You can't stop development and churn away for hours just to add tests around what you know already works. [...] No longer would you dread the bug reports. You'd happily make changes knowing that your safety net is there. You'd try out new features guiding yourself with tests.

The book covers some more advanced topics than you might have seen in the previous book including data providers, test doubles, faking test data (or using external sources) and writing tests for APIs, databases and exceptions. If this sounds interesting to you, you can pick up your own copy of the book on his site (or try out the sample first).

0 comments voice your opinion now!
book phpunit unittesting cookbook published



Community Events





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


install laravel opinion code symfony2 podcast release refactor series interview unittest testing framework community language configure list threedevsandamaybe introduction developer

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