473,387 Members | 1,724 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

what does serialize mean

? I have seen apparently different meanings... If you say "designer
serialization", it seems to mean that a setting is put into
"InitializeComponent" by the designer. Then remoting stuff talks about
serialization that has a different meaning that I can't seem to understand.
None of the articles I've looked at explain what it means -- they seem to
feel it's something standard. I've done network programming, but not with
Windows (or even PC's, really) so maybe I've missed because of that.

Anyway, I think there must be something the two meanings have in common?

Thanks,
Rachel
__________________________________________________ ____________

Roydan Enterprises Ltd
602 North 9th Street
Manitowoc, WI 54220-3924

Jul 21 '05 #1
2 6337
For me, when I say "serialize" I mean to convert an object into a different
format for easy storage or transmission.

For example, say you have an Employee object with properties like Name, Age,
Salary, etc. You programmatically create an instance of that object and set
its values. Now, what if you wanted to store that object on your hard drive
when the user closes your application?

To do that, you would have to write some code to write the values to a text
file, XML file, database, something. That processing of converting your
object to a file or whatever would be "serializing" your object.

When someone starts your application up again, you might need a way to load
that object back up from the XML file, etc. The process of getting the
information from the file, creating a new Employe object, setting the
values, etc. would be "deserializing" it.

Others here may have a better way of explaining it. :)

--
Ben Strackany
www.developmentnow.com
"Rachel Suddeth" <ra****@bldhound.com> wrote in message
news:u$**************@TK2MSFTNGP10.phx.gbl...
? I have seen apparently different meanings... If you say "designer
serialization", it seems to mean that a setting is put into
"InitializeComponent" by the designer. Then remoting stuff talks about
serialization that has a different meaning that I can't seem to understand. None of the articles I've looked at explain what it means -- they seem to
feel it's something standard. I've done network programming, but not with
Windows (or even PC's, really) so maybe I've missed because of that.

Anyway, I think there must be something the two meanings have in common?

Thanks,
Rachel
__________________________________________________ ____________

Roydan Enterprises Ltd
602 North 9th Street
Manitowoc, WI 54220-3924

Jul 21 '05 #2
This makes sense. It does a reasonable job of tying the meanings (storage,
transmission) together. And thinking about writing object information to a
file does put me in mind of a tie in with the ordinary English meaning of
serial (something like arranged in a sequence.) Object information is
conceptually arranged in space, but traditional C I/O was done in streams
(sequence of bytes.) I think I will remember now :-)

"Ben Strackany" <in********@developmentnow.nospam.com> wrote in message
news:ek****************@TK2MSFTNGP14.phx.gbl...
For me, when I say "serialize" I mean to convert an object into a
different
format for easy storage or transmission.

For example, say you have an Employee object with properties like Name,
Age,
Salary, etc. You programmatically create an instance of that object and
set
its values. Now, what if you wanted to store that object on your hard
drive
when the user closes your application?

To do that, you would have to write some code to write the values to a
text
file, XML file, database, something. That processing of converting your
object to a file or whatever would be "serializing" your object.

When someone starts your application up again, you might need a way to
load
that object back up from the XML file, etc. The process of getting the
information from the file, creating a new Employe object, setting the
values, etc. would be "deserializing" it.

Others here may have a better way of explaining it. :)

--
Ben Strackany
www.developmentnow.com

Jul 21 '05 #3

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

Similar topics

7
by: Ian Tompsett | last post by:
H I was wondering if it possible for an object to serialize/deserialize itself from XML. I'd be guessing that it would need to use the XmlSerializer class, but that seems to want to create a...
2
by: ByteMe | last post by:
try { XmlTextReader SettingsReader = new XmlTextReader("settings.xml"); while (SettingsReader.Read()) { switch (SettingsReader.NodeType) { case XmlNodeType.Element: string...
7
by: Lars-Erik Aabech | last post by:
Hi! I've got problems with serializing my collections of business objects. The objects themselves serialize fine, but the collections fail. I've got the following structure: Base collection...
3
by: Alex Nitulescu | last post by:
_______________________________________________________________________________________ System.IO.FileNotFoundException: File or assembly name biypfduw.dll, or one of its dependencies, was not...
2
by: Rachel Suddeth | last post by:
? I have seen apparently different meanings... If you say "designer serialization", it seems to mean that a setting is put into "InitializeComponent" by the designer. Then remoting stuff talks...
6
by: DBC User | last post by:
Could someone help me understand 'Serializable'? What is this 'Serializable' why do we need it and how do we use it? Any link or simple example would be great.
0
by: Nachi | last post by:
I have installed SQL Server 2000 with VS 2005 - did not install SqlExpress\Sql 2005. I have a remote Sql Server Instance locally. The normal application connectes to this Sql Server. When I run...
3
by: VingeFaan | last post by:
Hello. Can I serialize a UserControl directly? By that I mean the entire control itself, not by using extra inner classes or specific logic for each usercontrol? I have 50ish usercontrols which I...
4
by: Dave | last post by:
I have a global.asax file with Application_Start defined and create some static data there and in another module used in the asp.net application and I realize that static data is shared amongst...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.