Kohana 3 Routing – Part 2: Dynamic Routes and Default Values

Part 1 | Part 2

In Part 1 of these articles we learned to created a simple static route in Kohana. In this part we’ll build on the basic routing to make parameters passed in the URL available to the action function.

Basic Parameters

Passing parameters into kohana from the URL is a fairly straightforward . . . → Read More: Kohana 3 Routing – Part 2: Dynamic Routes and Default Values

Kohana 3 Routing – Part 1: Static routes and Subdirectories

Part 1 | Part 2

The complexity of Kohana routing is really not as daunting as it first appears–especially if you’ve the leisure to browse the cleanly written, well organized code. However, for those who lack the time (or desire) to parse libraries, Kohana can present some stumbling blocks to a newbie early on the . . . → Read More: Kohana 3 Routing – Part 1: Static routes and Subdirectories

PDO with MySQL DB Usage Example

Overview of Examples

This is just a quick example on using PDO for connecting to a MySQL DB in your PHP code. There are just a few high level reasons why I recommend using PDO, which I’ll go into detail in later post, but for now at a high level PDO:

Encourages use good Object Oriented programming
Provides . . . → Read More: PDO with MySQL DB Usage Example

Bluetooth Problems on OSX Leopard with Mighty Mouse and Apple Wireless Keyboard

Update 2009-10-18: It seems like this is no longer an issue for me with Snow Leopard.  Don’t know why, but it stopped happening on my MacBook once I upgraded.  I got a new iMac at work and installed Snow Leopard with the free upgrade disk that came with it.  I have the same setup, a mighty mouse and wireless keyboard.  I’ve not yet had the problem.  The only issue is once in a while when coming out of sleep I need to restart bluetooth for it to detect the mouse/keyboard.  This happens rarely though, maybe once every 10 sleeps or so.  I hope they backport this fix, whatever it is to Leopard for people who don’t plan to upgrade to Snow Leopard.

Many people with OSX Leopard have been experiencing a number of problems with Bluetooth. Apple has released several patches trying to remedy these issues, the latest of which was with this week’s 10.5.8 update. Being skeptical of success–10.5.7 included Bluetooth fixes that didn’t help–I updated yesterday and crossed my fingers. Well, today I can tell you, to no surprise, I’m still having Bluetooth issues with my MacBook while using a Mighty Mouse and Apple wireless keyboard. I’m assuming other also are in the same boat as me, so let’s take look at what’s going on. Continue reading Bluetooth Problems on OSX Leopard with Mighty Mouse and Apple Wireless Keyboard