/    Sign up×
Community /Pin to ProfileBookmark

Local user side database with no mysql/php ?

How to create a local/onSameComputer database no php/mysql to search & retrieve items from a media library ?
Can i do it with only js or a kind of combo like js + xml ? I have no idea ?

to post a comment

9 Comments(s)

Copy linkTweet thisAlerts:
@UmagicauthorNov 16.2019 — Isn't there a new js "Folder" thingy
Copy linkTweet thisAlerts:
@SempervivumNov 16.2019 — Check if the Indexed DB API fullfills your requirements:

https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API
Copy linkTweet thisAlerts:
@VITSUSANov 16.2019 — Click on mentioned hyperlink, it will more helpful to you -

  • - https://www.ionos.com/community/hosting/mysql/use-php-to-retrieve-information-from-a-mysqlmariadb-database/

  • - https://www.taniarascia.com/create-a-simple-database-app-connecting-to-mysql-with-php/

    -
  • Copy linkTweet thisAlerts:
    @UmagicauthorNov 16.2019 — II will go read but in case i did not express it properly. The "database" will be on the computer. No internet. I use the word "database" but maybe there is a better word.






    Copy linkTweet thisAlerts:
    @SempervivumNov 16.2019 — The "database" will be on the computer.[/quote] I understood this correctly, the indexed DB API is stored on the local computer and will need no intenet connection.
    I use the word "database" but maybe there is a better word.[/quote]No, the term "database" is not limited to web based ones like mysql, a database can be local.

    However, when you intend to create a database for media content, a browser based solution might be not appropriate as the access to the local file system is limited.
    Copy linkTweet thisAlerts:
    @UmagicauthorNov 16.2019 — Actually i wish to use this script without a browser like desktop app. U think that would work with "Electron" or other similar ?

    Like a no browser local media library desktop app with a gallery type UI. Never mind the css for now i'm looking if it's technically possible
    Copy linkTweet thisAlerts:
    @SempervivumNov 16.2019 — Actually i wish to use this script without a browser like desktop app.[/quote]I see, there was some misunderstanding as this forum is focused on [b]web[/b] development. Which is you OS? I've just started coding powershell scripts but I did not yet deal with local databases.
    Copy linkTweet thisAlerts:
    @UmagicauthorNov 17.2019 — Ok right webDev, it's true ...but it's still js,css & stuff. The code would be the same but it would get transformed into an app by Electron. What doe my os have to do with it? I'm a new linux user. Was on windows but i hate what it has become a mishMash of updates & overload of infinite crap
    Copy linkTweet thisAlerts:
    @sibertNov 18.2019 — https://www.sqlite.org/index.html
    ×

    Success!

    Help @Umagic spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 3.29,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,

    tipper: @Samric24,
    tipped: article
    amount: 1000 SATS,

    tipper: Anonymous,
    tipped: article
    amount: 10 SATS,
    )...