Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

How to partition an application: msg#00232

lang.smalltalk.squeak.beginners

Subject: How to partition an application


I am slowly moving along with my Wget app - thanks to the help from this list.  

However I now need to understand how to 'package' my app so that it is most useful to other people.  It seems as though there are 3 things I could do:

1. Add code to the HttpClient and Httpsocket (possibly moving some of the instance code to the class side)
2. Subclass the two classes
3. Leave them exactly as they are and put all the code in my new Wget class.

It seems to me that putting it all into the Wget object would make it easiest for people to use it, but perhaps it makes it harder for people to reuse the code elsewhere, i.e. some of the 'helper' methods might be useful in a number of different situations - nothing to do with Wget.  Subclassing the other objects seems simple, but - presumably - if everyone were to share their work this way we would end up with many many different versions of the basic classes (perhaps that would be a good thing but it could also be confusing). Finally, changing the basic objects keeps the class hierarchy clean, but I imagine most people wouldn't want to have someone else's code messing around with their classes.

So...  what is the best way to develop Squeak code so that other people can use it?

Cheers
AB_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe