Jump to content
  • 0

[help]fastlists and no database connections


Question

Posted

Hello, is it possible for example to write a donate system(all the setdonator , isdonator, admin command handlers ,etc ) system that needs database connections without them? And to not to use database connections, but fastlists, or at restart they will lose the status?

2 answers to this question

Recommended Posts

  • 0
Posted

Wow... this was hard to understand...

You wan't a persistence system, for more info read: http://en.wikipedia.org/wiki/Persistence_%28computer_science%29

 

You will always need an in-memory list or array (obviously reading from disk all the time is way too expensive).

Short answer, yes it's possible to implement an incremental persistence system, for example using XML.

 

It won't be easy if you don't have experience with XML (reading and writing), you will need to use DOM, no SAX, good thing is that both Java and PHP have great support for it.

 

Anyway I'd recommend a relational database system, such as SQL...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...