Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-31-2008
yky yky is offline
Registered User
 
Name: kangyin ye
Organization: xi'an jiaotong university
Project: network research proj
 
Join Date: Mar 2008
Posts: 2
Question How to read the sourcecode of ICE

ICE is absolutely a masterpiece of network programming. So i plan to read the source code to improve my programming ability. So far, i have finished the IceUtil part. But the remaining core parts, (not including the service extensions) seems much more complicated. I encounter many problems which i guess can not figure out without your help. Also, i guess that i have no way to understand the authors' design and implementation considerations. Taking into account of that point, the benefit of source code reading will be discounted.

what's the roadmap of reading open source software like this, Would anyone give me some advice? Or supply me some detail document to improve my understanding of ICE?

thanks!!
Reply With Quote
  #2 (permalink)  
Old 03-31-2008
xdm's Avatar
xdm xdm is offline
ZeroC Staff
 
Name: José Gutíerrez de la Concha Martínez
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Sep 2003
Location: La Coruña, Spain
Posts: 292
Hi kangyin,

If you whant to better understand Ice you must read also the Handbook specialy Ice Run time in detail can help you undertand how things works for the Ice core. For other services read first handbook for the corresponding service. Also newsletter archive and faqs have lot of iformation about why things are in a specific way. Also if you care about implementaion can be interested for you read if you have not done yet, Pattern Oriented Software architecture Volumen 2 (patterns for concurrent and network objects).

Hope this help.
Reply With Quote
  #3 (permalink)  
Old 03-31-2008
yky yky is offline
Registered User
 
Name: kangyin ye
Organization: xi'an jiaotong university
Project: network research proj
 
Join Date: Mar 2008
Posts: 2
Thanks for your advice.
Reply With Quote
  #4 (permalink)  
Old 04-02-2008
OrNot OrNot is offline
Registered User
 
Name: Bin.Li
Organization: GE Healthcare
Project: Enterprise solution
 
Join Date: Jun 2005
Location: Shanghai
Posts: 157
Send a message via MSN to OrNot
-->
Hi,YKY,
Nice to see you from XJTU.))
I once worked on ICE for serveal months. I think the best approach to learn the code is to dubug the sample applications from the simplest one. You will go through the ICE core and get some basic ideas about its design philosophy. As xdm mentioned, you can find many pattens from the Pattern Oriented Software architecture Volumen 2,such as connector, recevier, lead- fellow and so on so forth. Of course patience is the most important.
Personally, I don't ICE source code is very easily readable. Espcially for some parts. In one file may be congested thousands of line codes. It sometimes makes me headache. .
But if you want to be a good networking expert, ICE is definitly one of the best starting point to gain experiences.

Good luck, my schoolmate.
__________________
Looking for the nails with my favorite hammer, ICE.
-------------------------------------------
Huo.Fei
GE Healthcare
Bin.Li@ge.com
--------------------------------------------
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot read config file using Java ClassLoader Djaunl Help Center 4 05-18-2007 04:45 PM
Program implementation / File Transfer Questions (yes, i have read the faq :) )/ Ruby EmmanuelOga Help Center 2 08-01-2006 06:58 PM
Ice and existing sourcecode Arnie Help Center 1 06-02-2006 10:14 PM
TimeoutException in the IceInternal::TcpTransceiver::read method nactyx Bug Reports 4 12-09-2005 05:09 AM


All times are GMT -4. The time now is 08:13 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.