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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:01:32+00:00 2026-06-04T07:01:32+00:00

I DON’T WANT TO COMPILE PHP TO NATIVE EXES OR ANYTHING LIKE THAT, ONLY

  • 0

I DON’T WANT TO COMPILE PHP TO NATIVE EXES OR ANYTHING LIKE THAT, ONLY COMPILE/CACHE (both words don’t reflect what I mean) THE FRAMEWORK LOGIC ITSELF

Is there anything like a compiled PHP Framework?

What I mean is take Kohana as an example. It’s extensible, overrideable, fun, etc. But it ends up loading 200 files to show one page!

What I would think is best is if you have Controller_Admin extends Controller_Admin_Template extends Controller_Template extends Kohana_Controller_Template extends Controller extends Kohana_Controller. This isn’t needed… if we just copypasted method bodies to $parent->whatever() it would end up in one nice, smaller, faster file.

We already do it for JS and CSS to minimise assets downloaded; why not the whole framework? 😀

Also I am looking for a compileable ORM. The Kohana ORM is very… slow… it uses magic methods, loads tables, generally is fun to work with but a pain in the… circuitry of the server. 😛

If we could make ORM::factory('test')->compiled()->where('bla','=','1)->execute(); to compile into ORMC::factory('test','SELECT * FROM test WHERE bla=1')->execute(); in the production server it would be cool. This applies to a bunch of other stuff besides ORM but ORM would benefit greatly.

The overhead of dynamic frameworks doesn’t seem to tip the scales by the ease of use in my opinion. With this we lose no ease and speed it up a lot. 😉

So my question is: Does something like this exist? If not, is my logic flawed?


Edit:

Because of failed answers I’ll show more straight what I want to do.

We have an /application/ where there is the EXACT SAME code as without “compiling”, and a /compiled_app/ where all (for example) queries that can be SIMPLIFIED are SIMPLIFIED (not object Query_Builder but SELECT blablablabla etc).

Also as much as having 50 files for one class adds a lot of umm… override vectors? 😀 it is an UNNEEDED 100% GUARANTEED BOTTLENECK PERFORMANCE OVERHEAD. Maybe it’s not much but it’s there always. And it doesn’t have to.

  • 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-06-04T07:01:33+00:00Added an answer on June 4, 2026 at 7:01 am

    You can check Flow3 framework and how it works. Its not really what you want but maybe you will find it interesting..

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

Sidebar

Related Questions

Don't think that I'm mad, I understand how php works! That being said. I
I don't like Jackson. I want to use ajax but with Google Gson. So
I don't have much PHP experience and I want to know how to best
I don't want to know a way to preload images, I found much on
Don't know if I worded the question right, but basically what I want to
I've got a string that has curly quotes in it. I'd like to replace
Don't they both have to convert to machine code at some point to execute
Don't worry, I'm not going to ask that question, yet again... I am wanting
DON'T ASK WHY but... I have a regex that needs to be case insensitive
Don't get me wrong, I want them to get saved. But I always thought

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.