The only important thing about design is how it relates to people

Victor Papanek

Entries from May 2009

  • PHP PayPal Class

    Hot on the heels of writing a database class with a bunch of functions, I’ve converted my previous PayPal functions file to be a class file. The main repeating variables like the target window and PayPal account can be called at the time of instantiating the class object and then each of the functions uses these object variables avoiding repetition. I’m really pleased with the base progress being made on this project, after years of pulling everything together on a needs basis I will be starting each new project from now on with a solid groundwork of files that I can pick and choose from and amend to suit needs.

    Categories:Web Design|PHP\MySQL

    Tags: | | | |

  • CSS Reset

    After reading a recent article in .net magazine I decided to implement Eric Meyer’s CSS reset document on Panoramic Edinburgh and all future projects. The code and reasoning are fully explained at his site so no reason to go into them here but my reasons? The idea of not only resetting things like margins and padding and borders but also removing anything that you could be asked to make a choice about makes for a better overall approach. Even removing the outline from focus elements so that you have to think about implementing it creates a frame of mind better to suited to creating a better design. Eric’s CSS Reset

    Categories:Web Design|css

    Tags: | |

  • mysqlDatabase Class

    My first class file is in the pipeline, though I think I might have picked a bit of a tricky class to start with. Troubleshooting the new (to me) class syntax and the MySQL connection proved tricky but I got there in the end. My main stumbing blocks were the placing of $s in the code for calling object variables, either too many or too few till I got the hang of it. Whilst this class will form the basis of the gallery backend for Panoramic Edinburgh, I am maintaining a more non-specific version for future projects. First the object variables are declared: var $host; var $user; var $pass; var $database; Next comes the constructor function. I give the constructor function the $host, $user, $password, $database variables and assign them to the newly created object. If these variable are not [...]

    Categories:Web Design|PHP\MySQL

    Tags: |

  • Panoramic Edinburgh Brief

    As I want my new version of Panoramic Edinburgh to professional and polished I am writing a brief and doing rough planning work on paper before tapping on the keyboard till the wee small hours. Not only do I hope that this will make for a better end result it means I can work things out on the train, the bus, over a coffee in starbucks and set goals based on what I want to achieve rather than just what I know how to program or what seems to be the current vogue feature. It also means I am doing this from a client perspective (hence putting htis post in the photography section, this is me the photographer being a client of me the designer) and keeping the what I wnt the site to [...]

    Categories:My Photography

    Tags: