Skip to content


kohanaPHP Forge Demonstration, Part 1

Description:

This begins the start of an evolving demonstration. It’s a working back-end for an event registration application.

Notes:

- No styling has been applied

- For simplicity there are no views. Simply controller generated content.

- It’s assumed that the KohanaPHP framework, MySQL, and PHP are all installed and functional.

Highlights:

  1. Database CRUD statements with data grid.
  2. Basic ORM has_many/belongs_to relationship.
  3. FORGE module dateselect() function demo.

Files:

UML Diagram - [DIA Format] [PNG Format]

MySQL Script - [events.sql] [registrars.sql]

Kohana Files - [application.tar.gz] (includes folders to be copied into your models and controllers folders)

Note: Once you have copied the project files to the appropriate directories browse to /kohana/index.php/dbd/examples)

No TweetBacks yet. (Be the first to Tweet this post)

Posted in Uncategorized.

Tagged with , , .


7 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Amir says

    nice example, thanks for sharing!

    I saw that you chose to put the form/grid creation functions in the model files. Is this the “normal” MVC practice?
    how about putting it in the controller?

  2. Emikehimeflef says

    http://www.drybydesign.com - great domain name for blog like this)))
    ————————
    ad: http://dewat.ru/

  3. INHALLILM says

    http://www.drybydesign.com - cool sitename man)))
    ————————
    sponsor: http://rutkowski5sld.lised.ru/

  4. PerinGerryRar says

    http://www.drybydesign.com - now in my rss reader)))
    ————————
    signature: http://cherrydsf3.lised.ru/

  5. EstatoDooky says

    Hello, I can’t understand how to add your blog ( http://www.drybydesign.com ) in my rss reader
    ————————
    sponsor: http://lolej.ru/

Continuing the Discussion

  1. Trikke linked to this post on January 30, 2009

    Hi…

    Looking for something else, but nice site….

  2. Malpractice linked to this post on February 13, 2009

    Heya…

    Gotta love msn, very fine stuff. Thank you….