Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
local database connections in google gadets!
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
lakshmi  
View profile  
 More options Oct 11 2008, 1:46 pm
From: lakshmi <sana.pr...@gmail.com>
Date: Sat, 11 Oct 2008 10:46:59 -0700 (PDT)
Local: Sat, Oct 11 2008 1:46 pm
Subject: local database connections in google gadets!
Hi,

This is the first time i am trying to develop a gadget using
googlegadget APIs.
I have to create a gadget which takes some data from the user and
insert that into the local SQl server 2005 database.I Have so many
doubts!
 1. is there anyAPI which supports SQL conections?
 2.can we, by any chance include any other file (except, .js or .XML
files)in the project.
 3.how do i connect my gadget to the database?
 4.How to call a webservice from javascript ?as i could find no other
option!

Thanks,


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Teo  
View profile  
 More options Oct 12 2008, 10:27 am
From: Teo <teomina...@gmail.com>
Date: Sun, 12 Oct 2008 17:27:15 +0300
Local: Sun, Oct 12 2008 10:27 am
Subject: Re: local database connections in google gadets!

Hi,
i'll answer your questions inline:

On Sat, Oct 11, 2008 at 8:46 PM, lakshmi <sana.pr...@gmail.com> wrote:

> Hi,

> This is the first time i am trying to develop a gadget using
> googlegadget APIs.
> I have to create a gadget which takes some data from the user and
> insert that into the local SQl server 2005 database.I Have so many
> doubts!
>  1. is there anyAPI which supports SQL conections?

No, not really, but you can use a local SQLite database in a pretty
organized way. Here's a
tip<http://googledesktopapis.blogspot.com/2008/07/tip-embed-sqlite3-datab...>about
that. But from what i can tell you don't need it to be local. (please
read on)

 2.can we, by any chance include any other file (except, .js or .XML

> files)in the project.

Yes. The simpler gadgets usually have a main.xml which defines the interface
and a main.js. You can have as many .js files you want (within reason :). Be
careful though, all these answers apply only to Google Desktop gadgets, not
to iGoogle gadgets; just mentioned to be sure there isn't any confusion..

>  3.how do i connect my gadget to the database?

I wrote an article about this, it's about to go live, but until then
here<http://teodorfilimon.com/articles/Gadget-Usage-Stats/Gadget-Usage-Sta...>'s
an unpublished version.

>  4.How to call a webservice from javascript ?as i could find no other
> option!

You can do this through the XMLHttpRequest object. This
article<http://code.google.com/apis/desktop/articles/e9.html>should
help. Javascript is basically the recommended way of programming a
Google Desktop gadget. The API is growing pretty much lately and it has a
variety of functions. You can check out the API
reference<http://code.google.com/apis/desktop/docs/gadget_apiref.html>
.

I hope this helps,
Teo

--
Teo (a.k.a. Teominator a.k.a. Teodor Filimon)
Site - www.teodorfilimon.com | Blog - www.teodorfilimon.blogspot.com
GMT +2 (or PDT +10)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lakki  
View profile  
 More options Oct 13 2008, 10:02 am
From: lakki <lakshmikri...@gmail.com>
Date: Mon, 13 Oct 2008 07:02:25 -0700 (PDT)
Local: Mon, Oct 13 2008 10:02 am
Subject: Re: local database connections in google gadets!
Hey thanks a lot..

On Oct 12, 7:27 pm, Teo <teomina...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hamilton Lima (athanazio)  
View profile  
 More options Oct 14 2008, 9:13 am
From: "Hamilton Lima (athanazio)" <hamilton.l...@gmail.com>
Date: Tue, 14 Oct 2008 06:13:47 -0700 (PDT)
Local: Tues, Oct 14 2008 9:13 am
Subject: Re: local database connections in google gadets!
I wrote a post putting all this information together (in portuguese)
with a sample of inserting adn reading data from sqlite.
http://www.athanazio.com/2008/10/13/sqlite-no-google-gadget/

cheers
HAL

On Oct 13, 12:02 pm, lakki <lakshmikri...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »