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

Anthony Ferrara:
A Followup To An Open Letter To PHP-FIG
October 17, 2014 @ 11:51:35

Based on some of the responses to his previous open letter to the PHP-FIG (Framework Interoperability Group), Anthony Ferrara has posted a follow-up explaining some of his points made and the caching proposal in a bit more detail.

A few days ago, I wrote An Open Letter to PHP-FIG. Largely the feedback on it was positive, but not all. So I feel like I do have a few more things to say. What follows is a collection of followups to specific points of contention raised about my post. I'm going to ignore the politics and any non-technical discussion here.

He points out that while the previous post wasn't completely about the cache proposal (it was used as a "literary device") there was some confusion on it. He walks through the "unnecessary complexity" he sees with it, citing code examples, and makes points about performance, memory usage handling stampede protection and the creation of standard ways to avoid it. He ends the post with a look at group invalidation handling and two ways it could be accomplished, either via namespacing or through tagging the items and using that as a reference point for the invalidation.

0 comments voice your opinion now!
open letter phpfig cache proposal detail opinion problem

Link: http://blog.ircmaxell.com/2014/10/a-followup-to-open-letter-to-php-fig.html

Community News:
Confoo Conference Call for Papers Opens
August 29, 2014 @ 10:32:25

The Confoo conference has officially announced the opening of their Call for Papers for their 2015 event (happening in mid-February). The conference is multi-disciplinary and covers a wide range of topics including: .NET, PHP, Databases, Mobile, UX and Security.

We are looking for the best speakers, willing to share their experience and their skills with developers and managers. [...] You may present in English or in French. If you can present in either language, simply add a note when submitting. Presentations are 35 minutes + 10 minutes for questions.

The call for papers will only be open until September 2nd (less than a month) so be sure to submit early and submit often. It's recommended that you submit more than one session too. You can find out more about the conference - or just pick up tickets of your own - on the main conference website.

0 comments voice your opinion now!
confoo15 conference callforpapers cfp open

Link: http://confoo.ca/en/call-for-papers

NetTuts.com:
SOLID Part 2 - The Open/Closed Principle
January 21, 2014 @ 12:45:29

On NetTuts.com today they continue their look at the SOLID development principles with the next letter in the sequence - O for Open/Closed Principle. The first part of the series, covering "S" (the Single Responsibility Principle) can be found here.

The Open/Closed Principle, OCP in short, is credited to Bertrand Mayer, a French programmer, who first published it in his book Object-Oriented Software Construction in 1988. The principle rose in popularity in the early 2000s when it became one of the SOLID principles defined by Robert C. Martin in his book Agile Software Development, Principles, Patterns, and Practices and later republished in the C# version of the book Agile Principles, Patterns, and Practices in C#. What we are basically talking about here is to design our modules, classes and functions in a way that when a new functionality is needed, we should not modify our existing code but rather write new code that will be used by existing code.

They start with a look at OCP in the overall SOLID context and an example of an obvious violation of the principle. Some example code is provided showing a "Progress" class that's bound to at "File" implementation, not abstracted. They offer three different options for solving the issue:

  • Take Advantage of the Dynamic Nature of PHP
  • Use the Strategy Design Pattern
  • Use the Template Method Design Pattern

Each of the above comes with example code and some with illustrations of the structure they create.

0 comments voice your opinion now!
solid design principles open closed tutorial introduction

Link: http://net.tutsplus.com/tutorials/php/solid-part-2-the-openclosed-principle

Community News:
[php]tek 2014 Call for Papers Opened!
December 16, 2013 @ 07:56:19

The [php]tek conference has officially announced their Call for Papers for their upcoming (in 2014) conference:

Today we are opening up the Call for Papers for php[tek] 2014. We are looking forward to reviewing all of the amazing submissions we expect to get this year. Last year we had over 400 submissions, can we break the record this year?

Head over to the Call for Papers page to see details on the few changes we are making this year, and also check out our Speaker's Package (which is the same as last year).

The Call for Papers is only open until January 10th (UTC) so be thinking of those topics and get them submitted!

0 comments voice your opinion now!
phptek14 conference callforpapers cfp open

Link: http://tek.phparch.com/opening-the-call-for-papers/

Community News:
PHP-FIG Voting on PSR-4 Opened
September 20, 2013 @ 12:18:31

The PHP-FIG has officially started the voting process for the PSR-4 autoloading standard that would provide an interface to make autoloading a bit more standardized across applications.

The purpose is to specify the rules for an interoperable PHP autoloader that maps namespaces to file system paths, and that can co-exist with any other SPL registered autoloader. This would be an addition to, not a replacement for, PSR-0.

The current autoloading standard definition (PSR-0) still allows for the use of the underscore in class names to resolve to directory paths in the application's files. In this new standard, that allowance is gone, relying only on the actual namespacing to define package pathing. This "package-oriented autoloading" is set to help move PHP package development forward into a more standardized structure.

0 comments voice your opinion now!
psr4 voting process open member autoload definition

Link: https://groups.google.com/forum/#!topic/php-fig/NWfyAeF7Psk

Community News:
Dutch PHP Conference (2013) Call for Papers Opens
January 16, 2013 @ 08:45:00

The Dutch PHP Conference has officially opened their Call for Papers for this year's event (happening in early June):

We're back! And we are glad to announce that we'll be organising another edition of the Dutch PHP Conference, which will be held in Amsterdam from 6th to 8th June 2013.

Submissions should be relevant to PHP developers, to help them to expand their skill set and improve their practices. In particular we'd like to receive proposals regarding emerging technologies, performance and scalability, platforms and best practices. The standard conference sessions should be 45 minutes and tutorials are 3 or 6 hours in length (note that 6 hours is our preference).

As always we're excited about all kinds of different topics. You could say that as long as it's somehow related to PHP and you're really excited about it, we want to hear it!

You can find out more about the conference in general from the main conference site.

0 comments voice your opinion now!
callforpapers cfp dpc13 dutch conference open


Community News:
PHPBenelux 2013 Call for Papers Opens
September 04, 2012 @ 08:05:49

The PHPBenelux conference has officially announced the opening of the Call for Papers for their 2013 event (happening January 25th and 26th):

fter three successful conferences earlier this year and last year, the PHPBenelux team is proud to announce the 4th edition of the PHPBenelux Conference. Like last year, the conference will last two full days, starting with a half day tutorial followed by 1.5 days of conference. The conference is on Friday 25th January and Saturday 26th January 2013 in Antwerp, Belgium. Become part of this year's speaker schedule at the PHPBenelux Conference 2013. Each chosen speaker receives a speaker package!

There's two types of sessions - the 60 minute regular sessions and 3 hour tutorials. Suggested topics include "Content Management Systems", "Frameworks", "Best Practices" and "HTML5". The Call for Papers is only open until October 1st so be sure to submit your ideas today!

0 comments voice your opinion now!
phpbenelux13 conference callforpapers cfp open


Anna Filina:
ConFoo 2013 - Call for Papers is Now Open!
August 27, 2012 @ 11:46:12

Anna Filina has posted a reminder for all of those that wanted to put their hat into the ring for this year's ConFoo conference - the Call for Papers is now open!

The ConFoo team just opened its call for papers. Candidates can submit proposals until September 23. Consult the call for papers page for details and to start submitting. That page also explains what expenses ConFoo can cover for speakers. You can even get advice on how to write proposals. The call for papers is public, meaning that all proposals get published on the website for others to vote and comment on.

This year's event is happening from February 25th through March 1st in Montreal, Canada with tracks covering things like .NET development, Project Management, Web Standards, DevOps and, of course, PHP. The Call for Papers closes on September 23rd so you have less than a month to get your proposals in!

0 comments voice your opinion now!
confoo13 conference cfp callforpapers open proposals


Anthony Ferrara's Blog:
Open Standards - The Better Way
May 24, 2012 @ 08:18:13

In this new post to his blog Anthony Ferrara responds to some of the recent news about PHP standards being up for voting (PSR-1 and PSR-2). He has an issue with how they were created, though, and notes that the current PSR process doesn't encourage open standards.

There has been a lot of traction lately on the topic of the PSR "PHP Framework Interoperability Group". They are introducing two new proposed standards: PSR-1and PSR-2, both dealing with code formatting standards. [...] I have read both, and actually agree and think they are quite good. However, there's a deeper problem. Open Standards is something that the internet was built upon. From HTTP, E-Mail and HTML to ECMA Script (JavaScript), OAuth and JSON, open standards are everywhere. The problem with the entire PSR process is that it is not designed to produce open standards.

He describes an "open standard" and points to this RFC as an example of the open process they should result from. He talks about the importance of the process and how having more people reviewing and contributing their ideas could help find issues in the proposal. He issues a "call to the PSR team" to adopt this practice, allowing a more open flow to the ideas that are being proposed.

Note that I'm not asking to open the vote to anyone else. I'm not saying that standards should be approved by everyone in the community. There should still be a standards body that makes the final decision. But they should make that decision based on community input. They should actively look for and encourage open discussion prior to voting.
0 comments voice your opinion now!
open standards discussion opinion psr proposal community


Freek Lijten's Blog:
SOLID - The O is for Open Closed Principle
May 07, 2012 @ 10:45:37

Freek Lijten has posted the second part of his series looking at the SOLID development methodology. In this latest post his looks at the second letter in the acronym - "O" for "Open Closed Principle."

Software that requires an enormous amount of changes to implement one new feature or fix a bug is unstable and should be considered as "bad". Software should be designed so, that in case of a new feature, no existing classes should have to change. In other words: it is closed for modification. Existing software may be extended to achieve new features however.

He starts off with a "What" section explaining a bit more about what this open/closed means for your code and gets into an example showing it in a more practical way. He shows how to take the principle and refactor an API connector class to pass in the object it needs (Bike) and use that to get information (rather than just passing in the data). He uses a Factory to get the object type he needs based on the Bike type.

0 comments voice your opinion now!
solid development principles open closed principle



Community Events





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


framework interview api voicesoftheelephpant introduction community deployment laravel install opinion language list series podcast symfony library release tips bugfix package

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