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 5958549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:33:32+00:00 2026-05-22T18:33:32+00:00

In Kohana 3.1.x framework. What are the benefits to send data with internal requests

  • 0

In Kohana 3.1.x framework.

What are the benefits to send data with internal requests like this

$post = Request::factory('module/data')
        ->method(Request::POST)
        ->post(array('some' => 'random data'))
        ->execute()
        ->response;

if you could simply send data like this

Module::instance()->data(array('some' => 'random data'));

In this example Module is a random module and data is some random method.

I’ll call this Module via ajax and internal requests. I’m planning to design RESTful API.

QUESTION IS: Why use HMVC instead of just directly using an internal class API

  • 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-22T18:33:33+00:00Added an answer on May 22, 2026 at 6:33 pm

    Because they’re internal requests, there is no additional HTTP request being made.

    You might want to take a look at Request_Client_Internal and compare it to Request_Client_External. After that you should feel enlightened 🙂

    Edit:

    You should know that AJAX requests aren’t the only “external HTTP requests”. cURL, PECL HTTP, file_get_contents() and other PHP functions will also send an external HTTP request (imho you should read the RFC 2616 to understand how HTTP actually works).

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

Sidebar

Related Questions

Hi friends i'm getting json from server (using kohana framework 3.0) like this.... {
i am building query in kohana framework which looks like this: DB::select('users.email')->from('users', 'roles_users')-> where('users.id',
I am using the Kohana framework (but I think it's irrelevant for this question)
I'm not even sure if this is possible. I am using Kohana framework(ver 2.3).
I would like to install Kohana PHP framework. The site is on a shared
I am new to Kohana framework. I am trying to use ORM module in
I'm using PHP, and the Kohana framework, but that should be peripheral to this
This question is about Kohana framework. I'm new to it. Using foreach() I want
I have a project want to use kohana framework, and the composition of this
This is a question I had about working with the Kohana framework, though I

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.