473,765 Members | 2,066 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Offline saving of form data

Background: People want to be able to record large amounts of product
data ("a few MB") on laptop or tablet PCs without _any_ kind of network
connection, and then to submit the data to a database in the office come
the end of the day. The installed base of the machines is controllable,
but should include familiar concepts and structures, and it should be
easy to deploy on many computers. The solution will be used for
approximately two years.

Concept: For this I am doing a feasibility study on XHTML, with tables
of forms to submit the data, IE as the browser, and some kind of script
to pack the data into XML.

Problem: Does anyone know if this is feasible in JavaScript, or any
other client-side scripting language natively supported by IE? I found
two solutions:
- http://www.acky.net/tutorials/javascripts/cookies/, which seems to
only be able to save the information into cookies, without prior
formatting, and
- http://developer.netscape.com/viewso...elds_form.html, which can't
handle more than 4 KB of data.

URLs to examples or concepts explained would also be welcome.

--
Victor Engmark
Jul 20 '05 #1
4 4535
In article <c0**********@s unnews.cern.ch> , vi************@ cern.ch
enlightened us with...
Background: People want to be able to record large amounts of product
data ("a few MB") on laptop or tablet PCs without _any_ kind of network
connection, and then to submit the data to a database in the office come
the end of the day. The installed base of the machines is controllable,
but should include familiar concepts and structures, and it should be
easy to deploy on many computers. The solution will be used for
approximately two years.

Concept: For this I am doing a feasibility study on XHTML, with tables
of forms to submit the data, IE as the browser, and some kind of script
to pack the data into XML.


Can't they just put the data into an Excel file and upload it to the
server (via any application, ftp, whatever), which parses and saves it
as XML?

http://www.xml.com/pub/a/2002/01/09/q-and-a.html
--
--
~kaeli~
Once you've seen one shopping center, you've seen a mall.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #2
kaeli wrote:
In article <c0**********@s unnews.cern.ch> , vi************@ cern.ch
enlightened us with...
Background: People want to be able to record large amounts of product
data ("a few MB") on laptop or tablet PCs without _any_ kind of network
connection, and then to submit the data to a database in the office come
the end of the day. The installed base of the machines is controllable,
but should include familiar concepts and structures, and it should be
easy to deploy on many computers. The solution will be used for
approximate ly two years.

Concept: For this I am doing a feasibility study on XHTML, with tables
of forms to submit the data, IE as the browser, and some kind of script
to pack the data into XML.


Can't they just put the data into an Excel file and upload it to the
server (via any application, ftp, whatever), which parses and saves it
as XML?

http://www.xml.com/pub/a/2002/01/09/q-and-a.html


For several reasons:
- Avoiding the extra parsing of Excel files
- Being able to navigate faster (links vs. Excel tabs)
- Smaller files to transfer
- The ability to use the same sheet online and offline
- Error avoidance, e.g. using maxlength="X"
- On-the-fly error checking
- Easy reformatting using CSS
- Guidelines and help files in pop-up windows or embedded in the page,
e.g. using <span title="User name (8 characters)">Ow ner</span>
- Familiarity for new users
- More space for relevant stuff (F11 vs. any normal Excel window)

--
Victor Engmark
Jul 20 '05 #3
"Victor Engmark" <vi************ @cern.ch> wrote in message
news:c0******** **@sunnews.cern .ch...
<snip>
Concept: For this I am doing a feasibility study on XHTML,
with tables of forms to submit the data, IE as the browser, ...

<snip>

As IE doesn't support XHTML yet, that combination should not be
considered feasible.

The need for local storage, combined with the exclusive use of IE makes
it sound like HTA would be worth investigating.

Richard.
Jul 20 '05 #4

For several reasons:
- Avoiding the extra parsing of Excel files
- Being able to navigate faster (links vs. Excel tabs)
- Smaller files to transfer
- The ability to use the same sheet online and offline
- Error avoidance, e.g. using maxlength="X"
- On-the-fly error checking
- Easy reformatting using CSS
- Guidelines and help files in pop-up windows or embedded in the page,
e.g. using <span title="User name (8 characters)">Ow ner</span>
- Familiarity for new users
- More space for relevant stuff (F11 vs. any normal Excel window)

