Re: [development] SQL and connection strings

2010-07-16 Thread David Metzler
Not really. It's a clever idea, but I think views tend to be too permanent. We use them extensively, of course, in all of our enterprise dbs. We've got almost 100 reports that have been converted to this tool already, and they use views as their data sources, but those are for what I'd cla

Re: [development] SQL and connection strings

2010-07-16 Thread David Metzler
Excellent suggestion. Looks really promising. Thanks, Dave On Jul 16, 2010, at 6:53 AM, Moshe Weitzman wrote: >> Adding connection strings to globals avoids the question of, "where are they >> stored and where do they come from?" If the user is "configuring a >> database connection" for ad

Re: [development] Submit via AJAX by pressing Enter

2010-07-16 Thread Pierre Rineau
Le vendredi 16 juillet 2010 à 08:21 -0400, Darren Oh a écrit : > Does Drupal 7 provide a way to AJAX-submit a form when the Enter key is > pressed in a text field? I tried using "submit" as the event in the #ajax > array, but that didn't prevent a page reload. There is no easy way to capture ent

Re: [development] development Digest, Vol 91, Issue 19

2010-07-16 Thread figaro gaston
I would like to have auction machine in to my web site www.ebizsale.com Regarde

Re: [development] SQL and connection strings

2010-07-16 Thread Earnie Boyd
David Metzler wrote: Regarding Views: Have you considered creating database views for your user created ad-hoc query? Then the reporting is ready to go and the next user can leverage on an already created view. -- Earnie -- http://progw.com -- http://www.for-my-kids.com

Re: [development] SQL and connection strings

2010-07-16 Thread Moshe Weitzman
> Adding connection strings to globals avoids the question of, "where are they > stored and where do they come from?"   If the user is "configuring a > database connection" for ad hoc queries, do you think the security team > would consider it a vulnerability to be storing these connection strings

Re: [development] SQL and connection strings

2010-07-16 Thread David Metzler
Adding connection strings to globals avoids the question of, "where are they stored and where do they come from?" If the user is "configuring a database connection" for ad hoc queries, do you think the security team would consider it a vulnerability to be storing these connection strings with

[development] Submit via AJAX by pressing Enter

2010-07-16 Thread Darren Oh
Does Drupal 7 provide a way to AJAX-submit a form when the Enter key is pressed in a text field? I tried using "submit" as the event in the #ajax array, but that didn't prevent a page reload.

Re: [development] SQL and connection strings

2010-07-16 Thread Ivan Sergio Borgonovo
On Fri, 16 Jul 2010 00:16:48 -0500 Larry Garfield wrote: > As far as the queries themselves, it depends on how much you trust > your users. You certainly could setup a system quite easily where > users can enter SQL into a node body or CCK text field and then a > formatter or something like that

Re: [development] SQL and connection strings

2010-07-16 Thread Daniel F. Kudwien
> Or, for that matter, use the D6 backport of the > D7 DB layer, which is far more robust: http://drupal.org/project/dbtng ... > The question is security. Anyone who can write a data > modification query (insert, update, delete) has root access > to your site. End of story. I presume you don't