Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Document management System

 
Ranch Hand
Posts: 120
Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello i am sandeep,
I want to build a document management system like tortoise SVN,
but i want to commit and update by email-integration,
Please suggest me to avoid overhead of sending whole document.
Instead i want to send to server, only the modified data.
Thank you in advance.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a non-trivial undertaking, particularly for binary documents--in my opinion it's not worth the effort. Send the entire document.

If it's in a non-binary format, just send the patch.
 
sandeep lokhande
Ranch Hand
Posts: 120
Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing creating design such that it will identify patch modified and then saves the changes<managing versioning>,
but while sending mails i should use minimum bandwidth.
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then if it's a binary file you'll need to do a binary diff, otherwise use any of the available diff libraries (or just use diff).
 
sandeep lokhande
Ranch Hand
Posts: 120
Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At first i want to implement this for simple text file .doc etc.
Can you please tell me any example of any diff libraries or Tutorial that can help me to find out the differences in the document.
Thank you in advance.
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A .doc file isn't a text file, in general.

I'd just search for "java +diff" first, if you don't just have a diff executable available on your system.
 
    Bookmark Topic Watch Topic
  • New Topic