15 messages in com.googlegroups.google-gearsRe: [google-gears] Re: I need create ...
FromSent OnAttachments
Arcey18 Mar 2008 01:10 
Jeremy Moskovich18 Mar 2008 01:25 
Arcey18 Mar 2008 01:34 
Jeremy Moskovich18 Mar 2008 01:42 
Arcey25 Mar 2008 13:43 
Ben Lisbakken25 Mar 2008 23:24 
Arcey26 Mar 2008 02:20 
Ben Lisbakken26 Mar 2008 09:36 
Arcey26 Mar 2008 16:42 
Ben Lisbakken26 Mar 2008 16:44 
Arcey28 Mar 2008 07:46 
Ben Lisbakken28 Mar 2008 11:52 
Arcey28 Mar 2008 14:10 
Ben Lisbakken31 Mar 2008 08:15 
Arcey02 Apr 2008 02:55 
Subject:Re: [google-gears] Re: I need create Google Gears database
From:Ben Lisbakken (lisb@google.com)
Date:03/31/2008 08:15:55 AM
List:com.googlegroups.google-gears

Arcey --

Do you have Firebug installed? Firebug is a debugging tool for Firefox. If you install it you should be able to see what error is happening when you try to access your page. Could you let us know what that error is (if any)?

Thanks, Ben

On Fri, Mar 28, 2008 at 2:10 PM, Arcey <mart@gmail.com> wrote:

Hi

Realy? Because I dont see anything, any row or rows... maybe it is in my cache... when i click at button submit nothing happened... i dont understand

On Mar 28, 7:53 pm, "Ben Lisbakken" <lisb@google.com> wrote:

Hey Arcey --

I just ran your application fine. I entered in two rows, and they displayed on the page. Then, I refreshed the page and they were still there. What isn't working about it?

-Ben

On Fri, Mar 28, 2008 at 7:46 AM, Arcey <mart@gmail.com> wrote:

Hi Ben

i create my type of database but is not working... can you see what is wrong?

On 27. Mar., 00:44 h., "Ben Lisbakken" <lisb@google.com> wrote:

Of course. Please send them to the group, though. That's the best

way

for

me to keep track of them :)

-Ben

On Wed, Mar 26, 2008 at 4:43 PM, Arcey <mart@gmail.com>

wrote:

Thanks a lot Ben, finally it works :) thank you

when i will have another problem can i ask you?

best regards Martin

On 26. Mar., 17:36 h., "Ben Lisbakken" <lisb@google.com>

wrote:

I just wrote some code for you... check it out here: http://www.lisbakken.com/gears/database_help.html or you can copy it from here:http://paste-it.net/7596

It's not beautiful, but it shows you how to do a similar "hello world" database application with the new fields that you want.

Hope that helps, Ben

On Wed, Mar 26, 2008 at 2:21 AM, Arcey <mart@gmail.com>

wrote:

Hi...

i tried change this lines yesterday but when i add new fields this sample demo database stopped by element ?.. when i delete another elements ? and new fields it works again...

i create this

db.execute('create table if not exists Demo' + ' (Name varchar(255), Date varchar(255), Timestamp int)');

and this

db.execute('insert into Demo values (?, ?, ?)',

[name,date,currTime]);

and it didnt work, one which is ok is change phrase to name...

and how i get informations from more inputs from form? i

tried

create

more inputs but this database get information only from first

input

can you help me?

On 26. Mar., 07:24 h., "Ben Lisbakken" <lisb@google.com>

wrote:

Hey Arcey --

Are you familiar with databases? You should checkout some

tutorials

on

MySQL/SQLite.

To have more fields, here is what you would need to change

--

This line: db.execute('create table if not exists Demo' + ' (Phrase varchar(255), Timestamp int)');

creates the table in the database. If you wanted name,

date,

warehouse,

count fields in the table, you might change this line to: db.execute('create table if not exists Demo' + ' (name varchar(255), date varchar(10),

warehouse

int,

count int');

Then, if you wanted to insert insert an entry you could do: db.execute('insert into Demo values (?, ?, ?, ?)',

['Martin',

'25.3.2008',

3002, 300]);

-Ben

On Tue, Mar 25, 2008 at 1:43 PM, Arcey <

mart@gmail.com>

wrote:

Hi Jeremy

ok i studied sample database demo... i have question...

can i

put

more

phrases to database at once?

look at example pls:

name: Martin date: 25.3.2008 warehouse: 3002 count: 300

?

in this demo i can store only phrase

can you help me?

On 18. Mar., 09:42 h., "Jeremy Moskovich" < play@google.com> wrote:

Hi Arcey,

I'm glad you found the tutorial already.

For a discussion of different approaches to syncing

data,

You may want to look at the GearPad Sample (

Another option would be to use Gears via Dojo offline (

http://dojotoolkit.org/offline) which has a sync component.

Best regards, Jeremy

On Tue, Mar 18, 2008 at 10:35 AM, Arcey <

mart@gmail.com

wrote:

Hi Jeremy

I`m working with this sample but i dont understand how

can

copy

informations which i write when i`m offline to main DB

when

i`m

online...

Jeremy Moskovich napísal(a):

Hi Arcy,

You might want to start out with the "Simple

Database

Demo"

application

here

(

http://code.google.com/apis/gears/samples/hello_world_database.html

).

While you play around with the demo, you can refer

back

to

the

api

documentation (

-- Jeremy

On Tue, Mar 18, 2008 at 10:10 AM, Arcey <

mart@gmail.com

wrote:

Hi everyone

I need create a Google Gears Database but i dont

understand

how. I

need DB for my project. I have data from external

warehouses,

but

i

dont have internet connection when i`m calculating

how

goods

go

away

every day to the main warehouse. Today I must

everything

write

on

the

paper and when i`m in the main warehouse I must

copy

everything to

main DB... I`m looking for solution with Google

Gears.

Can anybody help me?

Pls,I have big problem with understanding Google

Gears

DB