i like to create a record filing using browser or browser base. but i what my web application run without running may XAMPP for my database.

:D

Dani AI

Generated

momonq1990 asked for a browser-based, offline record-filing solution that doesn't require XAMPP or uploading the database. That is entirely feasible — there are two broad approaches: keep everything in the browser (no server process) or package a small local app that embeds a database. Both have trade-offs around persistence, size limits, cross‑platform support and how easy it is to export or later move data to a hosted server.

Practical options worth considering:

  • IndexedDB (recommended for most record apps): built into modern browsers, stores structured objects, supports transactions and reasonably large quotas. Works offline and plays nicely with service workers for an “app shell” offline UI.
  • localStorage: very simple but string-only and tiny (~5MB), only suitable for tiny settings or caches.
  • PouchDB: a friendly, higher-level client DB that uses IndexedDB under the hood and can sync to CouchDB-style servers later if needed. Good if a future “upload”/sync is expected.
  • sql.js / SQLite-in-browser: runs SQLite compiled to JS/WASM; useful when SQL is required, but persistence usually involves saving the DB blob into IndexedDB or exporting to a file.
  • Electron / NW.js desktop wrapper: provides a small standalone app with a real SQLite file — no Apache/PHP, but the app is a packaged executable.
  • Microsoft Access + ActiveX: as hinted, possible only in Internet Explorer/Windows with security adjustments; not recommended for cross-platform or modern setups.
  • Lightweight local server (Node/PHP built-in): avoids XAMPP but still runs a local process if a traditional server/db stack or full SQL is required.

IndexedDB quick example (add a record):

let req = indexedDB.open('recordsDB', 1);
req.onupgradeneeded = e => e.target.result.createObjectStore('records', { keyPath: 'id', autoIncrement: true });
req.onsuccess = e => {
  let db = e.target.result;
  let tx = db.transaction('records', 'readwrite');
  tx.objectStore('records').add({ title: 'File A', date: '2014-02-14' });
  tx.oncomplete = () => console.log('saved');
};

Notes and tips: handle quota errors, use Promises or a small wrapper (idb/PouchDB) to avoid IndexedDB verbosity, test across browsers, and provide simple export (JSON/CSV) so records can be backed up or moved to a hosted DB later. For an offline-first web app without running XAMPP, IndexedDB + a service worker is the most future‑proof and cross‑platform path.

Recommended Answers

All 5 Replies

I say that I would not beg Dani for a goddamn thing ever so fuck Dani

commented: don't be rude +0
commented: What a delightful, mature post -3

you dont have to use xampp.. you can use iis, or db2 you could get a db hosting account, or setup a small linux server with opensource software.

thanks gab! but there is no possibility to work it offline without xampp or server?? because i dont have plan to up load the database to my hosting

you can install mysql, and apache on your computer. Also can look up noSql db's. Xampp is just a bundled easy to use product. has php mysql and apache bundled into one. But you can install all these separate on you machine.

Yes, it is.
HTML, CSS, Javascript and Access to store data.
You can do alot of things with these tools without a web server and database server.
But all this just in local machine or in a shared folder.

Here are some javascript function to use an Access database.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.