Jeff Linse

  • HOME
  • About Me
  • My Projects
  • Contact Me

Archive for the ‘ PHP ’ Category

Creating a Tree Structure within a CakePHP Model

  • October 5th, 2008
  • Posted in Development . PHP

My assumption going into this was that creating a tree-like relationship within one of my models would be fairly straightforward with Cake’s model relationships.  As it turns out, I was absolutely correct. Let’s say we want to create a model called “Category”, and each category can belong to a parent category.  In other words, we [ READ MORE ]

10 Useful PHP Functions You May Not Have Known About

  • September 15th, 2008
  • Posted in Development . PHP

10. get_browser() This function comes in handy when collecting information about a user’s browser to determine the content capabilities for that user.  It returns an associative array containing information such as the browser type, version, whether or not it is capable of handling frames, cookies, and javascript, and the platform on which the browser is [ READ MORE ]

Creating Custom printf() Wrappers

  • June 24th, 2008
  • Posted in C/C++ . Development . PHP

After some brief searching, I found a way to create my own custom printf() wrapper functions. The technique is rather simple. Declare a function that accepts a format string and a varying number of further arguments. Pass said string and arguments to fprintf. Do anything else desired before and after[ READ MORE ]

  • «
  • 1
  • 2

About Me

I'm Jeff, a software engineer in Seattle, WA.

Recent

  • I Just Wouldn’t Stand It Anymore
  • SSE Tech Talk on Functional Programming
  • New Hosting Provider
  • How to Maintain Simple, Static Pages in CakePHP
  • Functional Programming, Here I Come!

Not So Recent

  • June 2010
  • March 2010
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • January 2009
  • October 2008
  • September 2008
  • August 2008
  • June 2008

Categories

SEARCH

TAG LIST
  • memcpy
  • memory
  • malloc
  • hexadecimal
  • functions
  • hex
  • model
  • number
  • printf
  • programming
  • oriented
  • octal
  • object
  • oct
  • format
  • error
  • code
  • association
  • arguments
  • convert
  • calendar
  • dec
  • element
  • decimal
  • cakephp
  • function
  • tutorial
  • cake
  • PHP
  • c
  • Copyright ©  2008-2010  Jeff Linse