Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6723873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:37:16+00:00 2026-05-26T09:37:16+00:00

I think that framework shouldn’ be a cage for developer, and because Kohana gives

  • 0

I think that framework shouldn’ be a cage for developer, and because Kohana gives a lot of freedom I am just wondering how do other guys handle two action-related things:

  1. Internal actions. I mean if i have a realy long action, i divide it to some subactions like internal_action, internal_someotheraction. What do you think, is it a good practice? Or maybe you avoid other functions then standard actions in controllers? And then maybe detec is action called internaly?

  2. Do you have sometimes situasions, when you want to redirect to some other action by just doing $this->action_other;return; ? Or do you always create a new HMVC redirect?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T09:37:16+00:00Added an answer on May 26, 2026 at 9:37 am

    I often find the need to share functionality between public actions within a single controller or set of controllers. So, I either create private or protected methods to perform the task within the controller, or I create a base controller that several of my controllers can extend in order to utilize and/or specify the desired functionality.

    I also have situations, especially in a form processing scenario, where I will not generate or associate any output from a particular action, but will instead call another action to handle the output after I have processed the requested action as needed. I typically don’t use HMVC in these scenarios because I can easily get to the logic needed. I end up using HMVC requests in scenarios where I rely on logic and code within another controller to gather and populate the appropriate output/views. If I already have the data necessary, then I just need to use a view from my current controller.

    I can’t speak to what the best practice may be, but I’m sure that it largely depends on your scenario. There certainly has to be unnecessary overhead in making HMVC requests for everything.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I don't think that this is specific to a language or framework, but I
I love Ruby and its framework, but I don't think that Ruby On Rails
just think that when I opened my file then when I want to write
I'm developing a very simple but (hopefully) solid framework that just fits my needs.
I think that java executables (jar files) are trivial to decompile and get the
I think that business logic should exist in a model when using an MVC
I think that it used to the be the case that in Liferay 4,
I think that this problem can be sorted using reflection (a technology which I'm
I think that Visual Studio's biggest let down is the Javascript editor. I have
I think that the zipper is a beautiful idea; it elegantly provides a way

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.