Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Adam Culp:
Setting up local step debugging with PhpStorm
Feb 17, 2017 @ 15:58:31

Adam Culp has posted a new tutorial to his site showing you how to set up local debugging inside PhpStorm combining it with the Zend Debugger tool.

Setting up debugging in an IDE with a local development environment has gotten so easy it can be done in a few automated steps. In this post I will demonstrate how to get step debugging functioning with
tagged: local step debug phpstorm tutorial zendserver zray

Link: http://www.geekyboy.com/archives/1289

Michael Dowling:
Transducers in PHP
Dec 08, 2014 @ 15:28:48

Michael Dowling has a new post to his site announcing a project he's recent released to try to bring some of the functionality of Clojure to PHP with the introduction of transducers.

Rich Hickey recently announced that transducers are going to be added to Clojure, and it prompted a bit brief announcement, Hickey followed up with a couple videos that describe transducers in much more detail: Transducers and Inside Transducers + more.async. Transducers are a very powerful concept that can be utilized in almost any language. In fact, they have been ported to various other languages including JavaScript (2), Python, Ruby, Java, and Go. And now…transducers are available in PHP via transducers.php!

He starts with an official definition of what a transducer is from the Clojure documentation then explains it in a bit more layman's terms as "a fancy way of saying that you can use functions like map and filter on basically any type of data source (not just sequences)" and can output any kind of structure as a result. He then gets into some code examples using his project showing eager and lazy evaluation, how they're composable and a list of the ones the library makes available (and what they do). He then gets into a more complete example of their application with a streams example, working with/modifying a string. He ends the post looking at how to create your own custom transducer and how they compare to generators.

tagged: transducer conjure step data data structure introduction library

Link: http://mtdowling.com/blog/2014/12/04/transducers-php/

Web Developer Juice:
11 easy steps for installing Apache ActiveMQ and configuring it for PHP applica
Feb 03, 2010 @ 19:49:24

On the Web Developer Juice blog there's a new post that'll walk you through the installation and integration of the Apache ActiveMQ messaging service and how to integrate it with your application.

Apache ActiveMQ is one good option for implementing message queue in your PHP application. It can be easily installed on your server and it’s web accessible admin interface really makes administrator’s life easy. It can be easily connected with PHP via STOMP. I will suggest to use MySql for Data persistance and start ActiveMQ as unix service.

Their eleven step process includes getting the packages you'll need to run ActiveMQ, starting/stopping the service, setting up the STOMP transport connector and finally connecting it to MySQL. You can then install the PECL extension for STOMP and reload Apache to get it all working together. They even include a sample script to get you started.

tagged: tutorial step apache activemq configure install

Link:

PHPClasses.org:
10 steps to migrate Web site servers with the least of problems
Feb 03, 2009 @ 19:43:13

After having moved servers just recently, Manuel Lemos has a few helpful hints for anyone out there considering a web site/web server move in the near future:

Despite the benefits of migrating to a better server, the actual migration is a complicated process that can fail in so many ways that I thought it would be a good idea to share what you need to be concerned if you need to migrate your servers too. You need to go through several steps that need to be done in the right order to prevent major headaches.

Here's his ten steps/recommendations of things to keep an eye on during the move:

  • Prepare your DNS
  • Setup the new server
  • Tune the server file system for performance and integrity
  • Install the base applications
  • Initial data migration
  • Put the old server in migration mode
  • Bring your new server to life
  • Double check your server security
  • Epilogue (the final miscellaneous startup/setup items)
  • The forgotten step that you remembered
tagged: webserver move migrate recommendation step

Link:

Sebastian Bergmann's Blog:
Support for BDD and Stories in PHPUnit 3.3
Jan 17, 2008 @ 14:48:00

On his blog today Sebastian Bergmann has posted about new functionality that's been added to the PHPUnit unit testing package for PHP - support for BDD and Stories.

PHPUnit_Extensions_Story_TestCase is a new extension for PHPUnit that has been contributed by Xait, a company that I visited last fall. It adds a story framework with a Domain-Specific Language (DSL) for Behaviour-Driven Development (BDD).

He includes an example of the new extension in action - creating a Story, adding Steps to it and the output that would result from the execution (reading?) of the example.

tagged: bdd story extension xait dsl testcase step bdd story extension xait dsl testcase step

Link:

Sebastian Bergmann's Blog:
Support for BDD and Stories in PHPUnit 3.3
Jan 17, 2008 @ 14:48:00

On his blog today Sebastian Bergmann has posted about new functionality that's been added to the PHPUnit unit testing package for PHP - support for BDD and Stories.

PHPUnit_Extensions_Story_TestCase is a new extension for PHPUnit that has been contributed by Xait, a company that I visited last fall. It adds a story framework with a Domain-Specific Language (DSL) for Behaviour-Driven Development (BDD).

He includes an example of the new extension in action - creating a Story, adding Steps to it and the output that would result from the execution (reading?) of the example.

tagged: bdd story extension xait dsl testcase step bdd story extension xait dsl testcase step

Link:

Stefan Mischook's Blog:
Object Oriented PHP Tutorial Updated - Steps 18 - 22
Sep 07, 2007 @ 13:04:00

Stefan Mischook has made another update to his OOP beginners tutorial:

I've update my beginners tutorial on object oriented PHP adding steps 18-22. Again, this is a code intensive article where I expect you to follow along with your PHP editors.

You can check out the full tutorial (well, up to step 22 of course) on the KillerPHP.com website to get started with working with objects, classes and related functionality.

tagged: oop tutorial beginner step oop tutorial beginner step

Link:

Stefan Mischook's Blog:
Object Oriented PHP Tutorial Updated - Steps 18 - 22
Sep 07, 2007 @ 13:04:00

Stefan Mischook has made another update to his OOP beginners tutorial:

I've update my beginners tutorial on object oriented PHP adding steps 18-22. Again, this is a code intensive article where I expect you to follow along with your PHP editors.

You can check out the full tutorial (well, up to step 22 of course) on the KillerPHP.com website to get started with working with objects, classes and related functionality.

tagged: oop tutorial beginner step oop tutorial beginner step

Link:

HowToBoard.com:
Installing php-5.2.0 from srpm on CentOS 4
Dec 07, 2006 @ 21:17:00

If you're running CentOS 4 and want to get PHP up and running on your installation, check out this quick and dirty guide posted over on the HowToBoard.com.

The process really only involves six or seven steps to get things up and running, but you'll need to know how to get in and edit things before you can build the packages up right. Oh, and of course, a little credit where credit's due:

Enjoy! Do not forget to install new php-pear as well. Special thanks to Peter Zaitsev.
tagged: install php5 centos step build compile pear install php5 centos step build compile pear

Link:

HowToBoard.com:
Installing php-5.2.0 from srpm on CentOS 4
Dec 07, 2006 @ 21:17:00

If you're running CentOS 4 and want to get PHP up and running on your installation, check out this quick and dirty guide posted over on the HowToBoard.com.

The process really only involves six or seven steps to get things up and running, but you'll need to know how to get in and edit things before you can build the packages up right. Oh, and of course, a little credit where credit's due:

Enjoy! Do not forget to install new php-pear as well. Special thanks to Peter Zaitsev.
tagged: install php5 centos step build compile pear install php5 centos step build compile pear

Link:


Trending Topics: