473,513 Members | 2,554 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Text change management

We have a web application that has a lot of large textareas for data
collection. We need to track who makes changes, when and what changes
were made. Right now I'm storing the entire text in a separate SQL
table
before the changes are saved. Needless to say this table is growing
quite large and is beginning to cause performance problems.

A lot of the changes are small, like capitalization or punctuation. Is

there anything that is available that somehow calculates just the
change that occurs? It's kind of hard to explain, but I want to store
only the modifications. But I also need to rebuild the previous
document if necessary.

I know something has to exist but I can't even think of a term to
search for.

Any guidance would be great,
AD

May 2 '06 #1
8 1987
Industry term.

Track Changes in Microsoft Word used to keep track of the changes you make
to a document.
You can then choose to accept or reject those changes.Let's say Bill creates
a document and emails it to his colleague, Gus, for feedback. Gus can edit
the document with Track Changes on. When Gus sends the document back to
Bill, Bill can see what changes Gus had made.

Track Changes is also known as redline, or redlining.
This is because some industries traditionally draw a vertical red line in
the margin to show that some text has changed.

It is easier if you have complete control of the editor being used to make
the changes. so you can keep track of the changes as they are entered.
record them and mark their position.

Otherwise you need to go through analysis to see what has changed.

What is causing the performance issue for you?

Sorry this is only a 1 cent contribution.

SA

<ad****@gmail.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...
We have a web application that has a lot of large textareas for data
collection. We need to track who makes changes, when and what changes
were made. Right now I'm storing the entire text in a separate SQL
table
before the changes are saved. Needless to say this table is growing
quite large and is beginning to cause performance problems.

A lot of the changes are small, like capitalization or punctuation. Is

there anything that is available that somehow calculates just the
change that occurs? It's kind of hard to explain, but I want to store
only the modifications. But I also need to rebuild the previous
document if necessary.

I know something has to exist but I can't even think of a term to
search for.

Any guidance would be great,
AD

May 2 '06 #2
http://www.heikniemi.net/hc/archives/000124.html
<ad****@gmail.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...
We have a web application that has a lot of large textareas for data
collection. We need to track who makes changes, when and what changes
were made. Right now I'm storing the entire text in a separate SQL
table
before the changes are saved. Needless to say this table is growing
quite large and is beginning to cause performance problems.

A lot of the changes are small, like capitalization or punctuation. Is

there anything that is available that somehow calculates just the
change that occurs? It's kind of hard to explain, but I want to store
only the modifications. But I also need to rebuild the previous
document if necessary.

I know something has to exist but I can't even think of a term to
search for.

Any guidance would be great,
AD

May 2 '06 #3
SA, thanks for the reply.

I have a web application that has lots of large textareas. These are
modified frequently and we need to track who makes what changes and
when. For example, one textarea could have 3000 words. Someone
browses to this record and add 7 words and saves it.

I'm currently saving all original 3000 words in a separate table.

Someone else browses to this 10 minutes later and changes the
capitalization of 4 words. I save all 3007 words in the change table.

Now multiply this by >100 changes a day and multiply it again by >1000
textareas and you can see my problem.

I need to figure out how to save just the modifications and not the
whole textarea.

AD

May 2 '06 #4
Thanks for the reply but this....

http://www.heikniemi.net/hc/archives/000124.html

doesn't really address my issue.

May 2 '06 #5
AD,

This is not very easy. I am just thinking with you here.

May record every text change made at the client side then save it on the
server side.

May compare all text with original, at server side, and note changes.

What happens when you make 100 changes to the changes... then you have to go
through the Changes-Transactions to get to the final one.

So there is a trade off here space vs. speed.

What you might also have is a Background Process in the middle of the night
that can compress your data.

to be viewed it has to be uncompressed. non compressed data are viewed with
no further processing.

What about Zipping things up and unzip before viewing. zipping can reduce
the size dramatically but required processing.

You still have to send all 3000 words down to the client no matter what.

What you are saying your speed is slow at the sql-server side?

SA

<ad****@gmail.com> wrote in message
news:11**********************@j73g2000cwa.googlegr oups.com...
SA, thanks for the reply.

