Lost Password?


home | tags | Search | Feed
Tag >> PHP

Brainbench: PHP5 Certification

Posted by: Jordan in PHP on

I've been studying for about 3 months to take the Zend Certified Engineer PHP exam and believe I am ready to take the exam soon.  My study has just involved reading several books and taking practice exams.  I had an idea to take the Brainbench PHP5 Certification test as a practice exam and since my work pays for all of my certification training and exams it was free for me (the normal price is

PHP: RBC (Really Bad Code)

Posted by: Jordan in PHP on

I decided to make a quick text link addon for OpenX.  OpenX is a powerful banner ad rotator that has a multitude of features for advertisement.  With OpenX a website (or collection of websites) could zone, host and deliver millions of impressions per day.  Needless to say, the project is used by some very large players.

In order to write my addon I needed to see the functions and variables that

PHP Nowdocs

Posted by: John in PHP on

A few weeks ago Jordan blogged about the heredoc syntax. The point I want to raise in this blog, is the heredoc syntax parses PHP code, similar to double quotes around a string. For example
Would output
Hello World!
Hi John!
Notice $name was parsed as a variable not as a

PHP Reflection and Plugins

Posted by: Jordan in ProgrammingPHPObject Oriented Programming on

The PHP reflection API allows you to view metadata and comments in your PHP scripts which allow you to create highly expandable PHP scripts.  It may seem trivial, the ability to look at your own source code from your script but the set of classes and methods provided by this API give you the ability to create easy plugin features, invoke code pragmatically and create instances of code.

Imagine you

PHP: Study

Posted by: Jordan in ProgrammingPHP on

It has been a while since I wrote a blog so I thought I'd write about what I've been doing.  For the past month I've been studying for Zend Certified Engineer test which is a PHP test.  From what I can tell the test asks very tricky questions that require you to have a working knowledge of many PHP functions (with Arrays and Strings being the largest two).  So far I've managed to memorize most of

Extract Variables

Posted by: John in PHPionManager on

A few months ago, in one of the php articles / books I was reading I stumbled across something called variable variables. Essentially, it lets you create a variable whose name is defined by another variable. I thought to myself “where the hell would this be useful?” A few days after Jordan bloged about variable variables I actually found a use for them:

ionManager (a framework and CMS built

Zend Studio for Eclipse Training: Day 3/4

Posted by: Jordan in ProgrammingPHP on

Since there wasn't many sections to go over and the features that we went over are easy to use (and self explanatory) I decided to combine Day 3 and 4 into one blog.  Luckily I didn't have the same problem on Day 4 as I did on Day 3 which I described here: Cracking Vista Passwords.

As always I'll use this blog to take notes with, more for my reference than for yours.  The class covers a lot of

Zend Studio for Eclipse Training: Day 2

Posted by: Jordan in ProgrammingPHP on

After a week delay we began Day 2 of Zend Studio for Eclipse training.  You may have read my first blog which described day 1 of training, if not, you can read it here: Zend Studio for Eclipse Training: Day 1

As with previous classes I'll use this blog to describe what we did and take general notes.

Zend Framework
The Zend Framework is composed of several components and a flexible architecture that

PHP: gzip Compression

Posted by: Jordan in ProgrammingPHP on

gzip is a compression algorithm similar to zip and rar formats. Using gzip to compress files before transmission can cause your page to load faster and save bandwidth on your server/webhost.  Most (if not all) modern browsers support the gzip compression allowing you to utilize it in your PHP scripts.

How do you enable it?
It may sound like a lot of coding but PHP does most of the work for you. 

Object Oriented Design The Singleton

Posted by: John in ProgrammingPHPObject Oriented ProgrammingDesign Patterns on

One of the many annoyances of programming is a variables scope. Generally variables can be declared within the global namespace or the local namespace. When working with methods and classes global variables appear to be a good idea, however overuse of the global namespace can cause variables to clash, it also undermines encapsulation. Moreover, a class which depends on a global variable is

<< Start < Prev 1 2 3 4 5 Next > End >>

Statistics

Members Today: 214
Members Online: 3
Users Online: 100
Total Users: 15,197
Total Threads: 10,393
Total Posts: 97,560
Newest Member: JojoAllan

Tutorials

How do I make a [insert standard program assignmen...
OK, you just got your first hard program to build. Maybe it's part of your final project, maybe your teacher is just sadistic. It's hard to tell. Regardless, this thing is BIG. No, really big! No...


C# Tutorial - How To Open New Forms
OK, this question seems to have popped up quite a lot, and it's really quite simple, so here's some details about how to open secondary forms from a main form. Example We have a main form. The u...


Implementing a Fuzzy Set
Before reading this tutorial, be sure to read and . Now we're going to look at fuzzy sets. The key characteristic of this is that every item of interest contains two values: the quantity of interes...