Zendhana – The Zend and Kohana Baby

This post talks about exactly what the title indicates. Framework…sex. Two very powerful frameworks joining forces via the magic of auto loading to build an even more powerful, albeit extremely fat framework. So why would anyone in their right mind want to do this? Here are some of the things about both frameworks and ultimately the reason why it was done…

Read the rest of this entry »

PHP kohana zend

Flash vs. HTML 5 – Stop it! Your tearing us apart!

I have been keeping up with the HTML 5 vs. Flash debate for a while now. It is kind of hard to follow anyone in the development community these days without hearing something about it. I’ve read several blog posts talking about how HTML 5 is “Anti-Flash” or about how HTML 5 isn’t even a real competitor to Flash. Some posts are definitely more educated than others and I thought it would be good topic to weigh in on.

Read the rest of this entry »

Opinions Flash HTML 5

.NET Entity Framework WTF!? Part One

I’ve been doing a bit of work in C#/.NET using the new .NET MVC framework and the ADO.NET Entity Framework. As a newcomer to the platform as a whole, I was actually pretty stoked about getting started. As I began to get in to my project, I would search the web (StackOverflow.com) when I had issues. As things progressed, I started to realize some of the shortcomings of the entity framework. Overall, I actually found it quite nice to work with. However, the issues that I ran in to became a bit annoying. Read the rest of this entry »

.NET Entity Framework

Targeting FP10 In Flex Builder 3 When Using Ant

This is probably a relatively well known piece of information, however it took me a few minutes to work it out so I thought I would share.

I’m doing unit testing with FlexUnit on a project I’ve just started working on. I wanted to target Flash Player 10 because I really wanted to make use of the new Vector class. I’ve got my project setup so that it is being compiled using ant with the help of The Flash Bum’s TDD Project on github. The project is setup to run unit tests, generate test reports as well as generate documentation.

I kept modifying various Flex Builder settings to change the targeted Flash Player version but to no avail. I started examining the output of the compilation process and noticed a reference to the flex-config.xml file. It was then I realized that the Flex Builder settings had no effect because they simply were not being used. DUH!! Upon opening the flex-config.xml file (located in the Flex sdk’s frameworks directory eg: /Applications/Adobe Flex Builder 3 Plug-in/sdks/3.4.0/frameworks/flex-config.xml) I noticed the <target-player></target-player> node toward the top.

To target a player version, simply specify the version in the target-player node, save the file and the Flex compiler will attempt to use that player version.

ActionScript Flash/Flex ant flex flex builder tdd

View Prototypes with Core Data

I’ve been working on my first desktop application for Mac lately. Overall the development process has been pretty sweet. One of the things that acts to drastically simplify development is the Core Data framework. I was doing some searching and came across a very helpful page on the Apple Developer Connection site.

Developing with Core Data describes the Managed Object Model as well as where Core Data fits in to your application. A more off handed but extremely helpful topic that it talks about is view prototyping with Xcode and Interface Builder. You can create view prototypes by simply doing an Option-drag from the Xcode Data Model Design tool to a Window object within Interface Builder. This is great for being able to quickly get data in to your application.

Mac Development core data Mac Development

Dynamic routes in Kohana

Lately, I’ve been working on a project at work for a restaurant. They are a franchise so they could have stores coming and going every once in a while. One of the requirements for the site is to be able to access stores using short urls. eg: restaurant.com/location_name. There are the more basic solutions to accomplishing this which may involve updating an htaccess file or maybe even the routes configuration in Kohana. The issue with these methods is that they are hard coded and would need to be updated any time a new store was added. Instead, I wanted a slightly more dynamic approach. Read the rest of this entry »

PHP kohana PHP

First Post…Something Simple.

So this being my first post on this thing, I thought I would keep it simple and share an extremely simple problem I was having with an even more simple solution. I’ve been working with the new Zend_Amf package in Zend Framework. As far as flash remoting goes, I am admittedly a noob. That said, I began setting up a simple installation of Zend Framework as well as the basic NetConnection objects within ActionScript and bam! I was up and running. No big deal!

Read the rest of this entry »

ActionScript PHP amf remoting zend