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 Maj, 2012

User Group: Guelph PHP User Group – May 30th @ 7:30pm – Deploying Database Changes

User Group: Guelph PHP User Group – May 30th @ 7:30pm – Deploying Database Changes

The Guelph PHP User Group (Guelph, Ontario) is having a meeting tonight, May 30th at 7:30 PM hosted at the Well.ca offices. The topic will be deploying database changes presented by Colin DeCarlo.

This month Colin DeCarlo will be talking about a tool called Liquibase which allows you to manage and automate database deployments as part of your build and deployment process. He’ll also be looking at how to integrate it with Jenkins and may even talk a little about how this tool is used at Freshbook…

If you’d like to attend, please let them know sometime today so they can know how many to expect!

If you have a user group meetup that you’d like to announce, email the information over and it’ll get posted!

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

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

User Group: Guelph PHP User Group – May 30th @ 7:30pm – Deploying Database Changes

User Group: Guelph PHP User Group – May 30th @ 7:30pm – Deploying Database Changes

The Guelph PHP User Group (Guelph, Ontario) is having a meeting tonight, May 30th at 7:30 PM hosted at the Well.ca offices. The topic will be deploying database changes presented by Colin DeCarlo.

This month Colin DeCarlo will be talking about a tool called Liquibase which allows you to manage and automate database deployments as part of your build and deployment process. He’ll also be looking at how to integrate it with Jenkins and may even talk a little about how this tool is used at Freshbook…

If you’d like to attend, please let them know sometime today so they can know how many to expect!

If you have a user group meetup that you’d like to announce, email the information over and it’ll get posted!

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

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

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org

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

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

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org

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

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

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org

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

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

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org

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

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

John Sonmez’s Blog: Types of Duplication in Code

John Sonmez’s Blog: Types of Duplication in Code

On his “Simple Programmer” blog John Sonmez has a new post looking at three kinds of “code duplication” that you should keep an eye out for when coding your applications:

One of the biggest reasons to refactor code is to eliminate duplication. It is pretty easy to introduce duplication in our code either unintentionally or because we don’t know how to prevent or get rid of it. [...] I’ve found that there are three basic types of duplication that we can eliminate from our code that successfully build on each other.

He describes the three types – data, type and algorithm – and gives some code snippets showing how they present themselves and simple solutions of how to resolve them. There’s also a quick mention of a “combined attack” when more than one form of duplication shows up at once. He suggests a to help find the “edges” of the duplication:

I’ve also found the key to eliminating duplication is sometimes to first exaggerate it. Often I will purposely take two methods that I know have some duplication and make them look even more duplicated in order to be able to clearly see where the duplication lies.

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

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

John Sonmez’s Blog: Types of Duplication in Code

John Sonmez’s Blog: Types of Duplication in Code

On his “Simple Programmer” blog John Sonmez has a new post looking at three kinds of “code duplication” that you should keep an eye out for when coding your applications:

One of the biggest reasons to refactor code is to eliminate duplication. It is pretty easy to introduce duplication in our code either unintentionally or because we don’t know how to prevent or get rid of it. [...] I’ve found that there are three basic types of duplication that we can eliminate from our code that successfully build on each other.

He describes the three types – data, type and algorithm – and gives some code snippets showing how they present themselves and simple solutions of how to resolve them. There’s also a quick mention of a “combined attack” when more than one form of duplication shows up at once. He suggests a to help find the “edges” of the duplication:

I’ve also found the key to eliminating duplication is sometimes to first exaggerate it. Often I will purposely take two methods that I know have some duplication and make them look even more duplicated in order to be able to clearly see where the duplication lies.

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

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

Jason Hinkle’s Blog: Build a Backbone.js Application with PHP

Jason Hinkle’s Blog: Build a Backbone.js Application with PHP

Jason Hinkle has a new blog post on VerySimple.com today about some recent work he’s done to integrate Backbone.js and PHP (via the Phreeze framework’s “Builder” tool).

Last year like a lot of other developers I started to get excited about client-side Javascript frameworks. [...] To me it’s basically a little bit of magic that makes your web application seem alive as it responds to any changes made to the data. Backbone.js is one such Javascript framework.

You can use the Builder as a part of the framework application or just use it as an example of how to integrate Backbone.js into a PHP application. The interface for it is nice and clean (and functional) and works with the frameworks’ REST interface. You can see it in action in the video and live demo of the sample application.

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

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

Jason Hinkle’s Blog: Build a Backbone.js Application with PHP

Jason Hinkle’s Blog: Build a Backbone.js Application with PHP

Jason Hinkle has a new blog post on VerySimple.com today about some recent work he’s done to integrate Backbone.js and PHP (via the Phreeze framework’s “Builder” tool).

Last year like a lot of other developers I started to get excited about client-side Javascript frameworks. [...] To me it’s basically a little bit of magic that makes your web application seem alive as it responds to any changes made to the data. Backbone.js is one such Javascript framework.

You can use the Builder as a part of the framework application or just use it as an example of how to integrate Backbone.js into a PHP application. The interface for it is nice and clean (and functional) and works with the frameworks’ REST interface. You can see it in action in the video and live demo of the sample application.

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

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