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 Kwiecień, 2012

Marcelo Gornstein’s Blog: PHP Continuous integration, with Jenkins and Phing

Marcelo Gornstein’s Blog: PHP Continuous integration, with Jenkins and Phing

On his site Marcelo Gornstein has published a new guide to getting a basic automated continuous integration server set up with Jenkins and Phing.

This article is about how to use Phing in your projects, so a continuous integration server (in this case Jenkins -ex Hudson-) can generate the necessary artifacts for your php application (deployment artifacts, documentation, code metrics, etc). I’ll try to show why this will make your life easier when developing or auditing code, generating releases and deploying new versions, trace bugs, etc. All with just a handful of phing tasks.

He introduces the Phing tool and explains how it makes automating the steps of your process simpler, relating it to the Apache Ant tool for those familiar with it. He links to several of the resources used in the process including PHPMD, PHPLoc, DocBlox and the code for the article itself. He outlines the process and, complete with a screenshot of the final result, shows you how to get everything configured and running smoothly.

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

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

Marcelo Gornstein’s Blog: PHP Continuous integration, with Jenkins and Phing

Marcelo Gornstein’s Blog: PHP Continuous integration, with Jenkins and Phing

On his site Marcelo Gornstein has published a new guide to getting a basic automated continuous integration server set up with Jenkins and Phing.

This article is about how to use Phing in your projects, so a continuous integration server (in this case Jenkins -ex Hudson-) can generate the necessary artifacts for your php application (deployment artifacts, documentation, code metrics, etc). I’ll try to show why this will make your life easier when developing or auditing code, generating releases and deploying new versions, trace bugs, etc. All with just a handful of phing tasks.

He introduces the Phing tool and explains how it makes automating the steps of your process simpler, relating it to the Apache Ant tool for those familiar with it. He links to several of the resources used in the process including PHPMD, PHPLoc, DocBlox and the code for the article itself. He outlines the process and, complete with a screenshot of the final result, shows you how to get everything configured and running smoothly.

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

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

SitePoint.com: Sneak Peek at Kevin Yank’s New Book ‘PHP & MYSQL: Novice to Ninja’

SitePoint.com: Sneak Peek at Kevin Yank’s New Book ‘PHP & MYSQL: Novice to Ninja’

SitePoint.com has published an excerpt from an upcoming book by their own Kevin Yank aimed at those wanting to get into PHP with no background in the language at all – “PHP & MySQL: Novice to Ninja”.

Kevin Yank’s done it again! He’s just completed a new 2012 edition of his best-selling book (Build Your Own Database Driven Web Site, 4th Edition) which is now titled – PHP & MySQL: Novice to Ninja.

The chapter excerpt they share is the book’s “Introducing PHP” content the (very) basic introduction to the language showing syntax and some of the benefits of the language. They also give you a preview of some of the other bits of content in the book including sections on database design, building a CMS, setting up shopping carts and getting PHP+MySQL installed on multiple platforms.

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

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

SitePoint.com: Sneak Peek at Kevin Yank’s New Book ‘PHP & MYSQL: Novice to Ninja’

SitePoint.com: Sneak Peek at Kevin Yank’s New Book ‘PHP & MYSQL: Novice to Ninja’

SitePoint.com has published an excerpt from an upcoming book by their own Kevin Yank aimed at those wanting to get into PHP with no background in the language at all – “PHP & MySQL: Novice to Ninja”.

Kevin Yank’s done it again! He’s just completed a new 2012 edition of his best-selling book (Build Your Own Database Driven Web Site, 4th Edition) which is now titled – PHP & MySQL: Novice to Ninja.

The chapter excerpt they share is the book’s “Introducing PHP” content the (very) basic introduction to the language showing syntax and some of the benefits of the language. They also give you a preview of some of the other bits of content in the book including sections on database design, building a CMS, setting up shopping carts and getting PHP+MySQL installed on multiple platforms.

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

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

/Dev/Hell Podcast: Episode 11: From Gas Station Attendant to Java Developer

/Dev/Hell Podcast: Episode 11: From Gas Station Attendant to Java Developer

The /Dev/Hell podcast has released their latest episode (hosted by PHP community members Chris Hartjes and Ed Finkler) – Episode 11: “From Gas Station Attendant to Java Developer”.

This time out we are blessed by the presence of Jo ël Perras, PHP developer extraordinaire and Fictive Kin brosef of Ed. We explore Jo ël’s rags-to-riches story: a young academic schlepping coffee and 44oz soft drinks at a gas station, where he’s discovered by a grizzled dev team manager in need of Java skills. From there it’s been a whirlwind of web sites, programming languages, and more ops than you can shake a stick at. Actually I was sleepy and wasn’t really listening for the first half-hour. I bet it’s good though.

