Revenue Source

Welcome to the Revenue Source affiliate marketing forums.

You are viewing our internet marketing and SEO forums as a guest which gives you limited access to most of our discussions.  By joining our free community, you will have access to post affiliate marketing topics, communicate privately with other members (PM), exchange SEO strategies, and access many other special features.  Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems, please don't hesitate to contact us.

Go Back   Revenue Source > Site Design & Development > Databases
Reload this Page Wishes for new ?Pure PHP? MySQL driver
Tags: , , , ,

Reply
 
LinkBack Thread Tools Search this Thread
Old
  (#1 (permalink))
Affiliate Blogs is Offline
Revenue Source Veteran
Affiliate Blogs has a brilliant future here!
 
Affiliate Blogs's Avatar
 
Join Date: Oct 2005
Posts: 8,937
Jack of All Trades
CyberSpace United States
   
Wishes for new ?Pure PHP? MySQL driver - 11-14-2006

If you're following MySQL or PHP landscape you should have seen announcement by MySQL to develop pure PHP driver. If not - Here is FAQ .
I'm to meet the team (Georg, Andrey etc) which will be developing this driver during my visit to Open Source Database Conference in November so I thought it would be good idea to gather some wish list for things nice to have in this new driver. Below is my list and I would appreciate to hear your ideas.
Build In Profiling I would like to see how many connections and queries page generated and how long they took - I will place this information in the log. For debugging I'd like to be able to get a table below page output listing all the queries, their exec times and number of rows they are returned. So far it has to be done in inherited class.
Auto Explain Would be very helpful for development to run EXPLAIN on the queries and warn if these is something obviously wrong.
Emulated Prepared Statements I would like to have easy time to switch from PS to standard statements to check bugs and performance difference without changing my application. Also there are bunch of statements which can't be prepared - I would like library to take care of emulating these for me.
Arrays in Prepared Statements Dealing with certain types of queries, ie queries with IN is so painful with prepared statements - I would like to be able to simply able to pass data array and let library to take care about emulating.
Cached Prepared Statements It would be great if library could cache them so you do not have to worry of tracking same statements in your application and caching them.
Persistent Connections Ajax applications with frequent case of one query per request make persistent connections relevant again.
Automatic load balancing and fall back I would like to be able to pass list of servers system can connect to and let it handle load balancing and fall back by itself, similar as JDBC driver does.
Client size caching Would be very helpful for simple applications which may run query several times per page. I however would like to go further and have TTL based client cache with dynamic back end. I would expect many people would like to see memcached hooked up to it to share result sets among web servers for result sets which can be a bit stale. This might not be the most optimal way to cache things but it would be very easy for many applications.
Query Timeouts Make it easy to specify timeouts for connects and query execution so page would not timeout but you would rather be able to respond with "system overloaded try again later" message.
Exceptions This should be optional as not everyone likes them but would be very helpful in many cases.
Multiple concurrent queries I would like to be able to run multiple queries for multiple MySQL connections at once. For scale out applications data to generate the page may be on many different servers and it is latency killer to be required to query all of them sequentially instead of doing it in parallel. Now people have to do crazy things to work it around.
There are just few thing from the top of my head. There are probably some I forgot about at this point


Wishes for new ?Pure PHP? MySQL driver - Read More...
  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: Wishes for new ?Pure PHP? MySQL driver
Thread Thread Starter Forum Replies Last Post
MySQL Commands Affiliate Blogs Programming Help 0 11-14-2006 09:57 PM
MySQL Tutorial? light2006 Databases 5 11-07-2006 06:13 PM
New Merchant 11085 - Best Wishes of Boca - Weddings Affiliate Program Affiliate Marketing News New Shareasale Merchants 0 10-17-2006 07:27 PM
Merchant 6179 - Linen Line - Save 6% on pure linen bedding and table linens Affiliate Affiliate Marketing News Shareasale Affiliate Deals 0 10-17-2006 07:27 PM
MySql- I have it, but I'd rather learn Greek bryson Affiliate Marketing Q & A 9 12-01-2004 02:34 PM



© 2004-6 RevenueSource.com.  All rights reserved.  Do not duplicate or redistribute in any form.
This website and its logos/design are property of RevenueSource.com.  All rights reserved. vBSEO 3.2.0 RC7


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34