DooPHP is a young and very high-performance PHP framework!

    Dooohp
    The Doo framework is one of the fastest, if not the fastest, PHP frameworks available. It helps developers at all stages of creating web 2.0 sites.
    Free translation of introductory text and performance test charts.

    A bit of history


    You are probably asking yourself - why do we need another PHP5 framework? Well ... I have used and tested many frameworks based on the MVC pattern over the past few years, such as Ruby on Rails, CodeIgniter, CakePHP, Qcodo, Akelos, Fusephp, Qeephp, Recess and Yii. I may have problems, but I never liked how other frameworks work in everyday use. Yes, I admit that I like one or two features in them, but I always tried to do something of my own.
    And now, after 1-2 months of work, I present to you DOOPHP. This is a high-performance PHP framework based on the  MVC pattern.Easy to use without complicating your workflow or syntax. The Doo framework is arguably the fastest open source framework available, you can check out performance tests (a bit lower) for comparison. The framework is 3 to 12 times faster than others!
    DooPHP tries to be as light as possible and uses minimal code. For example, a URI router is only 197 lines of code, but it supports auto-routing, RESTful requests, redirection, almost identical-routes, extension names, and so on (the file has become 421 lines long after documenting)! During the development process, I did tests of possible approaches when building the module and chose the fastest for Doo.
    Besides the fact that DooPHP is very fast, it also has a lot of features. DooPHP supports some libraries often used in website development, such as MVC pattern, RESTful API, REST client, URI routing, ORM tools for databases, model generator, compressed HTTP authentication, flexible and compiled template engine, logging and profiling, and much more.
    DooPHP is 100% E_STRICT compatible and works great in a wide variety of environments. It was tested on Apache 2.x / 1.x, Cherokee, lighttpd servers, in CGI / FastCGI mode, and also using Mod_php (on Apache). It works on Windows and Linux operating systems.
    DooPHP requires nothing but PHP. It works well on shared hosting! (the developer's site is hosted on shared hosting, due to lack of funds)
    DOOPHP means Do OOP in PHP (Do OOP in PHP), or sometimes DOOOPINPHP.

    Performance tests


    Benchmark
    Original testecho 'Hello world'
    Template TestHello world using template
    Database testDB setup, Doo: db () → find ('User'); 88 records found
    Cached Configuration TestThe configuration files are cached using apc_store and run using the deploy script. Echo 'hello world'
    DooPHP Blog TestDooPHP Blog Page Performance Test

    To be honest, the tests were done on one computer, under one operating system, server and PHP in FastCGI mode.
    • Operating System: Ubuntu Desktop 9.01
    • Web server: Cherokee web server 0.99.16
    • PHP: 5.2.9, FastCGI mode, all non-critical extensions have been disabled
    • CPU: Intel Dual 2 Core 2.8 Ghz
    • RAM: 2GB DDR2 800Mhz
    • Hard Drive: 120GB 7200 RPM SATA HDD

    The latest frameworks for July 12, 2009, CodeIgniter 1.7.1, Yii 1.1 dev, CakePHP 1.2.3, QeePHP 2.1
    were tested. All tests were performed without data caching. Each framework was tested 10 times and the average results of each test were used. RPS values ​​(requests per second) were obtained using the ApacheBench tool and the command “ab -t 30 -c 10 URL” (ie 10 level of parallelism, test execution 30 seconds).
    And the last, but quite important point, DooPHP is released under the  new BSD license  - this means that it is free for personal or commercial use.

    The drawbacks include very modest documentation at the moment, although there is a full description of API + in the archive with the framework, several demo projects are supplied that are quite suitable for a quick start.

    If the above-mentioned shortcomings do not bother you, but the performance tests impressed you - welcome to doophp.com.

    This is my first post, which did not last long in the sandbox - I thank the friendly habrachelovek for habrainvayt!
    And thanks for the karma, transferred to a thematic blog.

    Also popular now: