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, 2015

ServerGrove Blog: New Symfony installer: the fastest way to start your Symfony project

ServerGrove Blog: New Symfony installer: the fastest way to start your Symfony project

The ServerGrove blog has a new post today introducing the new Symfony Installer, a tool that can make getting started with a Symfony2 application quick and easy.

Yesterday, the Symfony team introduced the new Symfony installer. Its main goal is to help developers to create Symfony projects faster. Until now, installing Symfony to start a new project required a few steps. [...] The installer tries to do this in one step. It downloads a compressed file with all the code, including the vendors directory, so you don’t need anything else to run Symfony for the first time.

The post shows you how to install the installer via a curl call to fetch the executable. They show how to use it to create a new project, making a demo project and the resulting application and web interface for the demo. They also mention some of the future work that’s planned for the installer including HTTPS support and caching improvements. The post finishes up with a quick mention of the code “under the hood” using the Symfony console component.

Link: http://blog.servergrove.com/2015/03/27/new-symfony-installer-fastest-way-start-symfony-project/
Source: http://www.phpdeveloper.org/news/22524

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

Zend: 5 Things You Must Know about PHP 7

Zend: 5 Things You Must Know about PHP 7

There’s been a lot of talk in the community about PHP 7 and what features will be included but there’s been a *lot* of it. To help distill it down a bit Zend has posted this infographic of the Top 5 features that will be coming in this next major version.

Their top five list includes both the main points and a quick summary for:

  • When it comes out (hint: this year)

  • The spaceship operator
  • Return type declarations and scalar type hints
  • Performance improvements

…and #5, even more performance improvements. There’s also some links to other information about some of the topics to provide even more detail for those wanting to dive in.

Link: https://pages.zend.com/TY-Infographic.html
Source: http://www.phpdeveloper.org/news/22523

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

Kristopher Wilson: Using Interfaces Effectively in PHP

Kristopher Wilson: Using Interfaces Effectively in PHP

Kristopher Wilson has a quick post talking about how he thinks you can use interfaces effectively in PHP applications.

Yesterday, a question appeared on Reddit about the purpose of interfaces in PHP. While I was too late to the party to provide an answer to that thread (at least that would get noticed by anybody), I thought it was a great topic of conversation. So let’s take a look at interfaces in PHP.

He introduces some of the basics around interfaces and provides some sample code showing how they’re created and used (and extended). He talks about some good practices for implementing them in your classes and how this fits into the world of dependency injection. He also includes a bit about type hinting based on the interface implemented and how they can be seen as “contracts” in your code.

Link: http://kristopherwilson.com/2015/03/26/using-interfaces-effectively-in-php/
Source: http://www.phpdeveloper.org/news/22522

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

PHPBuilder.com: Working with the PayPal API

PHPBuilder.com: Working with the PayPal API

PHPBuilder.com has posted a tutorial showing you how to interact with the PayPal API via your PHP application using their own PHP-SDK.

PayPal recently introduced a new RESTful API that is more convenient and more powerful than the previous version. In this article, I will show you how to integrate your PHP application with the new PayPal API.

They start with a summary of the PayPal API and how to get the SDK loaded and ready to use (either through Composer or manually). The tutorial walks you through the authorization process (OAuth) and the code you’ll need to make it happen. They also show you how to create transaction (including currency type and description) after the items have been submitted. There’s also some code showing you how to get the current status of the payment once it has been submitted.

Link: http://www.phpbuilder.com/articles/application-architecture/shopping-carts/working-with-the-paypal-api.html
Source: http://www.phpdeveloper.org/news/22521

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

Scotch.io: Build a Time Tracker with Laravel 5 and AngularJS – Part 1

Scotch.io: Build a Time Tracker with Laravel 5 and AngularJS – Part 1

On the Scotch.io site there’s a new tutorial showing you how to build a time tracking application with a combination of Laravel and AngularJS. This is the first part of a new series and focuses on the basic principles and getting some of the first parts of the application up and running.

