Questions tagged [kohana]

HMVC PHP5 framework that provides a set of components for building web applications. Be sure to mention specific version when asking.

Due to the differences in the codebase between and , as well as each minor version, please be specific in detailing which version of Kohana you are using when asking your question.

Kohana is an elegant framework that provides a rich set of components for building web applications.

It requires very little configuration, fully supports and , and provides many of the tools that a developer needs within a highly flexible system. The integrated class auto-loading, cascading filesystem, highly consistent , and easy integration with vendor libraries make it viable for any project, large or small. The support of has been started with

Popular Questions

Resources

See also

2221 questions
5
votes
2 answers

What is the correct way to get values from the query string in Kohana 3

Just curious as to what is the 'Kohana' way of getting variables from the query string? The best that I could come up with is parsing the $_GET var with the Arr class. Anybody have a better way to do this? // foo?a=1&b=2 function…
Gerry Shaw
  • 9,178
  • 5
  • 41
  • 45
5
votes
3 answers

Kohana 3.0's HMVC structure in layman's terms?

So, I think i understand the cascading filesystem in it's basic terms, but I can't seem to wrap my head around the 'H'ierachy structure of the MVC. Could anyone tell me the advantages of using HMVC over MVC and it's basic intended…
soren.qvist
  • 7,376
  • 14
  • 62
  • 91
5
votes
4 answers

Where can an absolute beginner of Kohana PHP go to learn how to use it from the ground up?

I have a month of free time and I've decided to launch my own website. It's going to be big and have dymanic content where different users with different roles can perform modifications to the site. Place comments, rate stores, list items, etc. This…
delete
5
votes
2 answers

Form not sending full data

I have a form with over 50 input fields. The input fields are divided into 5 jquery jabs within the form container. Here's a sample of what it looks like:
HyderA
  • 20,651
  • 42
  • 112
  • 180
5
votes
1 answer

Kohana V3 Auth module user_token functionality

Could anybody brief about user_token functionality in Auth module? What is a use and how this incorporates in Auth module?
Asif
  • 833
  • 2
  • 14
  • 23
5
votes
2 answers

Kohana: Is it necessary to check if SYSPATH is defined?

I'm a CodeIgniter user and I'm taking a look at Kohana. First thing I noticed is that in the documentation every snippet starts with:
Matteo Riva
  • 24,728
  • 12
  • 72
  • 104
5
votes
3 answers

Zend Framework with Kohana PHP 3

I've put the Zend library folder into classes folder of my app and renamed all files and folders to lowercase ( using Ant Renamer ). When I call Zend_Feed, instead of loading /classes/zend/feed.php, kohana loads Zend from my servers…
Kemo
  • 6,942
  • 3
  • 32
  • 39
5
votes
7 answers

approach for "site down for maintenance"

I have been using Joomla and I love its administrative facility to put the site down for maintenance. As I have seen, all requests to the site if it is in maintenance mode is routed to a single page. If I want to add my own "site down for…
yretuta
  • 7,963
  • 17
  • 80
  • 151
5
votes
2 answers

Kohana: Understanding and reproducing Salt & Hashed passwords using the Auth Module

I'm using the Auth Module in Kohana v 2.3.4. In terms of authenticating users, there's a two step process. The entry point is the function login. It's first task is to retrieve the password stored in the database and retrieve the password and…
Gary
  • 1,515
  • 1
  • 14
  • 22
5
votes
1 answer

Using Composer to get github repo with Kohana fails: "requested package could not be found"

I would like to use Composer to include the php readability git project. This is my composer.json file: { "repositories": [ { "type": "package", "package": { "name":…
xylar
  • 7,433
  • 17
  • 55
  • 100
5
votes
2 answers

Overriding Kohana_Exception::_handler() for Production - 3.3

I am using Kohana 3.3 and I read in this forum post. It says that to prevent stack traces from being shown to the end users, I need to override Kohana_Exception::_handler() to do something different with the errors that percolate up. Does that mean…
thatidiotguy
  • 8,701
  • 13
  • 60
  • 105
5
votes
2 answers

php://input returns empty

I have Backbone application. When model updates PUT request goes to my server. Client-side looks good. But on the server side (PHP) I have some trouble. When I first time test this request in PHPStorm: file_get_contents('php://input') return what…
Meliborn
  • 6,495
  • 6
  • 34
  • 53
5
votes
3 answers

Kohana 3.3 Routes where the name of a Controller and Directory are the same

How do I correctly setup routes in Kohana 3.3 where the name of my controller and directory are the same as in my example below? /application/classes/Controller/Admin/Author.php - admin/author - admin/author/add -…
HAL9000
  • 55
  • 1
  • 4
5
votes
3 answers

Kohana, .htaccess, and $_GET

After uploading my Kohana project to my Godaddy server, I noticed my standard .htaccess file wasn't working sufficiently to provide the clean URLs. After some guidance, I ended up with the following rule: RewriteRule .* index.php?kohana_uri=$0…
Sampson
  • 265,109
  • 74
  • 539
  • 565
5
votes
1 answer

Kohana 3.2 'advance' ORM joins

This is Database ERD that I use in application. I'm using Kohana 3.2. What I want to achieve is to generate menu for currently logged user. Each user can have many roles, so based on that user should get menu populated with modules (that are in…
dzeno
  • 510
  • 1
  • 5
  • 16