Aptana Jaxer: MVC and other thoughts

Tags:

This week I decided to take a look at Aptana Jaxer – A server-side JavaScript implementation, or “Ajax Server” like their site says. It’s a bit different take on a server-side language and requires some new ways to do things. What it basically lets you do, is completely throw away all “traditional” server-side languages, and write all your code in …

Working with Regular Expressions

Tags:

Regular Expressions – you either love them or hate them, and usually when you hate them, you just haven’t spent enough time trying to learn them! :) They are incredibly useful, but they can often be difficult to build and test. I have previously mentioned a great tool called RegexBuddy, which is a great help. However, being a Windows application, …

JavaScript and MVC

Tags:

For some reason, despite understanding a programming concept in one language can make it difficult to understand it in a different language, especially if it differs a lot from the one you know. JavaScript is a good example of this. From experience I can say that grasping the concepts of things like MVC in JS can be slightly difficult at …

Client-side validation with Zend_Form

Tags:

Zend_Form is Zend Framework’s brand new tool for simplifying form creation, parsing, validation and filtering. There’s one big thing I want from any kind of form generation tool: The ability to let me combine my server-side validators with JavaScript validation on the client, or other such features. And here’s the thing: Zend_Form is easily extendable to automatically generate JavaScript for …

A look at the Yahoo UI Library

Tags:

I have previously written about the Ext JS JavaScript library, and now it’s time to look at The Yahoo UI Library (YUI) – Ext began as an addon library for this one!

Introduction to Zend_Layout (updated for ZF 1.5!)

Tags:

I wrote earlier a post about the back then new Zend_Layout component in Zend Framework. It’s one of my most popular posts, so I think it’s about time for me to write an updated version which actually works in ZF 1.5’s version of Zend_Layout. We’ll look into how to get started with Zend_Layout, and we’ll also check out the new …

Tracking the user’s browsing history with PHP

Tags:

There are various reasons for tracking what an user does: Keeping track of the refering page for forms, so they can be sent back to where they came from Tracking usage behavior for statistics etc. Let’s look at how we could implement a simple user tracker in PHP with Zend Framework. I’m going to write a bit of the theory …

Doctrine vs. Propel

Tags:

An updated version of this post is available: Doctrine vs. Propel 2009 update The two most well known ORM frameworks for PHP right now are probably Propel and Doctrine. A lot of people are probably wondering which one should they choose for their project, just like I was. I’ve used Propel for a while, and now I decided to give …

Fluent PHP and pooQuery revisited

Tags:

pooQuery, my revolutionary fluent PHP library, has been an interesting project so far. Don’t know what I’m talking about? Read the original post about pooQuery and the look at pooQuery internals. It has caused some funny reactions from people, and perhaps it’s time to officially announce that pooQuery is a joke. A fully functional joke, which I’ve just updated – …

pooQuery – The Fluent PHP Revolution!

Tags:

We all know that fluent programming style rocks, and jQuery is a great example of that! Wel also know that SQL is greatly simplified with fluent style interfaces! And so are Regular Expressions! Now it’s time for PHP to step in the world of fluency with pooQuery!