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 Październik, 2015

QaFoo Blog: Analyze the Quality Of Your PHP Code

QaFoo Blog: Analyze the Quality Of Your PHP Code

QaFoo has posted an announcement to their blog about a new tool they’re offering to help developers better visualize the quality of their PHP code with a new visualization tool, the Quality Analyzer.

In code reviews we often browse metrics, source code and reported code issues together with our customers. This leads to discussions about the current state of the code and possible improvements. First we used a bunch of shells scripts for that. In a second step we developed a simple PHP (Open Source) application helping us to do the job. Now we did the third step and rewrote that application into a React based client side (Open Source) application.

They start with an overview of why they created the tool (an evolution of the older Code Review tool) and why it was split into a frontend/backend model to provide easier pipeline integration. They then introduce the functionality in the new tool, based on a D3.js interface. A few screenshots of the interface are also included to give you an idea of how it reports its findings and the dashboard providing an overview of the findings. You can try it out by grabbing it from the project’s GitHub repository.

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

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

QaFoo Blog: Analyze the Quality Of Your PHP Code

QaFoo Blog: Analyze the Quality Of Your PHP Code

QaFoo has posted an announcement to their blog about a new tool they’re offering to help developers better visualize the quality of their PHP code with a new visualization tool, the Quality Analyzer.

In code reviews we often browse metrics, source code and reported code issues together with our customers. This leads to discussions about the current state of the code and possible improvements. First we used a bunch of shells scripts for that. In a second step we developed a simple PHP (Open Source) application helping us to do the job. Now we did the third step and rewrote that application into a React based client side (Open Source) application.

They start with an overview of why they created the tool (an evolution of the older Code Review tool) and why it was split into a frontend/backend model to provide easier pipeline integration. They then introduce the functionality in the new tool, based on a D3.js interface. A few screenshots of the interface are also included to give you an idea of how it reports its findings and the dashboard providing an overview of the findings. You can try it out by grabbing it from the project’s GitHub repository.

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

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

QaFoo Blog: Analyze the Quality Of Your PHP Code

QaFoo Blog: Analyze the Quality Of Your PHP Code

QaFoo has posted an announcement to their blog about a new tool they’re offering to help developers better visualize the quality of their PHP code with a new visualization tool, the Quality Analyzer.

In code reviews we often browse metrics, source code and reported code issues together with our customers. This leads to discussions about the current state of the code and possible improvements. First we used a bunch of shells scripts for that. In a second step we developed a simple PHP (Open Source) application helping us to do the job. Now we did the third step and rewrote that application into a React based client side (Open Source) application.

They start with an overview of why they created the tool (an evolution of the older Code Review tool) and why it was split into a frontend/backend model to provide easier pipeline integration. They then introduce the functionality in the new tool, based on a D3.js interface. A few screenshots of the interface are also included to give you an idea of how it reports its findings and the dashboard providing an overview of the findings. You can try it out by grabbing it from the project’s GitHub repository.

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

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

Developer Drive: How to build an auto-ranking Twitter list with WordPress

Developer Drive: How to build an auto-ranking Twitter list with WordPress

On the Developer Drive site there’s a tutorial posted showing how to create a dynamic auto-ranking Twitter list in a WordPress-based application.

My team and I recently built an awesome list template on WordPress that ranks a set of Twitter users based on follower count. It allows a content writer to easily add a list of Twitter handles, and generate a well designed post.

They start with a list of requirements the end result needs to meet including the Twitter information, features it should offer and the resulting output. The rest of the post walks you through every step of the process to get the system set up including:

  • installing the Advanced Custom Fields Pro WordPress plugin
  • Showing an "infinite list" in WordPress
  • Code to loop through the Twitter data
  • using the TwitterAPIExchange PHP library to get Twitter data

All code and steps you’ll need to make the system work are included and they’ve posted a demo so you can see the result first hand.

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

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

SitePoint PHP Blog: OCR in PHP: Read Text from Images with Tesseract

SitePoint PHP Blog: OCR in PHP: Read Text from Images with Tesseract

The SitePoint PHP blog has a tutorial posted from author Lukas White showing you how to implement OCR in your PHP application and read text directly from images with the help of Tesseract.

Optical Character Recognition (OCR) is the process of converting printed text into a digital representation. It has all sorts of practical applications — from digitizing printed books, creating electronic records of receipts, to number-plate recognition and even circumventing image-based CAPTCHAs. [...] Tesseract is an open source program for performing OCR. You can run it on *Nix systems, Mac OSX and Windows, but using a library we can utilize it in PHP applications. This tutorial is designed to show you how.

