Archives for Wednesday, September 24th, 2008

You are currently browsing 2 article(s) published on Wednesday, September 24th, 2008, please try the search if you can't fint what you're looking for.


aFramework and the perfect 404

Wednesday, September 24, 2008

I just finished aFramework's brand new 404-handling (much simplified).

I used ALA's the perfect 404 as inspiration but wrote it all in PHP rather than inaccessible JS using document.write (as they do in the article (i guess so it works without any particular server-side language support)).

aFramework's 404

It includes all the 4 "states" described in the article and search-results based on either the requested URI or the actual search-term (if it's a search-engine referrer) are presented to the visitor.

I've tried to mimic the design of FF's error-page, I even use the same warning-icon located at chrome://global/skin/icons/warning-large.png (obivously not available outside FF).

A 404 is triggered in aFramework either from a Module in the current Controller (for example the article-module can trigger a 404 in case the requested article doesn't exist) or simply because the router can not find a route for the requested URI.

Laters

This kid's got some issues

Wednesday, September 24, 2008

I know this is pretty old but recently watched it again and just had to put it up on the site in case you've missed it.



Post It

From June 02 to April 23

  1. Mogrify is what you're looking for if you want to convert multiple images to multiple other images in ImageMagick
  2. Tommorrow, finally, the inFamous demo will be friggin availble on PSN!! Suweeeeeeeeet
  3. Fuck canvas is cool, I've started playing around with old 3D-shit again :)

September 2008

S M T W T F S
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30


Recent Comments

  1. cheap viagra on Bye, bye exscale!:
    nsikku...
  2. payday loans on Bye, bye exscale!:
    ixrhvy...
  3. buy cialis on Bye, bye exscale!:
    lqlokhr...
  4. payday loans on Bye, bye exscale!:
    casnriru...

Style Switcher

The style switcher allows you to change the look and feel of exscale.se.
Only CSS and JavaScript are changed. The XHTML stays the same.

For more information about the styles, check the styles page.


Categories


Random Quote

Det bästa till frukost ar ju vitryss. Jo, en vitryss å en bulle typ. - Emma


Random Images




Answer This!

Do you find the "scroll-pagination" annoying? (If you don't know what it is, scroll to the bottom of the first-page)


Blog Roll