473,385 Members | 1,536 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,385 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 6336
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.