Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Most simple plugin: A plain XML file #39

Open
nhoening opened this issue Aug 16, 2012 · 1 comment
Open

Most simple plugin: A plain XML file #39

nhoening opened this issue Aug 16, 2012 · 1 comment
Assignees

Comments

@nhoening
Copy link
Owner

A user hosts a simple XML file, to which driveby-sharing appends. gritttt.php needs no imports and insert only does some XML operation on the file. Also, gritttt.php performs basic session management to implement check_login (open: how to do some simple password-comparison - maybe store a password in a separate PHP file ...).

@ghost ghost assigned nhoening Aug 16, 2012
@nhoening
Copy link
Owner Author

I suggest that insert writes to two files. One is the complete shared history. As it would be inefficient to query that file for the shared-widget, it can also write to a file that only contains up to n entries (so if there are already n entries in there, insert deletes the last and then inserts the new one).

Will sharing become very inefficient if the complete history file becomes very large? Yes, and then the file should be arhived (either by hand or automatically) and a new one should be started. But that does not have to be done in a first version of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant