Jeśli jesteś właścicielem tej strony, możesz wyłączyć reklamę poniżej zmieniając pakiet na PRO lub VIP w panelu naszego hostingu już od 4zł!

Archive for Marzec, 2014

Site News: Popular Posts for the Week of 03.28.2014

Site News: Popular Posts for the Week of 03.28.2014Popular posts from PHPDeveloper.org for the past week:

Source: http://www.phpdeveloper.org/news/20967

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Site News: Popular Posts for the Week of 03.28.2014

Site News: Popular Posts for the Week of 03.28.2014Popular posts from PHPDeveloper.org for the past week:

Source: http://www.phpdeveloper.org/news/20967

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Site News: Popular Posts for the Week of 03.28.2014

Site News: Popular Posts for the Week of 03.28.2014Popular posts from PHPDeveloper.org for the past week:

Source: http://www.phpdeveloper.org/news/20967

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

SitePoint PHP Blog: Getting Started with PHP Extension Development via PHP-CPP

SitePoint PHP Blog: Getting Started with PHP Extension Development via PHP-CPP

On the SitePoint PHP blog today there’s a new tutorial from Taylor Ren showing you how to get started with PHP-CPP for creating PHP extensions. PHP-CPP is a C++ library that makes it simpler (and faster) to create PHP-specific extensions.

In your dealings with PHP, you may come to consider writing a PHP extension yourself. [...] When it comes to choosing a tool to build PHP extensions, we see two different approaches: use more pro-PHP semantics, like Zephir or use more pro-C/C++ semantics, like PHP-CPP, which will be addressed in this article. For me, the main drive to select the second approach is simple: I started my programming hobby with C/C++, so I still feel more comfortable writing those lower level modules in C/C++. PHP-CPP’s official site gives a few other reasons to do so.

He walks you through the installation of the library (for now, just a git clone) and getting the needed environment set up to be able to compile and test out the extension. He helps you set up the “skeleton” files for the extension, including some sample content. He includes code for a typical “Hello World” example extension as well as its use in a sample PHP script.

Link: http://www.sitepoint.com/getting-started-php-extension-development-via-php-cpp
Source: http://www.phpdeveloper.org/news/20966

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Ralph Schindler: Authentication & Authorization in Apigility

Ralph Schindler: Authentication & Authorization in Apigility

Those interested in the Apigility project from Zend might want to check out this new post from Ralph Schindler on how it handles authentication and authorization for all of the requests.

Apigility takes a lightweight, layered, yet extensible approach to solving both problems of authentication and authorization. The infrastructure is already in place and ready to be configured to use, or for more advanced use cases: to be extended. Many of these feature can be easily explored through the Apigility user interface.

He gets into authentication first, defining it briefly before getting into the Apigility-specific implementation. He talks about the three methods (HTTP basic, HTTP digest and OAuth2) and mentions where it falls in the execution as well as some screenshots of its setup. Following this he talks about the other half of the equation, authorization. He covers the “Authentication” header, the identity types and where you can find the configuration settings. He finishes off the post with an in-depth look at the different components, events and services/models that make up the authentication and authorization system and make it work.

Link: http://ralphschindler.com/2014/03/26/authentication-authorization-in-apigility
Source: http://www.phpdeveloper.org/news/20965

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Matthew Turland: Travis and Composer and virtPHP, oh my!

Matthew Turland: Travis and Composer and virtPHP, oh my!

Matthew Turland has a new post today to his site looking at the combination of three different technologies – TravisCI, Composer and VirtPHP – and an odd error he was getting from his build about a missing requirement “php”.

In the first build, everything worked fine under 5.4 and 5.5, but upon getting to the composer install instruction to install project dependencies and PHPUnit, the job for 5.3 failed with some rather unintuitive output from Composer that implied it didn’t recognize the platform package requirement that I’d provided for the minimum PHP version. [...] Since the cause of my issue wasn’t immediately obvious from Composer’s output, my first thought was that I needed to begin my attempt at troubleshooting the issue by replicating it on my local machine.

This is where VirtPHP came in. This tool provides an environment where you can install and configure multiple PHP configurations and switch between them easily. It provides a “glue” between the phpenv and php-build projects to make management of the results simpler. He talks about how he configured and set up his environments…and figured out his Composer problem.

Link: http://matthewturland.com/2014/03/26/travis-and-composer-and-virtphp-oh-my
Source: http://www.phpdeveloper.org/news/20964

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

ClearCode: Symfony – Project Tamed

ClearCode: Symfony – Project Tamed

On the ClearCode blog today there’s a new post for the Synfomy2 users out there with some recommendations about taming your project to make it more manageable and maintainable.

When managing projects based on Symfony2, from the technical side, it is a good idea to establish a set of rules for the project. If you haven’t established and implemented such rules yet, then they should be created as soon as possible. Why? Well, no matter how many people are working on the project, the code needs to look like it was written by one person. [...] Symfony documentation doesn’t specifically focus on this issue, and the bundles that are written by the community have their own set of rules. [...] Learning from mistakes as you go along cannot only be costly, but also time consuming. It is good to have a starting point, something that at least has worked for someone else. This is how the idea to share the guidelines on the Taming Symfony Project came about.

They list out some of the guidelines of the project centered around various aspects of the implementation and the directory structure. They also talk about standards around the use of Doctrine, Twig and Services.

Link: http://clearcode.cc/2014/03/symfony-project/
Source: http://www.phpdeveloper.org/news/20963

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

PHPClasses.org: Lately in PHP Podcast #45 – "The Security of Future PHP Versions"

PHPClasses.org: Lately in PHP Podcast #45 – "The Security of Future PHP Versions"

The latest episode of the “Lately in PHP” podcast series has been released by PHPClasses.org today – Episode 45, “The Security of Future PHP Versions”.

As the plans for the upcoming PHP 5.6 and PHP 6 versions are being finalized, some of the proposals are about improving the security of these future PHP versions. That has been one of the main topics discussed by Manuel Lemos and César Rodas on the episode 45 of the Lately in PHP podcast. They also have talked about several other types of proposals and ideas for PHP 6, as well a tutorial on How to Use a Webcam to take Pictures in PHP Application.

You can listen to this latest episode in a few ways – either through the in-page audio player, by downloading the mp3 or you can watch the live recording over on YouTube.

Link: http://www.phpclasses.org/blog/post/229-The-Security-of-Future-PHP-Versions–Lately-in-PHP-podcast-episode-45.html
Source: http://www.phpdeveloper.org/news/20905

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

PHPClasses.org: Lately in PHP Podcast #45 – "The Security of Future PHP Versions"

PHPClasses.org: Lately in PHP Podcast #45 – "The Security of Future PHP Versions"

The latest episode of the “Lately in PHP” podcast series has been released by PHPClasses.org today – Episode 45, “The Security of Future PHP Versions”.

As the plans for the upcoming PHP 5.6 and PHP 6 versions are being finalized, some of the proposals are about improving the security of these future PHP versions. That has been one of the main topics discussed by Manuel Lemos and César Rodas on the episode 45 of the Lately in PHP podcast. They also have talked about several other types of proposals and ideas for PHP 6, as well a tutorial on How to Use a Webcam to take Pictures in PHP Application.

You can listen to this latest episode in a few ways – either through the in-page audio player, by downloading the mp3 or you can watch the live recording over on YouTube.

Link: http://www.phpclasses.org/blog/post/229-The-Security-of-Future-PHP-Versions–Lately-in-PHP-podcast-episode-45.html
Source: http://www.phpdeveloper.org/news/20905

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

PHPClasses.org: Lately in PHP Podcast #45 – "The Security of Future PHP Versions"

PHPClasses.org: Lately in PHP Podcast #45 – "The Security of Future PHP Versions"

The latest episode of the “Lately in PHP” podcast series has been released by PHPClasses.org today – Episode 45, “The Security of Future PHP Versions”.

As the plans for the upcoming PHP 5.6 and PHP 6 versions are being finalized, some of the proposals are about improving the security of these future PHP versions. That has been one of the main topics discussed by Manuel Lemos and César Rodas on the episode 45 of the Lately in PHP podcast. They also have talked about several other types of proposals and ideas for PHP 6, as well a tutorial on How to Use a Webcam to take Pictures in PHP Application.

You can listen to this latest episode in a few ways – either through the in-page audio player, by downloading the mp3 or you can watch the live recording over on YouTube.

Link: http://www.phpclasses.org/blog/post/229-The-Security-of-Future-PHP-Versions–Lately-in-PHP-podcast-episode-45.html
Source: http://www.phpdeveloper.org/news/20905

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>