Kohana

Configuring Routes in Kohana

0

At first when I looked into using Kohana I was quite happy and comfortable to use it. As a matter of fact, I still am.

Routing was one thing that I had some trouble with.

Now I don’t know if it was because when I read through some of the articles online and/or forum posts that my mind was hazy with coffee… could be.

Recently I was once again into some code that had been worked on for a project using Kohana v3. And at once the issue of routes had come to mind….. I had always thought about making some kind of “catch all” to avoid errors and such for missing controllers…etc.

But while reading a bit (with a fresh cup of coffee I might add) it just struck me in a different way. I don’t know why I didn’t seem to understand it before…. but I now understood that I could set up various ¬†routes allowing access to controllers and also using a “catch all” of sorts. And the way Kohana uses it’s modules, I could create an init.php file inside ¬†each module directory to define the routes instead of messing with the bootstrap.php file.
(more…)

Very long list of PHP frameworks

0

Here’s a quick little rant before I post the link to the long list of frameworks…

Just a few months ago I was looking at frameworks. I had thrown myself in the fire of a PHP project and it’s really something that I’d never done from start to finish.

I thought using a framework would help me out a bit since this was to be my first “start to finish” PHP app. After looking at a few frameworks on really stuck out to me.

I’d been a bit familiar with MVC type frameworks from using Model-Glue in ColdFusion development and after using it in a couple of different projects I generally liked using an MVC framework.

So today, I’m just reading through me RSS reader and I found this blog post which was linked… this is a list of 79 PHP frameworks. I certainly would not have looked at all the options on that list….. and I still wouldn’t consider going through so many.

To link that long list with the few paragraphs above…. for that PHP project that I mention… well I had settled on number 7 on that list. Kohana.

Finally, click here to see the list of 79 PHP frameworks.
(more…)

Kohana 404 errors

0

I was putting a site on a production server today and found some very strange errors. At least, I thought they were a bit strange.

The Server is Windows 2003 and IIS6. This is a leased server… leased by a small business I sometimes do work for.

In the development environment I had running, it was a XAMPP set up that used Apache. I knew there could be some slight differences. But MySQL and PHP were very similar releases.
(more…)

Developing new skills

0

At the end of 2009 I really wasn’t sure what direction I was going in anymore.

Being primarily self-employed for the previous year and a half and a total of 4 years of the last 6 I was feeling burnt out.

I had begun to consider looking for full time employment but had found that the opportunities were few and far between for “the job” that I would have liked to land.

You see, for the last 9 years I’ve worked primarily with ColdFusion. Working with ColdFusion has always been a joy and it continues to be my first love.

But unfortunately the job opportunities weren’t plentyful.

So what does a guy do??
(more…)

Go to Top