Thanks for sending this through Gian.
I've taken a look at Phalcon and the performance certainly does seem impressive.
The issue I have is that the performance comes at the expense of ease
of use and rapid application development. The framework provides great
speed partially because (like CodeIgniter) it simply isn't abstracted
enough (for me) to be really useful.
IMO I see projects like Phalcon and CodeIgniter more as a bunch of
connected helper classes than helpful tools for RAD.
For most (paying) projects, the bottleneck is not performance but
build time. When I see things like this:
// Instantiate the Query
$query = new Phalcon\Mvc\Model\Query("SELECT * FROM Cars", $di);
// Execute the query returning a result if any
$cars = $query->execute();
I don't see much difference between the frameworks query language and
the bad old days of just using
$r = mysql_query('select * from cars');
if($r) {
while($row = mysql_fetch_object($result)) {
.....
I prefer to use frameworks that have a solid ORM, an excellent form
builder and processor, built in out-of-the-box admin UI and sane,
flexible templating. (I personally love using the Silverstripe 3.0
framework + CMS as you get so much bang out of the box for application
development)
I think that's why frameworks such as Silverstripe, Django and Symfony
are so widely adopted - they abstract away so many of the pain points
and get you focussed on building out a model and the actual
application logic rather than fluffing about with problems that have
already been solved over and over again.
Just my 2c and of course YMMV
Regards,
Paul Bennett
MoveForward - Web Development for Design Companies
http://www.moveforward.co.nz
06 308 9722
027 255 8495
On Tue, Sep 10, 2013 at 9:39 PM, Tony Rigden <[email protected]> wrote:
> Interesting concept. Obviously blazingly fast. Interested to note that
> Codeigniter (which is not a C extension) is close on it's heels for speed. I
> guess the + is speed. The - is you can't easily modify it.
>
> On Tuesday, 10 September 2013 17:12:20 UTC+12, Gian Basagre wrote:
>>
>> I recently came across this PHP framework called Phalcon
>> (http://phalconphp.com). It's an MVC framework written as a C-extension.
>> Just want to know if this community has any experience using it in
>> production. I'm interested on what the challenges are and also this
>> community's opinion on PHP frameworks as a C-extension (there's also Yaf
>> http://www.yafdev.com/).
>>
>> It's been kicking every other PHP framework out there in terms of
>> performance according to this benchmark:
>> http://www.techempower.com/benchmarks/#section=data-r6&hw=i7&test=db&l=sg .
>> I've tried it myself by building simple CRUD app. I must say it really is
>> fast. You know that feeling when you first installed an SSD, it's like the
>> same feeling for me. :)
>>
>> It has a growing community and for version 2, they're going to release a
>> programming called Zephir that's like in between PHP and C, to aid the
>> development of the framework.
>> http://blog.phalconphp.com/post/57161129440/phalcon-2-0-the-future
>>
>> I don't want to turn this thread into a framework war. Just a guy really
>> amazed with this framework and the initiative of the guys who created this.
>>
>> What do you guys think?
>>
>> Gian
>
> --
> --
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to [email protected]
> To unsubscribe, send email to
> [email protected]
> ---
> You received this message because you are subscribed to the Google Groups
> "NZ PHP Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
--
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
---
You received this message because you are subscribed to the Google Groups "NZ
PHP Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.