All I see is Blond, Brunette, Redhead…

QR Code

http://createqrcode.appspot.com/

Retweet

cf.Objective() 2010 – Day 3

Part three of my cf.Objective 2010 series.  Again I arrived a little late today.  Just over tired.  I got to Terry Ryan’s ORM talk about half way through.  When I walked in he was talking about lazy loading, extra lazy, and eager.  He mentioned how you can actually do a eager join when you load an object which instead of running separate queries two get all of the data you need it Hibernate will create a ‘large’ join statement that will pull all of the data in one query.  This was something I hadn’t previously heard of and sounded like it might have some good uses.  He went on to talk about Caching, Event Handling and Table Generation.

Read the rest of this entry »

Retweet

cf.Objective() 2010 – Day 2

Part two of my cf.Objective 2010 series.  I was a bit worried this day was going to be rough as I had been at the office until almost 10pm the night before.  I was a little late the first session and missed breakfast but for the most part I was more awake than I expected.  It helped that the first couple sessions weren’t entirely boring.  Actually the session on Flex 4 was pretty interesting, but still wasn’t earth shattering information.

Read the rest of this entry »

Retweet

Apple < Microsoft

Short rant about how pissed I am with Apple.  People who think that Apple is less ‘evil’ than Microsoft are ignorant.rottenapple2

I own an iPhone and for the most part I really like it.  I have few complaints, and most of them are a result of greedy mobile carriers.  iPad comes out and now I am really interested in developing apps for the iPhone and iPad.  I think it would be fun as well as a way for me to branch out from web development.  So I go to the Apple website and register as an Apple Developer.  It wasn’t until after I registered that I found Apple has made it virtually impossible for you to develop apps for the app store if you do not have a computer running OSX.  On top of that it has to be running on an Intel platform, so one of their newer model machines.

Screw you Apple.

OSX blows you elitist bastards.  You develop a great mobile platform, the iPhone OS, and then you tell me because I prefer *insert favorite not apple OS here* I am not worthy of developing applications for your platform.

As if that wasn’t enough they updated there App store terms of use to eliminate Adobes efforts of circumventing this proprietary BS.

I guess it is time for me to start looking at Android or the Win Mobile 7 OS.  I definitely wont be buying an iPad anytime soon.

Retweet

cf.Objective() 2010 – Day 1

Through work I received the opportunity again to attend the annual cf.Objective Conference held in the Twin Cities.  I have attended the conference for the last four years since its inception in 2007.  To summarize it is a conference for advanced ColdFusion developers.  If you are brand new to ColdFusion you would be better off attending CFUnited. Some session you might see at cf.Objective would be about Frameworks, ORM, CF integration with Flex, etc.

In this post I am summarizing the sessions I attended on the first day.

Read the rest of this entry »

Retweet

Dependency Injection with PHP

Found this article while looking for an open source Dependency Injection engine for PHP.  The grammar needs a little work but otherwise it is a really good summary of what Dependency Injection is and why programmers should use it.

In ColdFusion we use ColdSpring which is based on the Spring Framework for Java.  It actually does a lot more than just DI but I am not concerned about that.  What I really want is something that can handle the same kind of DI situations that ColdSpring does for PHP.  I am currently working on a WordPress plugin for a freelance client which has turned out to be the most heavily object oriented PHP project I have done so far.  I have been trying to translate a lot the best practices I have learned while working with ColdFusion over to PHP and came across a need for DI.  What I ended up doing is creating a Factory that handles all of my object creation just like what is mentioned in the article by Ryan on PotStuck.  I pass an array with all of my classes, their paths, and their dependencies, like so:

$classes = array (
	'EventBean' => array (
		'path' => 'model/Event.php',
		'dependency' => array (
			'Venue' => 'VenueBean'
		)
	),
	'VenueBean' => array (
		'path' => 'model/Venue.php'
	)
);

So far it is working pretty well but I am thinking about making a more substantial DI framework that I can use on many projects to come.

Retweet

Web Programming Presentation

I gave a talk at St. Cathrine University in St. Paul on the basics of web programming.  Really the basics of web servers.  The presentation is attached.

Web Programming Introduction

Retweet

Time for Something New

I new it was on it’s way out, but my Compaq Prisario v2000 finally died.  Just short of 6 years and showing the wear for it.  So I have moved on.

Meet the Dell Latitude e6400.  Not as stylistic as the XPS series but much more practical.  After having a laptop for so long I have discovered that the power of a desktop is no match for the convenience of a laptop.  But what to do with the quality peripherals I have acquired over time like my 22 in Samsung monitors.  Well… I have always wanted a docking station, hence the business class Latitude equipped with a docking port.

  • Intel Core 2 Duo T9900 3.06GHz
  • 4Gb RAM
  • Windows 7 Professional 64bit
  • 250Gb 7200rpm HDD
  • Nvidia Quadro NVS 160m, 256Mb

Now I can use my laptop as my primary machine while still getting the high productivity of having two monitors a full sized Keyboard and Mouse.

Retweet

Giving In

For too long I have been telling myself I will create a website to promote my work and everything else important to me.  I have started so many site only to get distracted by real work.  After playing around with Word Press for work I am doing for a freelance client I discovered how powerful and well written it is.  Therefore I have given in and decided to start with Word Press rather than aspire to end with something like Word Press written on my own.

I think a big part of my failure to create a site was I kept getting hung up on the big picture.  I wanted to develop something that I could build upon over time.  I would start with a simple design and a few pages and never really get much farther than that.  A few months later I would give it another go.  Now I am going to start with Word Press as a base and build upon it with my own Themes and Plugins.

Retweet