You can listen to this latest episode by grabbing the mp3 or by subscribing to their feed (either RSS or iTunes) and get this and other great episodes.

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

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

/Dev/Hell Podcast: Episode 11: From Gas Station Attendant to Java Developer

/Dev/Hell Podcast: Episode 11: From Gas Station Attendant to Java Developer

The /Dev/Hell podcast has released their latest episode (hosted by PHP community members Chris Hartjes and Ed Finkler) – Episode 11: “From Gas Station Attendant to Java Developer”.

This time out we are blessed by the presence of Jo ël Perras, PHP developer extraordinaire and Fictive Kin brosef of Ed. We explore Jo ël’s rags-to-riches story: a young academic schlepping coffee and 44oz soft drinks at a gas station, where he’s discovered by a grizzled dev team manager in need of Java skills. From there it’s been a whirlwind of web sites, programming languages, and more ops than you can shake a stick at. Actually I was sleepy and wasn’t really listening for the first half-hour. I bet it’s good though.

You can listen to this latest episode by grabbing the mp3 or by subscribing to their feed (either RSS or iTunes) and get this and other great episodes.

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

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

Evan Coury’s Blog: Sharing a database connection across modules in Zend Framework 2

Evan Coury’s Blog: Sharing a database connection across modules in Zend Framework 2

Evan Coury has a new post to his site about a handy method for sharing database connections across modules in a Zend Framework application.

With the new modular infrastructure in Zend Framework 2, one of the most common questions will indoubitably be how to share a database connection across modules. Here’s a quick explanation of how to share your database connection across multiple modules in a way that can even allow you to use a single connection between ZendDb, Doctrine2, and possibly even other database libraries / ORMs.

He includes the code in the post to configure this application-wide database resource, a “masterdb_pdo” that uses a MySQL backend. This configuration is used to set up the connection in a dependency injection container for later (globalish) use. He also mentions something similar about sharing Doctrine connections with the ZendDb components (using the same DI container approach).

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

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

Evan Coury’s Blog: Sharing a database connection across modules in Zend Framework 2

Evan Coury’s Blog: Sharing a database connection across modules in Zend Framework 2

Evan Coury has a new post to his site about a handy method for sharing database connections across modules in a Zend Framework application.

With the new modular infrastructure in Zend Framework 2, one of the most common questions will indoubitably be how to share a database connection across modules. Here’s a quick explanation of how to share your database connection across multiple modules in a way that can even allow you to use a single connection between ZendDb, Doctrine2, and possibly even other database libraries / ORMs.

He includes the code in the post to configure this application-wide database resource, a “masterdb_pdo” that uses a MySQL backend. This configuration is used to set up the connection in a dependency injection container for later (globalish) use. He also mentions something similar about sharing Doctrine connections with the ZendDb components (using the same DI container approach).

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

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

Kevin Schroeder’s Blog: ZF2 Dependency Injection: Managing Configuration – Part 2

Kevin Schroeder’s Blog: ZF2 Dependency Injection: Managing Configuration – Part 2

Kevin Schroeder has posted the second part of his ZF2 dependency injection series (part one here) talking about their configuration.

In my previous post about Dependency Injection Container (DiC) configuration I made mention of some more complicated scenarios that you can use to configure your objects. Not that you need help to make it more complicated. [...] That’s why I think this series of blog posts are good. They show you how to get started small which is really the only way to get started if you aren’t intimately familiar with a DiC.

He expands on the previous example by adding another method that lets you set up some testing data (injected into the Test class object) and feed in the data via the “parameters” DI container configuration.

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

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

Kevin Schroeder’s Blog: ZF2 Dependency Injection: Managing Configuration – Part 2

Kevin Schroeder’s Blog: ZF2 Dependency Injection: Managing Configuration – Part 2

Kevin Schroeder has posted the second part of his ZF2 dependency injection series (part one here) talking about their configuration.

In my previous post about Dependency Injection Container (DiC) configuration I made mention of some more complicated scenarios that you can use to configure your objects. Not that you need help to make it more complicated. [...] That’s why I think this series of blog posts are good. They show you how to get started small which is really the only way to get started if you aren’t intimately familiar with a DiC.

He expands on the previous example by adding another method that lets you set up some testing data (injected into the Test class object) and feed in the data via the “parameters” DI container configuration.

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

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