You can access to the client file system in IE. See:
http://msdn.microsoft.com/library/de...en-us/script56
/html/jsobjFileSystem .asp

I assume you have to enable it. I don't know what that does for
security.

The above link is from the JavaScript FAQ. See item number 4.3 on:
http://www.jibbering.com/faq/#FAQ4_3

You could run the Apache web server on the client machine. At first,
this will sound like a big step, but Apache is very reliable, used by
over 50 percent of web servers, easy to set up, and free. You would
have alot of flexibilty in programming because you could have access to
both server and client side web programming. You would have a 'secure'
place to store the data on the client machine. I have seen Apache run
as an intranet server without problems on a Windows machine.

Robert
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2509
by: Daniel Orner | last post by:
I've got an online system which I'm interested in making available offline - i.e. letting the user download certain HTML forms, fill them out offline, then the next time he logs into the site, sending all the data he filled out to the system. However, I can't seem to come up with a good way to do this. I thought of using cookies (that'd be great, since the system could detect them automatically), but it seems I can't set cookies for my...
0
1741
by: Victor Engmark | last post by:
Background: People want to be able to record large amounts of product data ("a few MB") on laptop or tablet PCs without _any_ kind of network connection, and then to submit the data to a database in the office come the end of the day. The installed base of the machines is controllable, but should include familiar concepts and structures, and it should be easy to deploy on many computers. The solution will be used for approximately two...
1
2103
by: jobi.joy | last post by:
I have a requirement of having the capability of offline form filling for my website.So users can some way download the form and can fill out in offline mode. Any standard way to do this. I am not interested to write a webservices or complex Smart client for this. Any simple way like manipulating it in HTML applications(HTA). Any thoughts on it? Regards
13
7409
by: Stuart McGraw | last post by:
I haven't been able to figure this out and would appreciate some help... I have two tables, both with autonumber primary keys, and linked in a conventional master-child relationship. I've created forms for both those tables, and inserted the child table form into the master table form as a subform. It works just as it is supposed to, in that I can create a new master record, and then add detail records.
0
1106
by: George Birbilis | last post by:
I have a problem with a big ASP.net app with users saving pages to the disk and then opening them from the disk, filing them and trying to post them back. Seems IE posts them back to the original website!!! And not only that, but ASP.net replies normally then as if the user had visited a website's page So I may have a user saving off the login page, then logging in from the offline saved page. It will log them in OK, but later on as...
3
1743
by: George Durzi | last post by:
I've developed a web based sales contact software for my company. Account managers use the software to record sales activity they've made. Recently, they've been complaining that there are times when they can't use the application, e.g. when they have no internet access, like on a plane. DUH, it's an internet based application!!! Apparently, my boss wants to take this excuse away from them. He realizes and agrees with me that...
2
1649
by: John | last post by:
Hi I need to develop an app in vb 2005 which can work in both offline and online modes and will be running on client laptops. I have listened to the following web cast; http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032271522&EventCategory=3&culture=en-US&CountryCode=US What I need to know is, do the laptops need to have a local version of sql server (mobile, express etc.) to accomplish the offline mode?
3
6915
by: Alex | last post by:
Hello, I am running an Access 2003 database, quite modest in size, that is used by upwards of 5 users. I need to modify the database such that these users can work simultaneously and, in some cases, offline. It is split to front and back ends and works over Citrix. So the multi-user is working fine.
6
2983
by: Senthil | last post by:
Hi All We are having a VB application on SQL. But we need to collect information from persons who will be offline to verify data and insert new data. Generally they will be entering the data in Excel spread sheets which can be uploaded to the database using the application after some validations. But rather than Excel I was looking at Infopath with Access as the database, to create validation rules and collect data offline that can be...
0
9404
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10164
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8833
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7379
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5277
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.