Skip to content

Andy's blog o' goodness

php, web stuff, raspberry pi… even blacksmithing!

June 5, 2008

StringToTitle filter

I like the filtering capabilities of the Zend Framework, but for some reason there doesn’t seem to be a string to title case filter (though there is a string to upper and string to lower). So here it is:

Categories PHP/Zend Framework Comments: 0
June 2, 2008

Damn hackers.

Someone exploited a hole in the version of WordPress that I Was using and managed to destroy my last post about automatically creating model for your Zend Framework app. Unfortunately, I just don’t think I have a recent backup of the database around so might not be able to recover it easily. This has forced me, of course, to update...

Categories General Comments: 0
April 11, 2008

Auto generating basic models for a Zend Framework app

Do you have a database with foreign keys and just wish you could have something automatically create your ZF models from it? Well, today that was me. So as a little proof of concept, this is the code I came up with to do it for me… But before we get to that, a few caveats: It’s just a proof...

Categories Code snippets/Experiments/PHP/Zend Framework Comment: 1
March 12, 2008

Second Life at the University of Sussex

The team that I work in – University of Sussex Web Team – have just created large portions of the campus in Second Life. Well, when I say “the team” it was mainly down to our graduate intern who has done a fantastic job… So much so that it’s been reported in a local newspaper, on the radio, on a...

Categories General/Sites Comments: 0
January 29, 2008

Zend Framework 1.5 preview release

For those that don’t know by now, version 1.5 of the Zend Framework is now out in preview release. Congratulations to everyone who has had apart in getting out this release – from programmers to documentation writers to project managers! There are a lot of very interesting updates and new features. Some notable ones are the inclusion of Zend_Form, Zend_Layout,...

Categories PHP/Zend Framework Comments: 0
December 17, 2007

The lesser of two evils?

A few times I have been asked at work to decide on whether we should build an application or use something that’s out there already. Unfortunately, it’s never an easy choice for us… On the one hand something can be built that’s geared exactly to what is needed, but nothing else, and it’ll take time to plan, design and build...

Categories General Comments: 2
October 24, 2007

Force a file download

Here’s a small function that will allow you to force a file download. [php]/** * Force a file download via HTTP. * * File is required to be on the same server and accessible via a path. * If the file cannot be found or some other error occurs then a * ‘204 No content’ header is sent. * *...

Categories Code snippets/PHP Comments: 0
October 22, 2007

Portal (the game from Valve)

A couple days ago I bought Portal via Steam, and even though it’s probably one of the shortest games I’ve played it is undoubtedly one of the best! The premise is pretty simple; solve puzzles by using the portals that you can shoot in to the floor, ceiling or wall and walk through (or in some cases, fall in to...

Categories General Comments: 2
October 19, 2007

Zend Certified Engineer

During the php|works conference in Atlanta this year I took the PHP5 Zend Certification, and I’m pleased to say that today I found out I had passed! So I am now pleased to say that I am a Zend Certified Engineer for both PHP4 and PHP5. And just to prove it…

Categories PHP/works07 Comments: 0
October 3, 2007

Simple image view helper for Zend Framework

Here’s a simply view helper for the Zend Framework that can be used to display image tags. It checks to see if the image file exists and if not then it’ll use the data url scheme to output a very simple image that, ironically, says ‘NO IMG’ on it. 🙂 Please note, though, that I’ve only seen Firefox support this...

Categories Code snippets/PHP/Zend Framework Comments: 2

Posts pagination

  • «
  • 1
  • 2
  • …
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • »

Me elsewhere

  • Follow me on GitHub
  • Follow me on Twitter
  • My GitHub gists
  • My LinkedIn profile

Tags

amp (2) anvil (3) blacksmithing (8) book (3) build (3) conference (2) error log (2) extension (2) filter (3) forging (7) gist (2) github (7) gpio (3) gui (4) htpc (2) interface (2) javascript (6) jQuery (7) metal (3) objects (2) opcache (3) packt (3) PHP (20) phpnw (2) phpnw10 (2) plug-in (5) plugin (2) Prototype (2) python (3) raspberry pi (7) reactjs (2) review (3) rpi (7) snippet (6) trailcam (2) view helper (3) webinar (2) windows (2) wiringPi (2) Zend Framework (11) zend opcache (2) Zend Studio (2) zend_view (2) zend_view_stream (2) zephir (3)

Categories

  • Blacksmithing (10)
  • Code snippets (20)
  • Databases (2)
  • Experiments (8)
  • Gadgets (5)
  • General (41)
  • GitHub (2)
  • javascript (17)
  • jQuery (7)
  • PHP (47)
  • Prototype (4)
  • Python (2)
  • Raspberry Pi (8)
  • Sites (2)
  • Subversion (1)
  • Updates (2)
  • works07 (6)
  • Zend Framework (17)

Archives

  • November 2023
  • July 2023
  • May 2023
  • November 2022
  • October 2020
  • September 2020
  • July 2020
  • April 2020
  • April 2019
  • March 2019
  • February 2019
  • January 2018
  • November 2017
  • August 2017
  • July 2017
  • May 2017
  • January 2017
  • November 2016
  • July 2016
  • June 2016
  • February 2016
  • September 2015
  • July 2015
  • June 2015
  • April 2015
  • November 2014
  • October 2014
  • June 2014
  • February 2014
  • November 2013
  • April 2013
  • March 2013
  • August 2012
  • April 2012
  • September 2011
  • June 2011
  • May 2011
  • April 2011
  • October 2010
  • September 2010
  • May 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • September 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • April 2008
  • March 2008
  • January 2008
  • December 2007
  • October 2007
  • September 2007
  • August 2007
  • June 2007
  • April 2007
  • March 2007
  • February 2007

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Help pay for hosting?

Me elsewhere

  • Follow me on GitHub
  • Follow me on Twitter
  • My GitHub gists
  • My LinkedIn profile

Tags

amp anvil blacksmithing book build conference error log extension filter forging gist github gpio gui htpc interface javascript jQuery metal objects opcache packt PHP phpnw phpnw10 plug-in plugin Prototype python raspberry pi reactjs review rpi snippet trailcam view helper webinar windows wiringPi Zend Framework zend opcache Zend Studio zend_view zend_view_stream zephir

Help pay for hosting?

Categories

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

© 2007-2025 Andy's blog o' goodness. All thoughts expressed are my own.

Coldbox WordPress theme by mirucon

  • Twitter
  • GitHub
Back To Top