I am working on designing a collaborative system where multiple users can edit the same document, much like googledocs, and I guess 'search suggestions', but in no way as advanced.
My question is this, will my design work? I know enough php/ajax to design this, using jQuery for the ajax part. But I have never made such a system, and therefore the design may have huge flaws.
The editable part of the webpage is a table, where certain cells can be edited (again much like google docs spreadsheets).
In theory this will work, whenever a tables cell is changed, the changes are stored in a history, and every 1000ms (after the last post returned successfully) I post the cell changes to a server
Simultaneously, another ajax function polls the server (also every 1000ms after the last call return successfull) and asks for a list of changes done to all the cells.
Is this the simple way of how google does it?