I have a web application that has lots of large textareas. These are
modified frequently and we need to track who makes what changes and
when. For example, one textarea could have 3000 words. Someone
browses to this record and add 7 words and saves it.

I'm currently saving all original 3000 words in a separate table.

Someone else browses to this 10 minutes later and changes the
capitalization of 4 words. I save all 3007 words in the change table.

Now multiply this by >100 changes a day and multiply it again by >1000
textareas and you can see my problem.

I need to figure out how to save just the modifications and not the
whole textarea.

AD

May 2 '06 #6
Thanks for you help.

What I'm thinking is, say the text is 3000 words. Someone edits and
adds 7 words. Instead of saving the previous 3000 words, I could save
the new changes (3007 words) and somehow save a modification log or
change log that can be used to recreate the 3000 original 3000 words if
necessary. I don't know if it would be a text comparison or some sort
of binary comparison to create this modification log.

I'm thinking there has to be some sort of commericial tool that does
this.

AD

May 2 '06 #7
How about using ZIP for the OLD copy?

File1-Version 1.0
Zip this as File-1-mmddyyyyhhmiss.zip
Any changes implemented to original file
Zip this as File-1-mmddyyyyhhmiss.zip

That way you can always have single copy of the latest and rest of them
are saved as ZIP file.

May 3 '06 #8
I like this zip idea. Is there any way to implement this at the SQL
Server level?

AD

May 3 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1714
by: Rare Book School | last post by:
RARE BOOK SCHOOL 2005 Rare Book School is pleased to announce its schedule of courses for 2005, including sessions at the University of Virginia, the Walters Art Museum/Johns Hopkins University in Baltimore, and the Freer/Sackler Galleries in Washington, DC. Please visit our web site for a complete brochure, expanded course descriptions,...
0
1536
by: Ben Reese | last post by:
Kind people on this discussion group have previously helped me to dynamically identify CD rom drives etc at runtime using objects in System.management +++++++++++++++++++++++++++++++++++++++ Dim query As New System.Management.ManagementObjectSearcher("SELECT * From Win32_LogicalDisk") Dim queryCollection As...
0
1715
by: Ben Reese | last post by:
Kind people on this discussion group have previously helped me to dynamically identify CD rom drives etc at runtime using objects in System.management +++++++++++++++++++++++++++++++++++++++ Dim query As New System.Management.ManagementObjectSearcher("SELECT * From Win32_LogicalDisk") Dim queryCollection As...
3
2287
by: kimimaro | last post by:
hi below is my save function that is used to placed data from the C program to a text file for future usage. void save() { FILE *save; int i = 0; save=fopen("employeerecord.txt", "a+");
1
1563
by: ThunderMusic | last post by:
hi, Is there an easy way to change the default printer from .net? thanks ThunderMusic
11
3298
by: Bryan | last post by:
Hi, I work for a company that is heading towards an FDA approved development process. We have always used C++ in a windows environment, and we have more than 6 years of code, applications and libraries developed. Our IT director has made the decision that to speed up development times we need to re-architect all of our existing code, and...
2
1467
by: Laphan | last post by:
Hi All Noticed that a lot of sites provide sort of HTML based forms nowadays where you can actually change the text colour and format in the actual text box rather than encapsulate them in tags (albeit HTML or bespoke ones). What amazes me more is that they appear to me no more than ASP and HTML to generate the effect. No bespoke plugin...
0
1977
by: Scott Abel | last post by:
Tuesday, December 12, 2006 -- 10:00AM EST / 3:00 PM GMT X-Pubs presents: CMS & Change - Love it, Hate it, Master it (Scott Abel & Emma Hamer) Reserve your Webinar seat now at: https://www.gotomeeting.com/register/952419737 In this interactive online event, you the participants, and content management strategist Scott Abel, will be...
0
13508
Dököll
by: Dököll | last post by:
Continued from: http://www.thescripts.com/forum/thread762010.html -VB 6.0 Professional -Microsoft DAO 3.6 Reference Search Database table... An attempt to fetch data housed in Access:
0
7270
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7178
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7565
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
5704
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4759
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3255
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
1612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
817
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
473
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.