473,326 Members | 2,168 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,326 software developers and data experts.

Where should i read the cache?


Hi,

I have Server class which uses a Pop3Reciever class
both written by me.

The server initialize Cache which hold configuration for pop3
communication(password,user name,server)

I wonder where is the best place to read from the cache and why?

I can read it in the Server class and pass the parameters to the
Pop3Reciever constructor
or I can read it directly in the Pop3Reciever class
Thanks.
Nov 16 '05 #1
2 1426
that's a design question. without knowing the architecture in some detail,
it seems rather pointless to make a suggestion

--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
_________________________
"Julia" <co********@012.net.il> wrote in message
news:um****************@TK2MSFTNGP09.phx.gbl...

Hi,

I have Server class which uses a Pop3Reciever class
both written by me.

The server initialize Cache which hold configuration for pop3
communication(password,user name,server)

I wonder where is the best place to read from the cache and why?

I can read it in the Server class and pass the parameters to the
Pop3Reciever constructor
or I can read it directly in the Pop3Reciever class
Thanks.

Nov 16 '05 #2
Yes it is true,it is a design question.

Since my application is made of layers I always ask myself what is the best
way to pass parameters to other layers
and why
Thanks anyway.
"Alvin Bruney [ASP.NET MVP]" <www.lulu.com/owc> wrote in message
news:e2**************@TK2MSFTNGP09.phx.gbl...
that's a design question. without knowing the architecture in some detail,
it seems rather pointless to make a suggestion

--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
_________________________
"Julia" <co********@012.net.il> wrote in message
news:um****************@TK2MSFTNGP09.phx.gbl...

Hi,

I have Server class which uses a Pop3Reciever class
both written by me.

The server initialize Cache which hold configuration for pop3
communication(password,user name,server)

I wonder where is the best place to read from the cache and why?

I can read it in the Server class and pass the parameters to the
Pop3Reciever constructor
or I can read it directly in the Pop3Reciever class
Thanks.


Nov 16 '05 #3

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

Similar topics

10
by: Yang Li Ke | last post by:
Hi guys! I have some datas that I must check everytime a visitor comes to my site What is better to do: 1- Read data from a file or 2- Read data from a mysql db Thank you
6
by: Patrice Kadionik | last post by:
Hi all, I want to make a brief comparison between read() and fread() (under a Linux OS). 1. Family read and Co: open, close, read, write, ioctl... 2. Family fread and Co: fopen, fclose,...
14
by: Mark Broadbent | last post by:
Does anybody know what is (factual please -not just guess) the quickest method to read data from a file? I am not interested in the format of the data (i.e. blocks, bytes, string etc) just that the...
7
by: JerryW | last post by:
I just reinstalled .NET 2003 (after repeated attempts to get ASP.NET Web Applications to work). I first did a complete uninstall of .NET 2003, .NET Framework 1.1, and IIS. I also completely deleted...
4
by: Guadala Harry | last post by:
Is there any way for one Session to remove and update objects in another Session? I seriously doubt it, but thought I'd ask. Here's why: I have some data that is unique per user (or per session -...
1
by: Julia | last post by:
Hi, I have basic questions regarding ASP.NET site I am going to use Microsoft application configuration block and I wonder 1.does caching read only data in the application can hurt ...
1
by: teo | last post by:
Hallo, I have stored data in the Page.Cache with Me.Cache.Insert (...), now, I'm using vs2005 with its built-in small server (not IIS), and I'd like to know where this stored data are...
8
by: zubair1 | last post by:
Hi, I just got stuck when i moved into deleting firefox cache files - but i've going through my entire C:\ drive and also the exact path where firefox is installed at (C:\program files\firefox\)...
1
by: Steven D'Aprano | last post by:
On Wed, 22 Oct 2008 16:59:45 -0400, Terry Reedy wrote: With respect Terry, I think what you have missed is the reason why the OP thinks this is a bug. He's not surprised that buffering is going...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.