K
K
Klein Maximus2014-08-14 21:05:00
PHP
Klein Maximus, 2014-08-14 21:05:00

What is the difference between phalcon-micro and phalcon?

Here is a performance test of various frameworks.
Phalcon-micro is way ahead of the standard Phalcon.
And how much do they differ?
PS: Just do not write that one is full, and the second is micro. I would like to know more specifically.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sali_cat, 2014-10-18
@kleinmaximus

In micro - a truncated functionality, but you should not be upset, the performance there is higher and eats less. In general, the frame is serious, well suited for large and medium-sized projects. In small ones, it is meaningless and it is better to choose something simpler.
The average project is 500k users per day. In my

P
Push Pull, 2014-08-14
@deadbyelpy

The fact that in micro - truncated functionality. Most of the events are not available to you.
Built-in router, dispatcher, and, accordingly, only their (but not all) events. A request processed through micro will not go further than it.
This is something similar to an application where 1 controller and nothing else.
Already initialized request, response, and there is a separate view, it must be initialized, but the micro will be able to use it without a loader and DI.
But you can still enable normal DI, file autoloading, models, and everything else except Dispatcher, Router.
There is also a microCollection, using it you can already write and use more than 1 controller, and the request can be processed using 2 or more controllers.
And they differ in speed because what will be faster for a more loaded or less loaded application? - the answer is obvious.

S
Sergey, 2014-08-14
Protko @Fesor

Sorry, but exactly "one is full and the other is micro".
There is such a thing there: docs.phalconphp.com/en/latest/reference/micro.html
there is no DI (normal), there is no such division into components ... but simple things can be written.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question