News Feed
Sections




News Archive
feed this:

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

SitePoint PHP Blog:
Continuous Deployment Revisited
September 19, 2013 @ 12:52:50

On the SitePoint PHP blog today David Shirley has a new tutorial looking at continuous deployment with a bit more detail than his previous post.

In an earlier article I talked about what Continuous Deployment was and how it fits into the modern programming process. We took a small swipe at how it works, but some people (okay, one person) felt that I could have gone into more detail and they were right. [...] The essence of Continuous Deployment is that you use automated tools to do a lot of the heavy lifting. This means there may or may not be a bit of a learning curve when you first get started. A number of software elements are brought into play, and if you already know how to use those, great. If you don't, just remember that this is a learning curve, not a barrier.

He's broken down the rest of the tutorial into sections relating to the different pieces needed to effectively set up a continuous deployment (CD) system:

  • Effective use of version control
  • Commitment to automated testing
  • Setup and use of automated build software
0 comments voice your opinion now!
continuous deployment series detail versioncontrol testing build software

Link: http://www.sitepoint.com/continuous-deployment-revisited

Sherif Ramadan:
PHP OOP Objects Under The Hood
December 04, 2012 @ 09:15:27

In another of his series looking "under the covers" at what actually happens in the PHP language during its use, Sharif Ramadan has posted this look at the object handling in PHP's OOP functionality.

I would love to take a good long look under the hood at just how PHP objects and classes do the work that they do, and hope that you could benefit from that knowledge. [There are] many questions that come across my desk, on a regular basis, from developers and beginner PHP enthusiasts that I've worked with over the years, and are some of the key points this article attempts to help you answer.

He talks about classes "giving birth" to objects, how they're stored internal to PHP and how they provide the "blueprints" for it to lay out the storage of the object's data. He talks about using identifiers for variable/property access, object handlers and how "$this" fits into all of it. He notes that OOP, while a major part of PHP now, wasn't in the initial versions (until around PHP4). He finishes off the post talking about lateral/vertical context switching, the lifecycle of an object and the "early binding problem" and class scope.

0 comments voice your opinion now!
oop language class object detail lowlevel behindthescenes


Eric Lamb's Blog:
Practical PHP Reflection
March 04, 2011 @ 12:23:28

Eric Lamb came up against an interesting situation recently and found that PHP's Reflection API was the best thing to come to his rescue.

The perfect problem where the Reflection API appears to be the perfect solution. For me this came up a couple months ago while I was working on a European zip code radius project that had to be built using one of those obfuscated and ill documented 3rd party commercial programs (nothing worse than when the platform is forced on you). So, I had to use this program that was intentionally encoded to prevent me from doing what I wanted to do. I couldn't even look at the code; it was completely obfuscated.

To illustrate his point, he gives examples of two built-in classes that PHP has and the result of their reflected output - SimpleXMLElement and DateTime. He shows how to get the structure of the class in general and how to use some of the more specific functions to get things like properties, methods and constants for the class. This is perfect for those undocumented features and isn't too far of a jump away from building out your own documentation.

0 comments voice your opinion now!
api reflection detail class tutorial


Reddit.com:
Today I learned about variable variables...
October 21, 2010 @ 12:05:30

Over on Reddit.com there's an interesting post (yes, despite some of the comments made on it) about variable variables that turns into a detailed look at PHP variable handling as based around "$".

OK, here's the thing: [variable variables are] only the entrance of the rabbit hole. [...] The first thing to understand is what $ is. $ is actually a shorthand for ${} and means "return the value of the variable whose name is contained in this".

The response goes on to talk about variable names as strings, a few string handling tricks that can be used when referencing them and how this works with objects too. Things get a bit more complicated when they start adding in more levels of "variable" and evaluations based on random results. Not overly useful information for the casual developer, but interesting to know none the less.

0 comments voice your opinion now!
variable variable detail guide handling


Blue Parabola Blog:
Magento Feature Analysis Series, Part 6 Customer Service Offering
September 02, 2009 @ 07:58:39

Matthew Turland has posted the sixth part of his series taking a detailed look at the features of the popular Magento e-commerce platform on the Blue Parabola blog today.

In this new article he covers:

  • Contact Us Form
  • Feature-Rich Customer Accounts
  • Order History with Status Updates
  • Order Tracking from Account
  • Forgot Password E-mail
  • Order and Account Update E-mails
  • Customizable Order E-mails
  • Create and Edit Orders from the Admin Panel

