Archive for the “web” category

Object-oriented programming in JavaScript

by Patrick on February 3, 2012

Although JavaScript is not an object oriented language, you can use some OOP like paradigms to structure your code. This tutorial is meant to be introductory. After reading this, you will know the very basics, a point to start and go on if you like. JavaScript is so called “prototype based”, which  basically means that there (…)

Faster jQuery

by Patrick on December 25, 2011

Although jQuery gets faster with almost every release, there are a few things to remember when working with it. Scott Kosman posted a nice roundup on writing faster jQuery code on 24ways.org. Some of those tips are already in use in my day-to-day code, but not all of them.

Twitter Bootstrap

by Patrick on October 30, 2011

I found a really interesting thing for, well, bootstrapping web projects: Twitter’s Bootstrap. One problem I have every time I start a project is the styling. That basic stuff, like typography, margins here, paddings there. Things that don’t really add up to what the project is actually about. It feels felt like wasting time. With Bootstrap, (…)

jQuery.inlineComplete – Inline auto-complete for text input (2nd Update)

by Patrick on February 28, 2011

UPDATE NO. 2: Plugin page is now online! Yay, my first jQuery post. jQuery.inlineComplete is a plugin which auto completes your typing inside the input text field, just like you see it in Google Chrome’s Omnibar. Currently, this isn’t even tested in other browsers than Firefox 4 RC1, but I want this to be usable (…)

Google Chrome’s Omnibar in Firefox

by Patrick on February 28, 2011

I’m using Google’s Chrome browser for quite some time now, and one of my favorite features is the auto-completion inside the address bar. For those not familiar with it: If you type “face” in the address bar, Chrome completes it with “book.com”, and by pressing enter, http://www.facebook.com is opened by Chrome. For that completion, Chrome (…)

Zend View Helper in database stored content

by Patrick on February 13, 2011

One of my co-workers currently writes his own website based on the Zend Framework. He wanted to use view helpers inside of the content, just like you do in view scripts. But the thing with content nowadays is that it is stored inside a database. He came up with a pretty simple, yet somewhat brilliant solution. (…)

Dynamic script loaders

by Patrick on December 28, 2010

Recently I ran over HeadJS. I never heard of such script loaders before. Although I read that Google offers a JavaScript interface to load scripts from their CDN, I didn’t think of reducing the page load time in the first place. Today I checked back to the website just to see how things are going. (…)

OpenID: What it is and how it works

by Patrick on October 21, 2010

I struggled really hard at getting in touch with OpenID, especially with Zend_OpenId. Let’s face it: The Zend documentation looks more like a Klingon manual on how to slice up a Kirk. But Zend_OpenId is not the point now. This article is the first part of  a little series on OpenID (since all programming blogs (…)

Who hasn’t yet, who wants again?

by Patrick on November 16, 2009

UPDATE: Google Wave Now Open For All! Thus: Invitations aren’t needed anymore; log in and feel great :) UPDATE: 13 left. UPDATE: It seems like everyone who is already registered at Google Wave gets eight more invitations to give away. Therefore I’ve got a total of 14 invitations for you guys. A few weeks ago (…)

Zend_Acl autoloader?

by Patrick on July 30, 2009

Again about Zend Framework. When I read the documentation of  Zend_Acl for the first time, I thought “My god, you want me to load the whole ACL structure at each request? You can’t be serious.” Of course not. Again asking Google for help I quickly found a dynamic ACL loader in the framework’s Wiki. That’s (…)