There are 14 articles tagged as "example"

A refactoring example

on January 13, 2020. in Programming, Development. A 5 minute read.

I’m working on a small side project to gather stats about my blog. Posts published, words written, number of code examples. Good for practicing TDD. I want to share how I made one part of it better.

Continue reading A refactoring example...

Bad Firebug!

on December 21, 2009. in Development, Programming, Software. A 3 minute read.

We all know about Firebug, probably the best developer add-on out there, and how awesome it is and how many times it helped us debug some nasty Javascript code, mess around with CSS and HTML on-the-fly, to track the time load of every external page element our app loads… It’s so cool that it even has it’s own add-ons! (FirePHP, YSlow and FireCookie). Really, it helps our developer lives to suck a bit less.

Continue reading Bad Firebug!...

Chaining routes in Zend Framework

on November 27, 2009. in Development, Programming. A 2 minute read.

On a forum, there was a question today, about adding language “support” to the routes using Zend Framework. The guy wanted routes like /en/foo/bar or /de/baz. I wrote there an example for that using Zend_Router_Routes_Chain, so just posting that example here, too :)

Continue reading Chaining routes in Zend Framework...

Playing with Zend_Navigation and routes

on August 09, 2009. in Development, Programming. A 4 minute read.

O hai. First things first - someone should slap me for being such a lazy blogger. Somehow I lost all the motivation I had in the beginning, but looks like it’s back now :) I finally had the time to play around with the latest Zend Framework version (v 1.9 now). I managed to skip the whole 1.8.x version, so this whole Zend_Application stuff is quite new to me. I spent a few days poking around the manual and the code to make it work. And it works! Yey for me! And yey for Rob Allen for his post on Bootstrapping modules in ZF 1.8!

Wordpress as CMS tutorial

on March 14, 2009. in Development, Programming, Software. A 7 minute read.

Wordpress is one of the best blogging platforms out there — if not the best. It’s very powerful, can be easily extended and modified. It’s documentation is very well written and, so far, had answer to all of my crazy questions :)

Continue reading Wordpress as CMS tutorial...

Trac on Ubuntu

on January 27, 2009. in Development, Software. A 5 minute read.

Today I was messing around with Trac, installing it and doing some basic configuration. While my dev machine gets updated, I want to share my process of installing Trac.

Continue reading Trac on Ubuntu...

Login example with Zend_Auth

on January 05, 2009. in Development, Programming. A 6 minute read.

Happy New Year! Hope everyone had a blast for New Year’s Eve and managed to get some rest :) This is my first working day for this year. I’m still kinda lazy and sleepy. And I wanna eat something all the time. Damn you candies!!!

Continue reading Login example with Zend_Auth...

Styling the default Zend_Form layout

on December 22, 2008. in Development, Programming. A 3 minute read.

Here’s an example for styling Zend_Form's default layout. The default layout is using definition lists. While there’s an option for changing the default layout, the wrapper tags and stuff, I see no reason for it. Create the form, add some CSS and your good to go :)

Data filtering with PHP's Filter extension

on December 15, 2008. in Development, Programming. A 2 minute read.

Today I was catching up on feeds and one of the articles lead me to, where I spent some time lurking. In the FAQ section of that site one sentence made me curios:

MyUrl view helper for Zend Framework

on December 02, 2008. in Development, Programming. A 2 minute read.

I started writing some boring introduction but I’ll just skip to the point.