kohana Questions

4

Solved

I have written a sample controller in kohana <?php defined('SYSPATH') OR die('No direct access allowed.'); class Controller_Album extends Controller { public function action_index() { $c...
Tomtit asked 11/4, 2011 at 13:4

3

Solved

I've got a view with a form, so when user submits it - could anyone give me a link or a simple example of code Documentation and tutorials for Kohana 3 are so poor against CI .
Michaella asked 1/3, 2011 at 21:45

6

Solved

I recently discovered the PHP framework Kohana (which is awesome) and was reading a thread about using it in conjunction with a templating engine such as Smarty or Twig. My question is why bother? ...
Cerell asked 5/11, 2009 at 2:41

1

Solved

I am using Kohana 3 and I have a controller that extends Kohana_Controller. I call it from the command line using: php /path/to//index.php --uri="url/path" It works just fine, but this particula...
Giverin asked 29/1, 2011 at 22:4

3

How Scalable is Codeigniter V Other PHP Frameworks? I'm new to Codeigniter and love to know how scalable it is when compared to other PHP Frameworks?
Brachyuran asked 29/12, 2010 at 23:29

2

Solved

Is there a standard "official" way of using Smarty with Kohana 3? I see there are some options that seem less than ideal and will probably break when either Smarty or Kohana's minor version number ...
Realtor asked 16/12, 2010 at 3:49

3

Solved

I'm starting work with PHPUnit with Kohana. My application have many controllers which simply takes data from some form, validates and inserts/updates/deletes into/-/from database. How should I wri...
Gregorygregrory asked 20/12, 2009 at 11:15

3

Solved

Here's the setup at our shop: 1 VERY large PHP app (Kohana 2) with many dev's and lots of infrastructure Multiple (4-5 and growing) small PHP apps with 1-2 dev's working on these Issues: no t...
Hype asked 1/12, 2010 at 2:45

2

Solved

In Kohana's core class, there is a constant FILE_SECURITY. string(60) "<?php defined('SYSPATH') or die('No direct script access.');" Now obviously if you place this at the start of your files...
Landman asked 12/11, 2010 at 0:55

3

Solved

I need to call a Kohana helper (or any php MVC framework) from a Cron job. How can I do this? The server is Linux, so, I can only think of two possible solutions: 1- Open an URL from the cron job, ...
Suitable asked 12/11, 2009 at 13:25

1

Solved

I'm using Kohana's ORM library, and I'm wondering if there is any way to order the results that are generated. Example: $priorities = ORM::factory('priority')->select_list('id','label'); //how...
Bascio asked 5/10, 2010 at 1:0

1

Solved

I had a regex as the first line of defense against XSS. public static function standard_text($str) { // pL matches letters // pN matches numbers // pZ matches whitespace // pPc matches undersc...
Rooks asked 20/9, 2010 at 0:29

6

Which one of this frameworks would you recommend to someone who knows the basics of PHP? What are the advantages and disadvantages?
Hylton asked 14/1, 2010 at 13:43

2

Solved

I was looking for a fresh forum software (threaded) or bulletin board (flat/partitioned). And I'm wondering if there's an implementation based on one of the big PHP frameworks (CodeIgniter, Kohana,...
Alizaalizarin asked 6/9, 2010 at 5:5

3

Solved

In my bootstrap.php I have the following: if($_SERVER['SERVER_NAME'] == 'localhost') Kohana::$environment = 'development'; else Kohana::$environment = 'production'; ... switch(Kohana::$environ...
Blockbuster asked 23/3, 2010 at 16:7

1

I installed Kohana (in a "kohana" directory in my xampp public folder) and I'm trying to get the full base URL with the domain and protocol. When I try: url::base(); I only get /kohana/ back a...
Pteridophyte asked 26/5, 2010 at 23:30

3

Solved

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...
Agustin asked 10/6, 2010 at 17:5

1

Solved

I'm completely new to this framework and I'm trying to find some sample CRUD application to get started with Kohana 3. There is a tutorial and information in the unofficial Kohana 3 Wiki (http://k...
Urial asked 11/6, 2010 at 20:32

3

Solved

I'm using Kohana 3 to create a website that has two applications, an admin application and the actual site frontend. I have separated my folders to have the two applications separated, so the hiera...
Rikki asked 20/5, 2010 at 6:46

1

Solved

Could anybody brief about user_token functionality in Auth module? What is a use and how this incorporates in Auth module?
Carri asked 30/3, 2010 at 12:49

2

Solved

I'm looking for advice, tutorials and links at how to set up a mid-sized web application with Kohana 3. I have implemented MVC patterns in the past but never worked against a "formalized"...
Christiniachristis asked 14/3, 2010 at 21:48

12

Inspired from the other community wikis, I'm interested in hearing about the lesser known Kohana tips, tricks and features. Please, include only one tip per answer. Add Kohana versions if n...
Predial asked 6/3, 2010 at 15:49

3

Solved

I'm using Kohana 3. I'm writing an update query, and it is working for everything except this one section. If I do a var_dump() on the results of $db->execute() I get either a 1 or 0 to say it...
Space asked 11/2, 2010 at 5:8

2

Solved

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: <?php defined('SYSPATH') or die('No direct script access.')...
Comedienne asked 13/2, 2010 at 17:32

7

Solved

I've been using Kohana for a couple months now, and am still relatively new to the MVC style of organizing your code/presentation/db-layer. Unfortunately, while there is plenty of documentati...
Soybean asked 19/6, 2009 at 14:9

© 2022 - 2024 — McMap. All rights reserved.