All Things Patrick - Working Hard to be Lazy!

  • home
  • blog
  • links
Home

ORM is only a subset of the Model in MVC

patrick — Fri, 2010-08-20 00:58

I've been trying to put my finger on why I think a particular set of classes a previous programmer wrote to interact with a payment gateway annoys the hell out of me. At first I just felt overwhelmed by the number of classes and their interactions. I then listed out the classes and used a simple diagram to show basic interaction. Class A has a process that uses data from Class B, runs it through Class C, dumps the results into Class D, & somewhere along the line Class E gets used as well.

  • Database
  • Development
  • PHP
  • patrick's blog
  • Add new comment
  • Read more

Derick Rethans' blog

patrick — Thu, 2009-07-02 14:56

Derick Rethans' blog
  • Blogroll
  • Development
  • IRC
  • PHP

Sitepoint Helping Victims of Recent Australian Bushfires

patrick — Wed, 2009-02-11 23:59

Quick details:

  • Offer ends on Friday 13th February (2009).
  • 100% of the proceeds from this sale will be donated to victims of the recent Australian bushfires.
  • Choose any 5 books (in PDF format) and pay $29.95 USD.

A friend of mine just sent me an email today with the subject line of SitePoint 5 for 1 Bushfire Relief Sale and all the body contained was the link http://5for1.aws.sitepoint.com/. Copy/pasting the link into firefox dropped me at a page showing a fireman giving a koala a drink of water - how cute. Scrolling farther down the page past the form for selecting the PDFs you want I found the Why is SitePoint doing this? section and I'm stunned! Wow! Over 170 dead, 5000 now homeless... I hope my friends in Australia are all ok.

  • CSS
  • Design
  • Development
  • HTML
  • JavaScript
  • PHP
  • patrick's blog
  • Add new comment
  • Read more

Re: 10 Dirty Little Web Development Tricks

patrick — Thu, 2008-12-04 04:37

This post is in response to my friend who pointed this out to me via Facebook/StumbleUpon - 10 Dirty Little Web Development Tricks by Yongfook. I may come back later and add the header names for each item, until then each of mine relate directly to the items in the article.

  • CSS
  • Development
  • HTML
  • PHP
  • Version Control
  • patrick's blog
  • Add new comment
  • Read more

PHP Sucks, But It Doesn't Matter - partial rebuttal

patrick — Fri, 2008-05-23 14:27

It's funny that after Ravi pointed out PHP Sucks, But It Doesn't Matter at some point I came across Blogging Horror... While I've found a lot of posts on coding horror funny & horrifying over the years I find the issues being pointed at in the bulleted list under the Blogging Horror sub section absolutely horrifying as well. Credibility starts going out the window especially with Atwood's example of MVC :(

I initially started this as an email, but considering the number of people I'd end up forwarding this to I think I'll just slap it up here... Long story short I initially left ASP (and felt it sucked) because the community wrote crap code and I could never find any articles about advanced programming concepts. Although the PHP community contains a lot of crap code (hell, I think hotscripts started with just PHP crap code and has since added crap code from other languages) I found several people with lots of articles on advanced programming concepts and covering security issues.

  • Development
  • PHP
  • patrick's blog
  • 3 comments
  • Read more

PEAR just isn't normal

patrick — Mon, 2008-02-04 17:48

While working at RCS (see Jobs, Jobs, & More Jobs - Part 1) one of the projects I ended up working on was trying to figure out a way to upload streaming video to Amazon's S3. Googling around I found several articles, but only about 3 different PHP implementations for S3 - all 3 used at least 1 PEAR library. After wasting half a day trying to find something that didn't use PEAR I started a conversation with the lead programmer. What he said revealed a lot.

  • Job
  • PHP
  • patrick's blog
  • 1 comment
  • Read more

No More Vegas

patrick — Tue, 2007-09-25 21:20

Well phooey.

Tuesday I ended up calling the consulting agencies that had contacted me about Las Vegas & Oklahoma City & neither had good news.

The agency with the Las Vegas job said that Las Vegas had decided to go a different route. I'm not sure if that means that they decided to outsource, just turn the jobs down, or just wait until they figured out what space they were going to have in the new building. The guy that gave me a tour of the building said if he did get somebody he wasn't sure where he'd put them as he really didn't have any space right then.

The other possibility is that they simply weren't impressed - I was tired from the long days before hand & I hadn't had any caffiene yet. My programming ability didn't impress me much except that I remembered a bit of SQL & I've not done much at all with a database or SQL (other than simple SELECT queries).

Several times when they asked technical questions I wasn't really quite sure what it was they were referring to. Then again, how much can you say until you give the answer away?

I don't remember how exactly the guy phrased his question, but after I asked what he was refering to I discovered that he was referring to the visibility of class methods & members. PHP 5 recognizes 'public', 'private', & 'protected'.

  • Job
  • PHP
  • patrick's blog
  • Add new comment
  • Read more

Diving into AJAX Tutorials, part 1

patrick — Mon, 2006-11-13 08:25

For the past year there's been alot of AJAX hype & I figured it was about time that I started brushing up on "AJAX". AJAX was coined in February of 2005 (referenced at wikipedia) by Jesse James Garrett to describe the technologies to a client. As I've had alot of free time lately I thought I'd go through several tutorials that I've come across....

  • HTML
  • JavaScript
  • PHP
  • patrick's blog
  • Add new comment
  • Read more

Marvels of Drupal

patrick — Mon, 2006-08-28 21:20

I've been trying to figure out how to get Drupal (the CMS that this site uses) to have more meaningful links & URLs. The default is to be something like “?q=node/2”... ok, so that doesn't tell me what could possibly be there... as compared to something more like “node/The_Joys_of_Compressed_Files_and_Soft_Links” we could guess as to the contents of that blog post :)

  • Development
  • PHP
  • patrick's blog
  • Add new comment
  • Read more

User login

What is OpenID?
Connect
Sign in using Facebook
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password

Pages

  • About Me
  • About My Boxen
  • Quotes
  • 3d Graphics
  • Color Picker App
  • Resume
  • dailymile
  • facebook
  • twitter

Tags in Tags

CSS Design Development Entertainment EVE-Online Firefox Freelance Friends Games Hardware HTML Internet Explorer JavaScript Job Movies & TV Operating Systems Personal PHP Windows YouTube
more tags

Blogroll

  • 456 Berea Street
  • Anne van Kesteren’s Weblog
  • Clients From Hell
  • Derick Rethans' blog
  • Doug Seitz
  • Eric Meyer
  • The FAIL Blog

Powered by Drupal, an open source content management system
  • home
  • blog
  • links