PHP framework and connection pooling

Posted on 2007-08-08
Last Modified: 2012-08-13

3 quick questions on PHP 5:

1. Does PHP5 supports some ORM or any framework like Hibbernate in JAVA?

2. There is something like pear and pickle packages in PHP. Can this be used for abstraction? If yes, how? Or can I have some URL that shows how do achieve this?

3. In my design doc for the project with PHP, how do I show connection pooling, having singleton implementation for connection, connection construct.

Question by:vj_mi
    LVL 5

    Accepted Solution

    The good one in PHP is Zend Frame work

    Some others are there
    Cake PHP -
    Symfony -
    LVL 15

    Assisted Solution

    1. Does PHP5 supports some ORM or any framework like Hibbernate in JAVA?
    the similar equivalent of above is

    About connection pooling
    Check this link
    Some extract from the above link:

    SP: What about database connection pooling? Persistent connections are not nearly good enough - are there plans to implement connection pooling in the future?

    RL: A pool of connections has to be owned by a single process. Since most people use the Apache Web server, which is a multi-process pre-forking server, there is simply no way that PHP can do this connection pooling. It has to be done by a dedicated standalone process and is quite outside the scope of PHP itself. Both SQLRelay and SRM can be used to solve this problem.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
    Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now