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

Help to select an Architecture

Hi All,

We have developed stand alone application and it was started small and now
has become big and we are on our way to structure it. (Thought a backward
process we got to do it)

So right now we have some hanlder class which keep details (properties) of
each models and they are responsible for some core operation as well like
storing data retrieving data (form XMLs) and managing each component etc.

They are manager class which are responsible for all the initialization and
updation of each component as a request come from the UI part. As an example
if user click on a button (Note the manager handle only the core operation
and all the other minor operation handled by the UI directly communicating
with handlers) the manager know which handlers to use for the operation and
what mehtod to call and which variable to update and all...

There the last is the UI...

But I have no idea about these architectures... so can any body help me to
find a architecture that suit for my current class structure so then I can
standerdize it and strucutre it with least modification.

Thanks,
Nirosh
Nov 15 '05 #1
4 2245
Thanks for the help

"john" <jo**@j.com> wrote in message
news:08****************************@phx.gbl...
check out Martin Fowlers book about refractoring...this
is exactly what refractoring is. He gives about 75
refractoring patters that you can use for what your
talking about
-----Original Message-----
Hi All,

We have developed stand alone application and it was

started small and now
has become big and we are on our way to structure it.

(Thought a backward
process we got to do it)

So right now we have some hanlder class which keep

details (properties) of
each models and they are responsible for some core

operation as well like
storing data retrieving data (form XMLs) and managing

each component etc.

They are manager class which are responsible for all the

initialization and
updation of each component as a request come from the UI

part. As an example
if user click on a button (Note the manager handle only

the core operation
and all the other minor operation handled by the UI

directly communicating
with handlers) the manager know which handlers to use

for the operation and
what mehtod to call and which variable to update and

all...

There the last is the UI...

But I have no idea about these architectures... so can

any body help me to
find a architecture that suit for my current class

structure so then I can
standerdize it and strucutre it with least modification.

Thanks,
Nirosh
.

Nov 15 '05 #2
Can u pls get me the names of these tool (link if possible)

Again this App is written in c# and the technology will remain as it is and
I had no idea about these architectures when I started this so I just went
with a idea come to my mind and arrange the classes, but now the requirement
has come to standardize it. So I just want to know the architecture (As I
read MVC look closer to my class arrangement) which I can adopt with least
modification

Again what is the best architecture use with standalone application
devepment (in my case I use some xml for data storing as well)

Nirosh.

"Rob Tillie" <Ro********@student.tul.edu> wrote in message
news:eQ**************@TK2MSFTNGP10.phx.gbl...
john wrote:
check out Martin Fowlers book about refractoring...this
is exactly what refractoring is. He gives about 75
refractoring patters that you can use for what your
talking about


And how do you want to perform refactoring in C#? There are a couple of
tools available, but not one I like... very scarce up to now...

Greetz,
-- Rob.

Nov 15 '05 #3
There are only 2 at the moment:
http://www.refactoring.com/tools.html

None of them coming any close to my needs, and moreover, not free.
I hope to see a good free refactoring tool ( or VS.NET plugin ) soon.

Greetz,
-- Rob.

Champika Nirosh wrote:
Can u pls get me the names of these tool (link if possible)

Again this App is written in c# and the technology will remain as it
is and I had no idea about these architectures when I started this so
I just went with a idea come to my mind and arrange the classes, but
now the requirement has come to standardize it. So I just want to
know the architecture (As I read MVC look closer to my class
arrangement) which I can adopt with least modification

Again what is the best architecture use with standalone application
devepment (in my case I use some xml for data storing as well)

Nirosh.

"Rob Tillie" <Ro********@student.tul.edu> wrote in message
news:eQ**************@TK2MSFTNGP10.phx.gbl...
john wrote:
check out Martin Fowlers book about refractoring...this
is exactly what refractoring is. He gives about 75
refractoring patters that you can use for what your
talking about


And how do you want to perform refactoring in C#? There are a couple
of tools available, but not one I like... very scarce up to now...

Greetz,
-- Rob.

Nov 15 '05 #4
Champika,
I would also recommend Martin Fowler's book on Refactoring.
http://www.refactoring.com

I would further recommend his book "Patterns of Enterprise Application
Architecture"
http://www.martinfowler.com/books.html#eaa

Specifically (in your case based on your description of handlers) the Plugin
Pattern:
http://www.martinfowler.com/eaaCatalog/plugin.html

And the closely related Separated Interface Pattern:
http://www.martinfowler.com/eaaCatal...Interface.html

Using System.Type.GetType combined with System.Activator.CreateInstance is
how I implement my plugins. (your handlers?) You can store the full type
name of the plugin in the app.config, which is passed to Type.GetType. The
string needs to be in the format "mynamespace.myclass, myassembly".

Also, if you have not read it, "Design Patterns - Elements of Reusable
Object-Oriented Software" from Addison Wesley by GOF (gang of four) Erich
Gamma, Richard Helm, Ralph Johnson, John Vlissides is worth a look. It gives
you (some of) the patterns that you would be using Refactoring to achieve.
For example the State pattern is useful to coordinate 'tool' selection
(handler?) with mouse & keyboard events.

Hope this helps
Jay

"Champika Nirosh" <cn*****@textcentric.lk> wrote in message
news:et****************@TK2MSFTNGP12.phx.gbl...
Hi All,

We have developed stand alone application and it was started small and now
has become big and we are on our way to structure it. (Thought a backward
process we got to do it)

So right now we have some hanlder class which keep details (properties) of
each models and they are responsible for some core operation as well like
storing data retrieving data (form XMLs) and managing each component etc.

They are manager class which are responsible for all the initialization and updation of each component as a request come from the UI part. As an example if user click on a button (Note the manager handle only the core operation
and all the other minor operation handled by the UI directly communicating
with handlers) the manager know which handlers to use for the operation and what mehtod to call and which variable to update and all...

There the last is the UI...

But I have no idea about these architectures... so can any body help me to
find a architecture that suit for my current class structure so then I can
standerdize it and strucutre it with least modification.

Thanks,
Nirosh

Nov 15 '05 #5

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

Similar topics

2
by: comp.lang.php | last post by:
I can't possibly reproduce the code for this as the 2 classes in question are about 1500 lines each and condensing is in this case impossible due to algorithmic logic dependencies. Let's say you...
1
by: David2511 | last post by:
Hello, I need a little help. I try to write the following architecture : an abstract template class A Two classes derived from class A : the classes B and C which are concrete. The class...
2
by: Daniel | last post by:
I'm new to .Net and all of its abilities so I hope this makes sense. Basically I'm confused on when is the appropriate time to use web forms controls vs. regular HTML. For example in ASP...
1
by: epigram | last post by:
I'm creating a data-centric asp.net application that will be using SQL Server 2000. I'm looking for some articles, design tips, etc. to help me decide how I should design my application. I...
3
by: seba | last post by:
I try to get some info about webserver - ProcessModelInfo.GetCurrentProcessInfo() On Windows 2000, IIS 5 everything works fine. On Windows 2003 IIS6 i am getting error: "Process information is...
10
by: pcthug | last post by:
Hi All, I am creating multi-tier app in vb.net using visual studio .net. I create a invoice.vb class file with properties, events and methods. This also has a line item collection class...
1
by: Silent Ocean | last post by:
Hi 1. I am in process of designing N-Tier Application using ASP.NET. Can anyone guide me the right material or microsoft guidelines document which I can used in designing the N-Tier application....
20
by: ML | last post by:
Integers are stored in tables using only 4 bytes. Is there a way in SQL to retrieve the value as it is actually stored, not converted back into the displayed number? For example, if I have...
2
by: shiznit | last post by:
In ASP i used XMLDataSource to create a small menu. For the following xml how would i get just the @nav value and create a small navigation menu like this: Menu architecture: exhibition...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.