Click here to Skip to main content
14,359,231 members

JavaScript

 
GeneralRe: Calling Api post method on button click in React Pin
simpledeveloper10-Oct-19 16:18
membersimpledeveloper10-Oct-19 16:18 
QuestionI am trying to read from a Web api call and assign it to a state in React component Pin
simpledeveloper9-Oct-19 12:31
membersimpledeveloper9-Oct-19 12:31 
AnswerRe: I am trying to read from a Web api call and assign it to a state in React component Pin
jkirkerx10-Oct-19 14:31
professionaljkirkerx10-Oct-19 14:31 
Questionprogramming a dropdown menu to display specific points in the charts Pin
Gibby905-Oct-19 7:41
memberGibby905-Oct-19 7:41 
QuestionSearch Engine without DB using JS Pin
javadev20904-Oct-19 10:06
memberjavadev20904-Oct-19 10:06 
AnswerRe: Search Engine without DB using JS Pin
jkirkerx8-Oct-19 14:45
professionaljkirkerx8-Oct-19 14:45 
GeneralRe: Search Engine without DB using JS Pin
javadev20908-Oct-19 20:44
memberjavadev20908-Oct-19 20:44 
GeneralRe: Search Engine without DB using JS Pin
jkirkerx9-Oct-19 8:35
professionaljkirkerx9-Oct-19 8:35 
No.

I use Local Storage for storing JWT Auth Tokens and other small stuff such as program options, But have never considered using it for storing a database. The thought simply never occurred to me.

I see it different, because I as a user use my Desktop at work to shop, and my phone at home to purchase or vice versus.
I would not want to write a program in which the data was not available on both my devices.

But:
I am considering on my next shopping application written in a JavaScript framework like Angular to store cart content on the users device in cookies or perhaps Local Storage. To just use a JSON format and store the JSON text as a string. Perhaps a combination of both, in which the cookie says there is cart data and the data is in Local Storage. But this would break my rule unless I read the cookie, and if the user is logged in, I pickup the cart content and write it to their account document in MongoDB. I think EBay is doing this now.

But for you, what your doing is experimental as well and you seem to share the same idea with the JScene developer.
You would have to do a proof of concept in code and try them and see which works better. Just fill your concept with fake data but make sure you can store and retrieve.

[edit]
Not everything you can imagine has already been written and available as open source with support. Most web developers have never even heard of Local Storage, so the pool of choices for this will be very small. Your idea is an extreme concept.

Just my Opinion
If it ain't broke don't fix it
Discover my world at jkirkerx.com

Questionjquery validation in drop down Pin
Shraddha_Patel3-Oct-19 19:50
memberShraddha_Patel3-Oct-19 19:50 
AnswerRe: jquery validation in drop down Pin
ZurdoDev4-Oct-19 2:04
professionalZurdoDev4-Oct-19 2:04 
AnswerRe: jquery validation in drop down Pin
jkirkerx8-Oct-19 14:47
professionaljkirkerx8-Oct-19 14:47 
QuestionHow to display a Javascript alert and display a iframe using a javascript dynamic drop-down list Pin
codeguy13-Oct-19 20:14
membercodeguy13-Oct-19 20:14 
AnswerRe: How to display a Javascript alert and display a iframe using a javascript dynamic drop-down list Pin
ZurdoDev4-Oct-19 2:07
professionalZurdoDev4-Oct-19 2:07 
GeneralRe: How to display a Javascript alert and display a iframe using a javascript dynamic drop-down list Pin
codeguy14-Oct-19 20:42
membercodeguy14-Oct-19 20:42 
AnswerRe: How to display a Javascript alert and display a iframe using a javascript dynamic drop-down list Pin
ZurdoDev6-Oct-19 9:54
professionalZurdoDev6-Oct-19 9:54 
GeneralRe: How to display a Javascript alert and display a iframe using a javascript dynamic drop-down list Pin
codeguy16-Oct-19 17:00
membercodeguy16-Oct-19 17:00 
QuestionRe: How to display a Javascript alert and display a iframe using a javascript dynamic drop-down list Pin
ZurdoDev6-Oct-19 17:29
professionalZurdoDev6-Oct-19 17:29 
AnswerRe: How to display a Javascript alert and display a iframe using a javascript dynamic drop-down list Pin
codeguy16-Oct-19 17:47
membercodeguy16-Oct-19 17:47 
GeneralRe: How to display a Javascript alert and display a iframe using a javascript dynamic drop-down list Pin
phil.o6-Oct-19 22:39
mvephil.o6-Oct-19 22:39 
SuggestionRe: How to display a Javascript alert and display a iframe using a javascript dynamic drop-down list Pin
ZurdoDev7-Oct-19 1:56
professionalZurdoDev7-Oct-19 1:56 
QuestionDouble check if array.find result is not undefined and cancel exception, replace with "" Pin
jkirkerx2-Oct-19 11:33
professionaljkirkerx2-Oct-19 11:33 
AnswerRe: Double check if array.find result is not undefined and cancel exception, replace with "" Pin
jkirkerx2-Oct-19 11:40
professionaljkirkerx2-Oct-19 11:40 
QuestionNot sure where my mistake is. . . I want the two texts to turn blue and yellow. Pin
mattkrebs30-Sep-19 9:38
membermattkrebs30-Sep-19 9:38 
AnswerRe: Not sure where my mistake is. . . I want the two texts to turn blue and yellow. Pin
Nathan Minier30-Sep-19 10:17
professionalNathan Minier30-Sep-19 10:17 
AnswerRe: Not sure where my mistake is. . . I want the two texts to turn blue and yellow. Pin
Richard Deeming30-Sep-19 11:05
mveRichard Deeming30-Sep-19 11:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.