• submit to reddit
Giorgio Sironi06/21/10
5363 views
0 replies

Practical PHP Patterns: Single Table Inheritance

The idea behind the Single Table Inheritance mapping pattern is to represent an inheritance hierarchy (of entity classes) as a single table, which contains columns for all the fields of the various classes.Inheritance and rdbmsThis pattern is the simplest of...

Mitch Pronschinske06/16/10
28649 views
9 replies

The Best of NetBeans 6.9

Congratulations to the NetBeans developers for their hard, and speedy work!  It seems like just yesterday that they were announcing the release of NetBeans 6.8 (6-7 months ago, actually).  Now you can get your final release of NetBeans 6.9 today and...

Stoimen Popov06/16/10
4049 views
0 replies

Use Zend_Translate to Translate Your Web App

There are some really good reasons to use Zend_Translate for your multilingual site instead of some other technique. Actually you can definitely simulate something like this Zend component with and array or ini file, but here are some good things to...

Charles Ditzel06/16/10
8262 views
0 replies

NetBeans 6.9 IDE & Platform Released: 7 Videos

NetBeans IDE 6.9 is released and is now available.  There is a video guided tour of NetBeans 6.9 which you can find here.  Additionally, there are a number of new videos covering the new release -

Giorgio Sironi06/16/10
4596 views
0 replies

Practical PHP Patterns: Serialized LOB

The Serialized LOB pattern consists in persisting an object graph as a single [binary] large object, instead of breaking it in homogeneous pieces to store in separate relational tables. Although this pattern resides in the object-relational category, it is...

Mitch Pronschinske06/15/10
15324 views
6 replies

The 3 Things That Motivate Us

How do I motivate my developers? - is a question you hear all the time from managers who haven't been paying attention to the patterns found in many software development shops.  Dan Pink has looked at much of the scientific research behind human...

Giorgio Sironi06/15/10
14495 views
4 replies

Testing web applications with Selenium

There is a common problem between many testing harnesses: they are different from the real client (in the case of web applications a browser). Zend_Test, HttpUnit and similar tools perform fake HTTP requests (that may go or not go over the TCP/IP stack), and...

Stoimen Popov06/14/10
7884 views
0 replies

Quicksort Algorithm – Difference Between PHP and JavaScript

Here’s some Friday fun. Let me show you one sorting algorithm, perhaps the most known of all them – the quick sort, implemented both on PHP and JavaScript. Although the code look similar between both languages, there are few differences, that show the...

Giorgio Sironi06/14/10
4179 views
0 replies

Practical PHP Patterns: Embedded Value

The Embedded Value is an understated object-relational structure pattern which maps a collaborator object's state into the table of another object, which usually has a direct reference to it. The state of the collaborator merged in the table of the original...

Jared Richardson06/09/10
17936 views
9 replies

Embrace Your Inner Stupid!

One of the classic engineer mistakes is the belief that we can do anything. We understand the basics of electricity, we bend computers to our will, and anything else, well, seriously... how hard could it be? We're Smart.And we are a pretty smart bunch, both...

Giorgio Sironi06/09/10
6143 views
0 replies

Practical PHP Patterns: Dependent Mapping

The Dependent Mapping pattern consists in making a root entity manage the persistence of its children, which are usually encapsulated by it. The relationship between the root and these objects is composition, and there are several use cases where making the...

Stoimen Popov06/08/10
2788 views
0 replies

Bind Zend Action with Non-Default View

Action – View You may know that every controller’s action in Zend Framework has to be bind to a view. Normally you can disable the view for a specific action, but how about “forking” an action to render different views?!

Jared Richardson06/07/10
11688 views
0 replies

Exercise, Good Choices, and DDT

Test automation is a lot like exercise. If you've not done much of it lately, it tends to hurt a bit when you start back. If you've never written tests before, it's going to be just like squats when you first do a few. You're not going to like it. In fact,...

Jonathan Giles06/07/10
13049 views
0 replies

Making it Big in Software: Get the Job. Work the Org. Become Great.

'Making it Big in Software' is an interesting and useful read, but you really have to spend the time to consider the advice and wisdom this book has to offer - otherwise it is very easy to miss...