Each item on the list comes with its own description and definition (as well as a few links to other resources where applicable).

0 comments voice your opinion now!
magento detail feature


Davey Shafik's Blog:
Detailed IDE Reviews How do you want to do this?
March 17, 2009 @ 13:45:14

As a follow-up to the IDE comparisons he's done Davey Shafik has asked the interested for a little feedback on how they think he should move forward with the more detailed reviews of each tool.

So, dear readers, I'm doing the IDE reviews for all of you guys and there's two ways I can proceed: I can take each of the requirements and do a single post per requirement with a writeup about it in detail for each of the 4 IDEs - then I was thinking for each new IDE I try, I can hit those same points. Or I can write up specifically on a single editor at a time, covering all of the requirements and I will also then review anything else about the editor etc.

He's thinking of doing a comparison of the Eclipse-based IDEs in their own right, but wants to get feedback on what would be the most useful for other developers to learn from. Several comments have already been made suggesting approaches to the topic, other editors that might be missing from the list and some support for the Eclipse comparison idea.

0 comments voice your opinion now!
ide detail review eclipse approach suggestion


Chris Jones' Blog:
The PHP "./configure --with-oci8" Option in Detail
March 13, 2009 @ 07:58:07

Just for those PHP & Oracle users out there Chris Jones has posted a new entry to his Oracle blog detailing the different ways you can compile with oci8 support.

PHP OCI8 can be built using libraries from a full Oracle Database (or Database "Client") install, created from running the GUI installer. This is often referred to as an "ORACLE_HOME" install, since an environment variable of that name is set to the installed Oracle software directory. [...] Another dimension to the install is that PHP extensions can be statically compiled into the PHP executable(s), or built as shared binaries. If OCI8 is built as a shared library it is loaded into PHP as a result of setting the php.ini option "extension=oci8.so".

There's eight different methods he mentions including building it as a shared module, using the normal Oracle libraries to build and using the Instant Client libraries to run the build.

0 comments voice your opinion now!
configure oci8 oracle detail extension shared static


Nexen.net:
PHP Statistics for January 2008
February 13, 2008 @ 15:11:34

Damien Seguy has posted this month's (well, January 2008's) PHP statistics to the Nexen.net website. Highlights from this edition include:

  • PHP 5 displays strong growth, almost at 30%
  • PHP 5.2 will be more popular than PHP 4.3 before April
  • PHP 5.2.5 is already the dominating version of PHP 5
  • PHP 4.4.8 not so popular

You can get the full details on this month's statistics from the full list of the statistics and the evolution posted on Nexen.

0 comments voice your opinion now!
statistics php4 php5 evolution detail


Zend Developer Zone:
Lifting the Skirt on Zend Framework 1.5 - Zend_Form
January 30, 2008 @ 07:56:15

The Zend Developer Zone has "lifted the skirt" on a new feature in the Zend Framework today with this new article - a look at the Zend_Form component, a simple method for creating, validating and generally working with your user's input.

Zend_Form gives you all the tools necessary to create forms and form elements via PHP code. Like everything in Zend Framework, almost everything is configurable; however the defaults are probably good for most uses.

They include some sample code that shows the creation of both a simple, sample form and something a little bit more advanced - including validation methods and making fields required.

0 comments voice your opinion now!
zendform component zendframework detail example


Devshed:
Database Details and PHP
June 28, 2007 @ 12:12:00

DevShed continues their tutorial series looking at working with PHP and databases today with more excerpted material from the O'Reilly book "Programming PHP, Second Edition" (by Kevin Tatroe, Rasmus Lerdorf, and Peter MacIntyre).

Picking up from where we left off last week, we'll be discussing shortcuts, query responses, metadata, and more.

They start off looking at shortcuts, those handy things the PEAR DB package offers to make life simpler (like getRow and getAssoc) before moving on to how to get the details about the response itself (like affectedRows and tableInfo). Next up is working with the metadata (using getListOf) and, finally, a sample application to tie them all together.

0 comments voice your opinion now!
database tutorial metadata detail query response database tutorial metadata detail query response



Community Events





Don't see your event here?
Let us know!


release podcast library configure install framework wordpress series bugfix introduction community list interview laravel code threedevsandamaybe application developer api language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework