Timeline for Which practice is the best for database connection? (PHP, etc)
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 19, 2013 at 19:59 | vote | accept | Ícaro Leandro | ||
| Apr 17, 2013 at 15:17 | answer | added | mike30 | timeline score: 7 | |
| Apr 17, 2013 at 14:57 | comment | added | Matt | Same in the Java world as @RobertHarvey. Connections are normally pooled, "opening" a connection requests an open connection from the pool, "closing" a connection returns an open connection back into the pool. | |
| Apr 17, 2013 at 14:47 | comment | added | Robert Harvey | As with most things in software development, it depends. In the ASP.NET and SQL Server world, database connections are pooled, so newing up a connection can be extremely fast; seldom do we hold onto one. I have no idea how it works in the PHP MySQL world. | |
| Apr 17, 2013 at 14:46 | comment | added | gnat | Sharing your research helps everyone. Tell us what you've tried and why it didn’t meet your needs. This demonstrates that you’ve taken the time to try to help yourself, it saves us from reiterating obvious answers, and most of all it helps you get a more specific and relevant answer. Also see How to Ask | |
| Apr 17, 2013 at 14:45 | history | asked | Ícaro Leandro | CC BY-SA 3.0 |