Laravel and AngularJS work great together, but it can be a little tricky to get going at first, especially if you are new to the frameworks. In a previous article, Chris showed you how to make a Single Page Comment App with Laravel and Angular. This tutorial will again bring the two frameworks together as we build out a simple time tracking application.

We’ll be going into a lot of detail in this tutorial, so to make things manageable it has been broken into two parts. The first part will focus on getting the front-end setup with AngularJS and the second part on getting the backend setup with Laravel 5.

He starts with an overall look at the application and what functionality it will have. From there he walks you through:

  • Setting up the folder structure

  • Installing dependencies
  • Creating Javascript files
  • Setting up the view
  • Adding extra styling
  • Fetching the time data

He makes use of the Moment.js library to perform some of the time calculations for the difference and total time elapsed. He ends the post by tying up some loose ends with the controller and updating the view with the new calculated time values.

Link: https://scotch.io/tutorials/build-a-time-tracker-with-laravel-5-and-angularjs-part-1
Source: http://www.phpdeveloper.org/news/22520

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

How to build a WordPress image slider

How to build a WordPress image sliderOur last article about the Meteor slides plugin was about how to use the plugin for your WordPress website and doesn’t require any programming skills. My article today is about building a WordPress image slider from the ground up without using a plugin. Actually this is not totally true, because the tutorial is “only” about the WordPress […]


Source: http://feedproxy.google.com/~r/WebDevelopmentBlog/~3/RcToZ9hh4_Y/

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

How to build a WordPress image slider

How to build a WordPress image sliderOur last article about the Meteor slides plugin was about how to use the plugin for your WordPress website and doesn’t require any programming skills. My article today is about building a WordPress image slider from the ground up without using a plugin. Actually this is not totally true, because the tutorial is “only” about the WordPress […]


Source: http://feedproxy.google.com/~r/WebDevelopmentBlog/~3/RcToZ9hh4_Y/

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

Derick Rethans: Xdebug 2.3: Improvements to Debugging

Derick Rethans: Xdebug 2.3: Improvements to Debugging

In the latest in his series covering some of the improvements in the latest Xdebug release, Derick Rethans has posted this new article detailing some of the performance enhancements related to remote debugging that come with this new version.

This is the fourth article in a series about new features in Xdebug 2.3, which was first released on February 22nd. In this article we are looking at the improvements towards “remote” debugging.

The updates include showing the values of user-defined constants, being able to set an exception breakpoint on all exceptions and additional features around debugging the exceptions themselves. The output now includes the exception’s error code and which exception the flow was broken on (though in his example of PHPStorm, the IDE won’t report that information back). The last change he mentions is a change that reverts the output to a log if it can’t write to a socket (usually SELinux related).

Link: http://derickrethans.nl/xdebug-2.3-debugging-improvements.html
Source: http://www.phpdeveloper.org/news/22511

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

Derick Rethans: Xdebug 2.3: Improvements to Debugging

Derick Rethans: Xdebug 2.3: Improvements to Debugging

In the latest in his series covering some of the improvements in the latest Xdebug release, Derick Rethans has posted this new article detailing some of the performance enhancements related to remote debugging that come with this new version.

This is the fourth article in a series about new features in Xdebug 2.3, which was first released on February 22nd. In this article we are looking at the improvements towards “remote” debugging.

The updates include showing the values of user-defined constants, being able to set an exception breakpoint on all exceptions and additional features around debugging the exceptions themselves. The output now includes the exception’s error code and which exception the flow was broken on (though in his example of PHPStorm, the IDE won’t report that information back). The last change he mentions is a change that reverts the output to a log if it can’t write to a socket (usually SELinux related).

Link: http://derickrethans.nl/xdebug-2.3-debugging-improvements.html
Source: http://www.phpdeveloper.org/news/22511

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

Community News: Recent posts from PHP Quickfix

Community News: Recent posts from PHP QuickfixRecent posts from the PHP Quickfix site:

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

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