This is a simple forum site I wrote in a couple of hours using Kohana, a lightweight PHP MVC framework. The purpose of writing this application is to prototype ORM usage and speed in a semi-realistic application.

I will also be writing a how to tutorial in the next couple of days based on this application.

forums

To install on a LAMP environment:

  • Download the zip file.
  • Unzip and drop into your Apache web folder.
    • ie. /var/www
  • Download the latest bare bones version of Kohana. (I’m using v2.3.4.)
  • Copy the systems folder from Kohana into the forums folder.
  • Edit forums/application/config/database.php to your server’s database settings.
  • Create a database in MySQL matching your database.php settings.
  • Edit $config['site_domain'] in forums/application/config/config.php to match the URL of your server.
    • ie. if your URL is http://localhost/forums/ then $config['site_domain'] = ‘/forums/’;
  • Run modules/forums/forum.sql to populate tables in MySQL.
http://www.georgetruong.com/wp-content/plugins/sociofluid/images/digg_48.png http://www.georgetruong.com/wp-content/plugins/sociofluid/images/reddit_48.png http://www.georgetruong.com/wp-content/plugins/sociofluid/images/dzone_48.png http://www.georgetruong.com/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://www.georgetruong.com/wp-content/plugins/sociofluid/images/delicious_48.png http://www.georgetruong.com/wp-content/plugins/sociofluid/images/technorati_48.png http://www.georgetruong.com/wp-content/plugins/sociofluid/images/google_48.png http://www.georgetruong.com/wp-content/plugins/sociofluid/images/myspace_48.png http://www.georgetruong.com/wp-content/plugins/sociofluid/images/facebook_48.png http://www.georgetruong.com/wp-content/plugins/sociofluid/images/twitter_48.png

2 Comments to “A simple forum using Kohana PHP and ORM”

  • Amber Lynn says:

    Hi !! I’m the new right here but ‘m really curious in web development.
    Would absolutely adore to talk about ideas on php development and update myself here.
    Would like to be familiar with jake?
    Which I have come to learn about is virtually a bridge between Cakephp and Joomla?
    How does these really merge and provide an impact to web development in php??

  • @Amber: I haven’t done hardcore PHP development in a couple of months. I have been developing mostly on Ruby on Rails lately for work. I have a Joomla project that I’m developing for a non-profit at the moment, but I don’t think I would need anything out of the standard Joomla installation. Jake sounds really interesting. I will have to look into that in the future.

Post comment

What I do

Expertise PHP
Internet Engineering
Build highly scalable web applications in Ruby on Rails, PHP MVC, and Python / Django.
Expertise2
Frontend Programming
Create shiny websites with CSS, (X)HTML, Javascript, AJAX, and Web 2.0 sugar.
Expertise3
LAMP Administration
Apache, MySQL, Memcache, CRON jobs, and the magic sauce that make web apps tick.
Expertise4
iPhone / OS X Development
Develop applications for iPhone and OS X in Objective-C / Cocoa for kicks and giggles.

View my portfolio »

Popular Posts

Archives

About me

My name is George. I am a Software Engineer with about three years experience developing in open-source internet technology. I currently live and work in Los Angeles, California.

I am currently a Ruby on Rails developer. But the majority of my experience has been in PHP. I have also dabbled in C# / ASP.NET and Python / Django for various projects.

View my résumé or contact me today.

Get in touch!

You may either use my contact form, or send and email to me directly at george@georgetruong.com.

You could also try to reach me at 626-817-2633.

Twitter LinkedIn Google Facebook