News Feed
Sections




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

SitePoint PHP Blog:
No More var_dump - Introducing Symfony VarDumper!
December 22, 2014 @ 09:05:25

The SitePoint PHP blog has a recent post about an addition to the Symfony framework that can make debugging (or just outputting errors) a more pleasant experience: the VarDumper component.

Recently, Symfony went from Zend-like bloat and rigidity to extreme decoupling and modularity. [...] One factor that contributes to this factor a lot is their continuous pushing out of new components that are incredibly useful outside of Symfony's context. One such component is the new VarDumper.

He talks first about the "why" the component was created and why you might want to use it. He links to the documentation and what kinds of features come along with it. He also shows a quick install of the component, some usage of it in the code and the resulting output of both simple and complex data structures, including method structure, visibility and closure information.

0 comments voice your opinion now!
symfony, component, vardumper, introduction, framework

Link: http://www.sitepoint.com/var_dump-introducing-symfony-vardumper/

Community News:
Packagist Latest Releases for 12.22.2014
December 22, 2014 @ 08:03:42

Recent releases from the Packagist:

Community News:
Latest PEAR Releases for 12.22.2014
December 22, 2014 @ 07:02:15

Latest PEAR Releases:
0 comments voice your opinion now!



Community News:
Packagist Latest Releases for 12.21.2014
December 21, 2014 @ 08:00:48

Recent releases from the Packagist:
0 comments voice your opinion now!



Community News:
Packagist Latest Releases for 12.20.2014
December 20, 2014 @ 08:02:33

Recent releases from the Packagist:

Developer Drive:
Simplify your documentation process with Couscous
December 19, 2014 @ 12:14:49

On the Developer Drive site today there's a quick post introducing you to Couscous, a PHP-based documentation generation tool. Couscous translates your Markdown files into HTML output that's professional and clean looking.

If there's one thing I hate more than tracking down bugs, it's documenting code. It takes forever, it's almost a project in itself, and I never seem to factor it into my project lifecycle. Setting out to solve that problem for me, and anyone else whose life is too short, is Couscous. Couscous takes markdown files and converts them into professional standard HTML docs that colleagues, or fellow developers, can easily follow. You can preview the resulting site on your local machine, correct any issues, and then deploy straight to GitHub where it will be hosted for you.

They walk you through the (brief) process of getting the tool installed via Composer and using it to show you a preview of your documentation. The "deploy" command then allows you to easily deploy the results out to a GitHub Pages location on the gh-pages branch. You can find out more about Couscous on the project website.

0 comments voice your opinion now!
documentation couscous tool markdown generate html output

Link: http://www.developerdrive.com/2014/12/simplify-your-documentation-process-with-couscous/

E
December 19, 2014 @ 11:56:41

On the SitePoint PHP blog a new tutorial has been posted showing you how to effectively search Chinese content with ElasticSearch. ElasticSearch is a "powerful open source search and analytics engine that makes data easy to explore" and plays nice with PHP via a JSON based query format.

If you have played with Elasticsearch, you already know that analyzing and tokenization are the most important steps while indexing content, and without them your pertinency is going to be bad, your users unhappy and your results poorly sorted. Even with English content you can lose pertinence with a bad stemming, miss some documents when not performing proper elision and so on. And that's worse if you are indexing another language; the default analyzers are not all-purpose. When dealing with Chinese documents, everything is even more complex, even by considering only Mandarin which is the official language in China and the most spoken worldwide.

He starts by explaining exactly what the problem is with searching Chinese content including the fact that some words can actually be a combination of two or more characters (words). He then lists out a few plugins and tools that can be integrated with ElasticSearch to help with analyzing the content. He goes through each of them and provides instructions on installation and usage. He ends the post with a sample of the results for a set of three search terms, comparing the matches each found.

0 comments voice your opinion now!
chinese search elasticsearch tutorial tokenization analysis

Link: http://www.sitepoint.com/efficient-chinese-search-elasticsearch/

PHP.net:
Release of PHP 5.4.36, 5.5.20 and 5.6.4 (Includes Security Fix)
December 19, 2014 @ 10:39:54

The PHP.net has announced the releases of several new versions in all of the current major series, all correcting several bugs including a CVE-related (security) related to unserialization. This security issue was reported in CVE-2014-8142 and relates to this bug report. It is highly recommended that you upgrade your versions to correct this potential security vulnerability. The latest versions are:

As always, you can download these latest releases directly from the downloads page or http://windows.php.net/download for the Windows users. If you're interested in the other bugs fixed in these releases, check out the full Changelog.

0 comments voice your opinion now!
language release bugfix php55 php56 php54 security cve20148242

Link: http://php.net/archive/2014.php#id2014-12-18-3

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:


Community Events





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


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

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