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

Symfony Blog:
New in Symfony 4.2
Oct 05, 2018 @ 17:06:50

Over the past several weeks the Symfony project blog has released a series of posts detailing new features in the 4.2 release of the framework. Here's the current listing of those posts:

Each post includes a summary of the changes or additions and some example code and configuration showing it in use.

tagged: symfony framework feature component update addition list

Link: https://symfony.com/blog/

Fabien Potencier:
Symfony Flex Private Repositories
Nov 27, 2017 @ 17:45:25

Fabien Potencier has a new post to his site covering the addition of support for private repositories to the features Symfony Flex provides.

Many Flex early adopters asked for it. The Symfony Flex server now supports private recipes repositories as announced during my keynote at SymfonyCon Cluj.

Creating a repository for your private recipes is easy. Create a regular Github repository (probably a private one) to store the recipes. The directory structure is the same as for the official Flex recipes repositories. Then, register the repository as a recipes repository. Done.

The private repositories will behave just like the other public ones in your application. You can also use them to override aliases. There are a few differences between public and private, however, like auto-merge not being supported.

tagged: symfony symfonyflex private repository support addition

Link: http://fabien.potencier.org/symfony4-flex-private-repositories.html

Medium.com:
Upcoming changes in PHP 7.1
May 16, 2016 @ 16:45:32

In this article on Medium.com Amo Chohan covers some of the changes that are coming to the language in PHP 7.1.

Below are the key changes that will be introduced (or removed) in PHP 7.1. For a full list, and to see which changes are being discussed, check out the official PHP RFC.

Included in the list of updates/additions are things like:

  • Catching multiple exception types
  • Support class constant visibility
  • Void return types
  • Warn about invalid strings in arithmetic
  • Deprecate and remove mcrypt()

He then goes through some of the complete list and provides a brief overview of the change and some code samples where appropriate.

tagged: changes php71 features deprecation examples addition

Link: https://dotdev.co/upcoming-changes-in-php-7-1-76ebea53b820#.ynausa1pm

KingFoo Blog:
PHP 5.4 - What's new?
Jan 24, 2012 @ 14:50:42

On the KingFoo blog today there's an excellent look at everything new coming up in PHP 5.4, the next version of PHP set to be released in early February.

PHP 5.4 will be stable soon. In this post I’ll try to give you an overview and examples of the new PHP 5.4 features. If you want to try out PHP 5.4 (which is currently in RC3), it has to be installed first. I suggest that you try this out on a virtual machine so you don’t break your current PHP version.

Improvements on the list include:

  • Improved Session Extension
  • Built-in webserver
  • Traits
  • Array dereferencing
  • Method calls through arrays
  • Binary notation for integers
  • Instantiate a class without running constructor
  • Improved JSON extension
  • Improved CURL extension

And this is just a start - they detail each of the improvements and provide code where needed to illustrate the update. They also link over to the PHP.net manual (or PHP bug tracker) for more information on the new feature/change.

tagged: version upcoming language improvement addition new

Link:

The Tutorial Blog:
Adding security to CodeIgniter forms with a custom library class
Dec 17, 2009 @ 14:15:41

On The Tutorial Blog today they've shared a library that you can use on your CodeIgniter application to help give your forms a bit more security - a math problem "captcha".

The class that we are going to create within CI will simply add a math question that the user will have to enter correctly to continue. This is useful to stop bots from mass submitting information to your forms. The class we are going to write is only very short and simple, but it will give you an idea of how to create classes for your own projects.

Their class creates two random numbers to be used for the question, displays the question the user should answer (Ex. "What is 2 + 4?") and sets the answer in the flashdata, ready for the page submit. When the controller reloads, the answer the user gave and the one from the flash are compared as a part of the standard form validation rules.

tagged: codeigniter framework tutorial captcha addition

Link:

Derick Rethans' Blog:
eZ Components (Awards)
Jun 24, 2008 @ 13:43:21

Recently the eZ Systems group had their eZ Awards ceremony at this year's Open Nordic Conference 2008. Derick Rethans has a brief post about the ceremony and the nominees/winner of the eZ Components award.

Last Thursday, during the Open Nordic Conference 2008 eZ Systems handed out its annual awards again. For the eZ Components award, there were four nominees, which are all recognised for their support of the eZ Components project.

Nominees included Stefan Marr and Falko Menge, James Pic, Andreas Schamberger and Freddie Witherden. The winner was James Pic for his work with the upcoming MVC additions to the component framework.

tagged: ezcomponents award jamespic mvc addition

Link:

Community News:
New Yahoo! Pipes PHP serialized output renderer
Apr 07, 2008 @ 17:05:17

As mentioned on the Zend Developer Zone and by John Herren, Yahoo! has added a new feature to its Pipes functionality - serialized PHP results.

Until now JSON output has been the only way to obtain all the data flowing through a Pipe. Starting today we've added a second way of getting all the data - serialized PHP Pipe output. [...] It's then up to you on how you want to display or use the Pipe data. The possibilities are endless.

If you haven't messed with Yahoo's Pipes system, you owe to it to yourself to at least go and play with it for a little bit.

tagged: yahoo pipes serialized output addition johnherren

Link:

Dan Scott's Blog:
Oooh...looks like I've got (even more) work cut out for me
Jan 18, 2008 @ 19:58:00

On his blog, Dan Scott notes that the PHP language will be getting a native doubly-linked list structure in the coming days (as mentioned by Etienne Kneuss).

This is fabulous news; when I wrote the File_MARC PEAR package, I ended up having to implement a linked list class in PEAR to support it.

Doubly linked lists are normal lists, but the elements also have links to both the previous and next items in the list as well. Two other structures will be added right along with it - SplStack and SplQueue.

tagged: doublylinked list dtructure spl addition splqueue splstack

Link:

Padraic Brady's Blog:
Complex Views w/Zend Framework - The Final Chapter: ZFE & Zend_Layout in Core!
Dec 21, 2007 @ 18:52:00

Padraic Brady has posted some of his comments on the newly included Zend_Layout and Zend_View_Enhanced components for the Zend_Framework:

These two (now much more polished!) components were both designed to solve the concerns a lot of developers were having in achieving truly complex, structured and modular Views using Zend_View.

Indeed there are months of blog postings, debates, experimental and not-so-experimental code, proposals, IRC sessions and countless emails pouring over how to accomplish the goals of these components. The end result is something I feel will serve Zend Framework users faithfully for months and years to come.

He thanks the developers (Matthew and Ralph) and notes that the inclusion of these two components is one of the largest advancements of the display layer for the Framework in a while.

tagged: chapter zendviewenhanced zendlayout core addition chapter zendviewenhanced zendlayout core addition

Link:

Padraic Brady's Blog:
Complex Views w/Zend Framework - The Final Chapter: ZFE & Zend_Layout in Core!
Dec 21, 2007 @ 18:52:00

Padraic Brady has posted some of his comments on the newly included Zend_Layout and Zend_View_Enhanced components for the Zend_Framework:

These two (now much more polished!) components were both designed to solve the concerns a lot of developers were having in achieving truly complex, structured and modular Views using Zend_View.

Indeed there are months of blog postings, debates, experimental and not-so-experimental code, proposals, IRC sessions and countless emails pouring over how to accomplish the goals of these components. The end result is something I feel will serve Zend Framework users faithfully for months and years to come.

He thanks the developers (Matthew and Ralph) and notes that the inclusion of these two components is one of the largest advancements of the display layer for the Framework in a while.

tagged: chapter zendviewenhanced zendlayout core addition chapter zendviewenhanced zendlayout core addition

Link:


Trending Topics: