Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

need help! School Assignmet: online shopping service

Go to solution Solved by madknight3,

SQLite is a popular option for this.

 

edit: I misread your question. If your website is just client side then I don't think this will work.

 

Take a look at this: StackOverflow: I need a client side browser database. What are my options

 

edit 2: Actually, it seems like SQLite may actually be possible to use after all.

 

StackOverflow: Is it possible to access an SQLite database from JavaScript?

Alright I need to make a online shopping service kind of like eBay for a school IT assignment. I've already got most of the template done, including the front page but I want to include a database to it, which should allow me to add or modify listings. Apparently you need a webserver to accomplish this, but our school's network does not allow local severs. Is there a way of adding a database to a website, stored locally without a webserver.

 

Sorry if this post does not make much sense, I do not have much experience with website development.

 

Cheers.

Link to post
Share on other sites

SQLite is a popular option for this.

 

edit: I misread your question. If your website is just client side then I don't think this will work.

 

Take a look at this: StackOverflow: I need a client side browser database. What are my options

 

edit 2: Actually, it seems like SQLite may actually be possible to use after all.

 

StackOverflow: Is it possible to access an SQLite database from JavaScript?

Link to post
Share on other sites
Just now, madknight3 said:

SQLite is a popular option for this.

Does it need to be installed on the machine the website is in? If so it wont work as the teacher would be marking the assignment on a different computer. 

 

Link to post
Share on other sites

SQLite is just a normal file you add with a special formatting done by code or a program that understands it.

 

Simply create a file called something like "database.db" and you are ready to work with it.

 

It probably score some points since most people will do it in text or csv files if they cant use SQL servers.

Quote or mention me if not feel ignored 

Link to post
Share on other sites
2 minutes ago, WindowsXP16 said:

Does it need to be installed on the machine the website is in? If so it wont work as the teacher would be marking the assignment on a different computer. 

 

My mistake. See my edit

Link to post
Share on other sites
10 minutes ago, madknight3 said:

SQLite is a popular option for this.

 

edit: I misread your question. If your website is just client side then I don't think this will work.

 

Take a look at this: StackOverflow: I need a client side browser database. What are my options

 

edit 2: Actually, it seems like SQLite may actually be possible to use after all.

 

StackOverflow: Is it possible to access an SQLite database from JavaScript?

 

Thankyou very much, this is just what I needed.

Link to post
Share on other sites
2 hours ago, madknight3 said:

SQLite is a popular option for this.

 

edit: I misread your question. If your website is just client side then I don't think this will work.

 

Take a look at this: StackOverflow: I need a client side browser database. What are my options

 

edit 2: Actually, it seems like SQLite may actually be possible to use after all.

 

StackOverflow: Is it possible to access an SQLite database from JavaScript?

I love the turns this answer took lol

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×