They walk you through the installation of the Tesseract software locally (well, inside of a VM) and testing the install with the output from a sample image. With that up and working they show how to use this library to work with the Tesseract functionality, passing it in via a simple Silex application endpoint as a POSTed image file. Full code for the sample application is included as well as the results from another sample image. They also include some additional functionality you could use to detect phone numbers in the image content.

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

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

Site News: Popular Posts for This Week (10.23.2015)

Site News: Popular Posts for This Week (10.23.2015)

Popular posts from PHPDeveloper.org for the past week:

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

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

SitePoint PHP Blog: Flyweight Design Pattern and Immutability: A Perfect Match

SitePoint PHP Blog: Flyweight Design Pattern and Immutability: A Perfect Match

The SitePoint PHP blog has a tutorial they’ve posted (from author Andrew Carter) looking at the Flyweight design pattern and immutability, how they’re a "perfect match". The flyweight pattern makes it possible to reuse objects after they’ve been created with one requirement: they must be immutable.

The fundamental principle behind the flyweight pattern is that memory can be saved by remembering objects after they have been created. Then, if the same objects need to be used again, resources do not have to be wasted recreating them. [...] You can think of the flyweight pattern as a modification to a conventional object factory.

One important feature of flyweight objects is that they are immutable. This means that they cannot be changed once they have been constructed. This is because our factory can only guarantee that it has remembered the correct object if it can also guarantee that the object it originally created has not been modified.

The post includes code examples of how to implement the pattern with a simple File object that fetches data from a file when created. He then creates the factory class, with a getFile method that takes in the path and creates the immutable File object from it. It’s then stored in an internal array for potential reuse later. He also talks about how the pattern could be useful for handling enumeration objects and how you can use it to build out "type" objects.

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

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

Voices of the ElePHPant: Interview with Davey Shafik

Voices of the ElePHPant: Interview with Davey Shafik

The Voices of the ElePHPant podcast has posted it’s latest in their series of interviews with members of the PHP community. In this latest show host Cal Evans talks with Davey Shafik, a well-known speaker at PHP conferences,

They talk about Davey’s recent change of roles joining the Akamai team and what he does there as a developer evangelist. Davey talks about their open APIs they’re currently working on to provide transparency to their customers and how he help users interact with it. They also mention a side project he’s worked on to help promote secure passwords in applications, SecurePasswords.info. They also get into a discussion about the developer evangelist role and how they see it evolving and maturing over time.

You can listen to this latest episode either through the in-page audio player or by downloading the mp3 directly for listening at your leisure. Be sure to subscribe to their feed or follow them on Twitter to get the latest on when new episodes are released.

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

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

Voices of the ElePHPant: Interview with Davey Shafik

Voices of the ElePHPant: Interview with Davey Shafik

The Voices of the ElePHPant podcast has posted it’s latest in their series of interviews with members of the PHP community. In this latest show host Cal Evans talks with Davey Shafik, a well-known speaker at PHP conferences,

They talk about Davey’s recent change of roles joining the Akamai team and what he does there as a developer evangelist. Davey talks about their open APIs they’re currently working on to provide transparency to their customers and how he help users interact with it. They also mention a side project he’s worked on to help promote secure passwords in applications, SecurePasswords.info. They also get into a discussion about the developer evangelist role and how they see it evolving and maturing over time.

You can listen to this latest episode either through the in-page audio player or by downloading the mp3 directly for listening at your leisure. Be sure to subscribe to their feed or follow them on Twitter to get the latest on when new episodes are released.

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

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

Voices of the ElePHPant: Interview with Davey Shafik

Voices of the ElePHPant: Interview with Davey Shafik

The Voices of the ElePHPant podcast has posted it’s latest in their series of interviews with members of the PHP community. In this latest show host Cal Evans talks with Davey Shafik, a well-known speaker at PHP conferences,

They talk about Davey’s recent change of roles joining the Akamai team and what he does there as a developer evangelist. Davey talks about their open APIs they’re currently working on to provide transparency to their customers and how he help users interact with it. They also mention a side project he’s worked on to help promote secure passwords in applications, SecurePasswords.info. They also get into a discussion about the developer evangelist role and how they see it evolving and maturing over time.

You can listen to this latest episode either through the in-page audio player or by downloading the mp3 directly for listening at your leisure. Be sure to subscribe to their feed or follow them on Twitter to get the latest on when new episodes are released.

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

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