Showing posts with label design. Show all posts
Showing posts with label design. Show all posts

Thursday, March 22, 2012

Thought For a Monday

A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly.

Specialization is for insects.

-- RobertHeinlein, writing specialist

--
Scott
http://www.OdeToCode.com/blogs/scott/

--
Scott
http://www.OdeToCode.com/blogs/scott/Specialization is what makes societies great.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Scott Allen" <scott@.nospam.odetocode.com> wrote in message
news:gti151h1ra85vg72o9pdjhb0ak9jnal98l@.4ax.com...
>A human being should be able to change a diaper, plan an invasion,
> butcher a hog, conn a ship, design a building, write a sonnet, balance
> accounts, build a wall, set a bone, comfort the dying, take orders,
> give orders, cooperate, act alone, solve equations, analyze a new
> problem, pitch manure, program a computer, cook a tasty meal, fight
> efficiently, die gallantly.
> Specialization is for insects.
> -- RobertHeinlein, writing specialist
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
A nice description of what web programming is all about.

Eliyahu

"Scott Allen" <scott@.nospam.odetocode.com> wrote in message
news:gti151h1ra85vg72o9pdjhb0ak9jnal98l@.4ax.com...
> A human being should be able to change a diaper, plan an invasion,
> butcher a hog, conn a ship, design a building, write a sonnet, balance
> accounts, build a wall, set a bone, comfort the dying, take orders,
> give orders, cooperate, act alone, solve equations, analyze a new
> problem, pitch manure, program a computer, cook a tasty meal, fight
> efficiently, die gallantly.
> Specialization is for insects.
> -- RobertHeinlein, writing specialist
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
Sounds like a T-Cell. However, it should be noted that, while all T-Cells
start out the same, they eventually specialize. Why should an organization
composed of such cells behave any differently? For that matter, why isn't
the entire earth filled with amoebas?

I love Robert Heinlein. But, like Albert Einstein, he was only a man, and
not always right.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Scott Allen" <scott@.nospam.odetocode.com> wrote in message
news:gti151h1ra85vg72o9pdjhb0ak9jnal98l@.4ax.com...
>A human being should be able to change a diaper, plan an invasion,
> butcher a hog, conn a ship, design a building, write a sonnet, balance
> accounts, build a wall, set a bone, comfort the dying, take orders,
> give orders, cooperate, act alone, solve equations, analyze a new
> problem, pitch manure, program a computer, cook a tasty meal, fight
> efficiently, die gallantly.
> Specialization is for insects.
> -- RobertHeinlein, writing specialist
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
specialization is what allows a species to survive and excel in any
given ecosystem.

overspecialization in that same ecology makes them vulnerable to
significant shifts in the supporting systems.

where does that leave .net programmers? ;-)

david
specialization is what allows a species to survive and excel in any
given ecosystem.

overspecialization in that same ecology makes them vulnerable to
significant shifts in the surrounding and supporting systems.

where does that leave .net programmers? ;-)

(a colleague just told me she firmly believes that cobal programmers
will always have a job in the financial industry because those
mainframe systems and archives are so data-intensive that there is no
business case - read garunteed ROI - for changing the codebase.)

david
> where does that leave .net programmers? ;-)

Nowhere in particular, since there are all kinds of .Net programmers.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"David Alpert" <david@.spinthemoose.com> wrote in message
news:69c7e56f.0504041019.4505a517@.posting.google.c om...
> specialization is what allows a species to survive and excel in any
> given ecosystem.
> overspecialization in that same ecology makes them vulnerable to
> significant shifts in the supporting systems.
> where does that leave .net programmers? ;-)
> david
Sure..those that use C# and those that use VB.Net :)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
news:u4wHChUOFHA.2144@.TK2MSFTNGP09.phx.gbl...
> > where does that leave .net programmers? ;-)
> Nowhere in particular, since there are all kinds of .Net programmers.
> --
> HTH,
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> What You Seek Is What You Get.
> "David Alpert" <david@.spinthemoose.com> wrote in message
> news:69c7e56f.0504041019.4505a517@.posting.google.c om...
> > specialization is what allows a species to survive and excel in any
> > given ecosystem.
> > overspecialization in that same ecology makes them vulnerable to
> > significant shifts in the supporting systems.
> > where does that leave .net programmers? ;-)
> > david
Very funny, Karl ;-P

--
;-),

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Karl Seguin" <karl REMOVE @. REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:uJ0L36UOFHA.2736@.TK2MSFTNGP09.phx.gbl...
> Sure..those that use C# and those that use VB.Net :)
> Karl
> --
> MY ASP.Net tutorials
> http://www.openmymind.net/ - New and Improved (yes, the popup is
> annoying)
> http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
> come!)
> "Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
> news:u4wHChUOFHA.2144@.TK2MSFTNGP09.phx.gbl...
>> > where does that leave .net programmers? ;-)
>>
>> Nowhere in particular, since there are all kinds of .Net programmers.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> What You Seek Is What You Get.
>>
>> "David Alpert" <david@.spinthemoose.com> wrote in message
>> news:69c7e56f.0504041019.4505a517@.posting.google.c om...
>> > specialization is what allows a species to survive and excel in any
>> > given ecosystem.
>>> > overspecialization in that same ecology makes them vulnerable to
>> > significant shifts in the supporting systems.
>>> > where does that leave .net programmers? ;-)
>>> > david
>>
>>
And those who use JScript.NET, presumably,
not counting those who use Managed C++.

;-)

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espaol
Ven, y hablemos de ASP.NET...
======================

"Karl Seguin" <karl REMOVE @. REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:uJ0L36UOFHA.2736@.TK2MSFTNGP09.phx.gbl...
> Sure..those that use C# and those that use VB.Net :)
> Karl
> --
> MY ASP.Net tutorials
> http://www.openmymind.net/ - New and Improved (yes, the popup is
> annoying)
> http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
> come!)
> "Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
> news:u4wHChUOFHA.2144@.TK2MSFTNGP09.phx.gbl...
>> > where does that leave .net programmers? ;-)
>>
>> Nowhere in particular, since there are all kinds of .Net programmers.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> What You Seek Is What You Get.
>>
>> "David Alpert" <david@.spinthemoose.com> wrote in message
>> news:69c7e56f.0504041019.4505a517@.posting.google.c om...
>> > specialization is what allows a species to survive and excel in any
>> > given ecosystem.
>>> > overspecialization in that same ecology makes them vulnerable to
>> > significant shifts in the supporting systems.
>>> > where does that leave .net programmers? ;-)
>>> > david
>>
>>
What about all those Cobol.NET programmers out there?
;-)

--
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:exqoNgVOFHA.3388@.TK2MSFTNGP10.phx.gbl...
> And those who use JScript.NET, presumably,
> not counting those who use Managed C++.
> ;-)
>
> Juan T. Llibre
> ASP.NET MVP
> http://asp.net.do/foros/
> Foros de ASP.NET en Espaol
> Ven, y hablemos de ASP.NET...
> ======================
> "Karl Seguin" <karl REMOVE @. REMOVE openmymind REMOVEMETOO . ANDME net>
> wrote in message news:uJ0L36UOFHA.2736@.TK2MSFTNGP09.phx.gbl...
>> Sure..those that use C# and those that use VB.Net :)
>>
>> Karl
>>
>> --
>> MY ASP.Net tutorials
>> http://www.openmymind.net/ - New and Improved (yes, the popup is
>> annoying)
>> http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
>> come!)
>> "Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
>> news:u4wHChUOFHA.2144@.TK2MSFTNGP09.phx.gbl...
>>> > where does that leave .net programmers? ;-)
>>>
>>> Nowhere in particular, since there are all kinds of .Net programmers.
>>>
>>> --
>>> HTH,
>>>
>>> Kevin Spencer
>>> Microsoft MVP
>>> .Net Developer
>>> What You Seek Is What You Get.
>>>
>>> "David Alpert" <david@.spinthemoose.com> wrote in message
>>> news:69c7e56f.0504041019.4505a517@.posting.google.c om...
>>> > specialization is what allows a species to survive and excel in any
>>> > given ecosystem.
>>>>> > overspecialization in that same ecology makes them vulnerable to
>>> > significant shifts in the supporting systems.
>>>>> > where does that leave .net programmers? ;-)
>>>>> > david
>>>
>>>
>>
>>
someone already mentioned overspecilization, didn't they? :)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)

"Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
news:%23lSvnpVOFHA.2736@.TK2MSFTNGP09.phx.gbl...
> What about all those Cobol.NET programmers out there?
> ;-)
> --
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:exqoNgVOFHA.3388@.TK2MSFTNGP10.phx.gbl...
> > And those who use JScript.NET, presumably,
> > not counting those who use Managed C++.
> > ;-)
> > Juan T. Llibre
> > ASP.NET MVP
> > http://asp.net.do/foros/
> > Foros de ASP.NET en Espaol
> > Ven, y hablemos de ASP.NET...
> > ======================
> > "Karl Seguin" <karl REMOVE @. REMOVE openmymind REMOVEMETOO . ANDME net>
> > wrote in message news:uJ0L36UOFHA.2736@.TK2MSFTNGP09.phx.gbl...
> >> Sure..those that use C# and those that use VB.Net :)
> >>
> >> Karl
> >>
> >> --
> >> MY ASP.Net tutorials
> >> http://www.openmymind.net/ - New and Improved (yes, the popup is
> >> annoying)
> >> http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
> >> come!)
> >> "Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
> >> news:u4wHChUOFHA.2144@.TK2MSFTNGP09.phx.gbl...
> >>> > where does that leave .net programmers? ;-)
> >>>
> >>> Nowhere in particular, since there are all kinds of .Net programmers.
> >>>
> >>> --
> >>> HTH,
> >>>
> >>> Kevin Spencer
> >>> Microsoft MVP
> >>> .Net Developer
> >>> What You Seek Is What You Get.
> >>>
> >>> "David Alpert" <david@.spinthemoose.com> wrote in message
> >>> news:69c7e56f.0504041019.4505a517@.posting.google.c om...
> >>> > specialization is what allows a species to survive and excel in any
> >>> > given ecosystem.
> >>> >>> > overspecialization in that same ecology makes them vulnerable to
> >>> > significant shifts in the supporting systems.
> >>> >>> > where does that leave .net programmers? ;-)
> >>> >>> > david
> >>>
> >>>
> >>
> >>
Cobol.Net - For those of you who want to sit on the cutting edge in your
grandfather's rocking chair...

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Karl Seguin" <karl REMOVE @. REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:uGjy1oWOFHA.440@.TK2MSFTNGP10.phx.gbl...
> someone already mentioned overspecilization, didn't they? :)
> Karl
> --
> MY ASP.Net tutorials
> http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
> http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
> come!)
>
> "Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
> news:%23lSvnpVOFHA.2736@.TK2MSFTNGP09.phx.gbl...
>> What about all those Cobol.NET programmers out there?
>> ;-)
>>
>> --
>> Steve C. Orr, MCSD, MVP
>> http://SteveOrr.net
>>
>>
>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>> news:exqoNgVOFHA.3388@.TK2MSFTNGP10.phx.gbl...
>> > And those who use JScript.NET, presumably,
>> > not counting those who use Managed C++.
>>> > ;-)
>>>>> > Juan T. Llibre
>> > ASP.NET MVP
>> > http://asp.net.do/foros/
>> > Foros de ASP.NET en Espaol
>> > Ven, y hablemos de ASP.NET...
>> > ======================
>>> > "Karl Seguin" <karl REMOVE @. REMOVE openmymind REMOVEMETOO . ANDME net>
>> > wrote in message news:uJ0L36UOFHA.2736@.TK2MSFTNGP09.phx.gbl...
>> >> Sure..those that use C# and those that use VB.Net :)
>> >>
>> >> Karl
>> >>
>> >> --
>> >> MY ASP.Net tutorials
>> >> http://www.openmymind.net/ - New and Improved (yes, the popup is
>> >> annoying)
>> >> http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
>> >> come!)
>> >> "Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
>> >> news:u4wHChUOFHA.2144@.TK2MSFTNGP09.phx.gbl...
>> >>> > where does that leave .net programmers? ;-)
>> >>>
>> >>> Nowhere in particular, since there are all kinds of .Net programmers.
>> >>>
>> >>> --
>> >>> HTH,
>> >>>
>> >>> Kevin Spencer
>> >>> Microsoft MVP
>> >>> .Net Developer
>> >>> What You Seek Is What You Get.
>> >>>
>> >>> "David Alpert" <david@.spinthemoose.com> wrote in message
>> >>> news:69c7e56f.0504041019.4505a517@.posting.google.c om...
>> >>> > specialization is what allows a species to survive and excel in any
>> >>> > given ecosystem.
>> >>>> >>> > overspecialization in that same ecology makes them vulnerable to
>> >>> > significant shifts in the supporting systems.
>> >>>> >>> > where does that leave .net programmers? ;-)
>> >>>> >>> > david
>> >>>
>> >>>
>> >>
>> >>
>>>>
>>

Thought For a Monday

A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly.
Specialization is for insects.
-- RobertHeinlein, writing specialist
Scott
http://www.OdeToCode.com/blogs/scott/
Scott
http://www.OdeToCode.com/blogs/scott/Specialization is what makes societies great.
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Scott Allen" <scott@.nospam.odetocode.com> wrote in message
news:gti151h1ra85vg72o9pdjhb0ak9jnal98l@.
4ax.com...
>A human being should be able to change a diaper, plan an invasion,
> butcher a hog, conn a ship, design a building, write a sonnet, balance
> accounts, build a wall, set a bone, comfort the dying, take orders,
> give orders, cooperate, act alone, solve equations, analyze a new
> problem, pitch manure, program a computer, cook a tasty meal, fight
> efficiently, die gallantly.
> Specialization is for insects.
> -- RobertHeinlein, writing specialist
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
A nice description of what web programming is all about.
Eliyahu
"Scott Allen" <scott@.nospam.odetocode.com> wrote in message
news:gti151h1ra85vg72o9pdjhb0ak9jnal98l@.
4ax.com...
> A human being should be able to change a diaper, plan an invasion,
> butcher a hog, conn a ship, design a building, write a sonnet, balance
> accounts, build a wall, set a bone, comfort the dying, take orders,
> give orders, cooperate, act alone, solve equations, analyze a new
> problem, pitch manure, program a computer, cook a tasty meal, fight
> efficiently, die gallantly.
> Specialization is for insects.
> -- RobertHeinlein, writing specialist
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
Sounds like a T-Cell. However, it should be noted that, while all T-Cells
start out the same, they eventually specialize. Why should an organization
composed of such cells behave any differently? For that matter, why isn't
the entire earth filled with amoebas?
I love Robert Heinlein. But, like Albert Einstein, he was only a man, and
not always right.
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
What You S Is What You Get.
"Scott Allen" <scott@.nospam.odetocode.com> wrote in message
news:gti151h1ra85vg72o9pdjhb0ak9jnal98l@.
4ax.com...
>A human being should be able to change a diaper, plan an invasion,
> butcher a hog, conn a ship, design a building, write a sonnet, balance
> accounts, build a wall, set a bone, comfort the dying, take orders,
> give orders, cooperate, act alone, solve equations, analyze a new
> problem, pitch manure, program a computer, cook a tasty meal, fight
> efficiently, die gallantly.
> Specialization is for insects.
> -- RobertHeinlein, writing specialist
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
specialization is what allows a species to survive and excel in any
given ecosystem.
overspecialization in that same ecology makes them vulnerable to
significant shifts in the supporting systems.
where does that leave .net programmers? ;-)
david
specialization is what allows a species to survive and excel in any
given ecosystem.
overspecialization in that same ecology makes them vulnerable to
significant shifts in the surrounding and supporting systems.
where does that leave .net programmers? ;-)
(a colleague just told me she firmly believes that cobal programmers
will always have a job in the financial industry because those
mainframe systems and archives are so data-intensive that there is no
business case - read garunteed ROI - for changing the codebase.)
david
> where does that leave .net programmers? ;-)
Nowhere in particular, since there are all kinds of .Net programmers.
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
What You S Is What You Get.
"David Alpert" <david@.spinthemoose.com> wrote in message
news:69c7e56f.0504041019.4505a517@.posting.google.com...
> specialization is what allows a species to survive and excel in any
> given ecosystem.
> overspecialization in that same ecology makes them vulnerable to
> significant shifts in the supporting systems.
> where does that leave .net programmers? ;-)
> david
Sure..those that use C# and those that use VB.Net :)
Karl
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
news:u4wHChUOFHA.2144@.TK2MSFTNGP09.phx.gbl...
> Nowhere in particular, since there are all kinds of .Net programmers.
> --
> HTH,
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> What You S Is What You Get.
> "David Alpert" <david@.spinthemoose.com> wrote in message
> news:69c7e56f.0504041019.4505a517@.posting.google.com...
>
Very funny, Karl ;-P
;-),
Kevin Spencer
Microsoft MVP
.Net Developer
What You S Is What You Get.
"Karl Seguin" <karl REMOVE @. REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:uJ0L36UOFHA.2736@.TK2MSFTNGP09.phx.gbl...
> Sure..those that use C# and those that use VB.Net :)
> Karl
> --
> MY ASP.Net tutorials
> http://www.openmymind.net/ - New and Improved (yes, the popup is
> annoying)
> http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
> come!)
> "Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
> news:u4wHChUOFHA.2144@.TK2MSFTNGP09.phx.gbl...
>
And those who use JScript.NET, presumably,
not counting those who use Managed C++.
;-)
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espaol
Ven, y hablemos de ASP.NET...
======================
"Karl Seguin" <karl REMOVE @. REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:uJ0L36UOFHA.2736@.TK2MSFTNGP09.phx.gbl...
> Sure..those that use C# and those that use VB.Net :)
> Karl
> --
> MY ASP.Net tutorials
> http://www.openmymind.net/ - New and Improved (yes, the popup is
> annoying)
> http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
> come!)
> "Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
> news:u4wHChUOFHA.2144@.TK2MSFTNGP09.phx.gbl...
>

Tuesday, March 13, 2012

thread safety

Hi,
I have a web app which has the following design to get to the DB
Web Page (uses)
-> .net DLL library
--> has a class with static methods
--> static method to-do basic DB operations like create a
DataReader for given sql, get Dataset etc
Big question is... Is this design safe when a lot of users are hitting the
web site from the asp.net threading perspective?As long as the static methods dont access static fields or properties then i
t
should be thread safe.
Ciaran O''Donnell
http://wannabedeveloper.space.live.com
"tjain" wrote:

> Hi,
> I have a web app which has the following design to get to the DB
> Web Page (uses)
> -> .net DLL library
> --> has a class with static methods
> --> static method to-do basic DB operations like create a
> DataReader for given sql, get Dataset etc
> Big question is... Is this design safe when a lot of users are hitting th
e
> web site from the asp.net threading perspective?
>

Thread Safety?

The first application I wrote using asp.net started off rather small,
and as a result, the design of the application took a "Rapid
Application Development" type of approach. By this I mean that it was
simply built using a simple 3 tier architecture, where the interface
was created using css and master pages, the middle layer or business
logic classes, consisted of some simple public classes that defined
some of the business rules, and the underlying data layer contained
all the stored procedures and database schema. Everything worked fine,
since it was a rather simple application, and it was only being used
by a few people. Well, as some of you may already know, after each
demo, the new requirements kept getting added to the application, and
now it is turning into a huge application that is expected to be used
by hundreds of people. Incorporating a design pattern into the
application would have been a good idea, but I was not familiar with
some of the patterns when I started writing the application. I am also
not experienced with thread safety. Considering I am limited on
time(only a couple of ws(2 or 3)), what are some things you experts
can suggest I take to prevent some unforeseen problems? FYI, All the
classes in my app_code folder are declared public. Nothing is static.carlos wrote:
> The first application I wrote using asp.net started off rather small,
> and as a result, the design of the application took a "Rapid
> Application Development" type of approach. By this I mean that it was
> simply built using a simple 3 tier architecture, where the interface
> was created using css and master pages, the middle layer or business
> logic classes, consisted of some simple public classes that defined
> some of the business rules, and the underlying data layer contained
> all the stored procedures and database schema.
That sounds rather good. If it's really a three tier application, where
the presentation layer is completely isolated from the data layer, it's
pretty good.
If, on the other hand, the application only pretends to be layered, it's
not very good. This is usually visible by the fact that the presentation
layer is littered with database field names.

> Everything worked fine,
> since it was a rather simple application, and it was only being used
> by a few people. Well, as some of you may already know, after each
> demo, the new requirements kept getting added to the application, and
> now it is turning into a huge application that is expected to be used
> by hundreds of people. Incorporating a design pattern into the
> application would have been a good idea, but I was not familiar with
> some of the patterns when I started writing the application. I am also
> not experienced with thread safety. Considering I am limited on
> time(only a couple of ws(2 or 3)), what are some things you experts
> can suggest I take to prevent some unforeseen problems? FYI, All the
> classes in my app_code folder are declared public. Nothing is static.
If you don't have any static variables, you are pretty safe when it
comes to thread safety. As long as each instance of an object only is
used in one thread, it's safe. Also, only one page at a time is executed
for each session, so any data that is session specific is also thread
safe in an ASP.NET application.
Gran Andersson
_____
http://www.guffa.com
I'll chime in here to say don't implement patterns for the sake of patterns
either. Patterns solve specific problems. Don't invent the problem just so
you can apply the pattern in code. I used to be guilty of that - it made my
code overly complicated. Cool for me, difficult for others to maintain.
Regards,
Alvin Bruney
---
Shameless author plug
Excel Services for .NET - MS Press
Professional VSTO 2005 - Wrox/Wiley
OWC Black Book www.lulu.com/owc
"Gran Andersson" <guffa@.guffa.com> wrote in message
news:%23OneyVI3HHA.212@.TK2MSFTNGP05.phx.gbl...
> carlos wrote:
> That sounds rather good. If it's really a three tier application, where
> the presentation layer is completely isolated from the data layer, it's
> pretty good.
> If, on the other hand, the application only pretends to be layered, it's
> not very good. This is usually visible by the fact that the presentation
> layer is littered with database field names.
>
> If you don't have any static variables, you are pretty safe when it comes
> to thread safety. As long as each instance of an object only is used in
> one thread, it's safe. Also, only one page at a time is executed for each
> session, so any data that is session specific is also thread safe in an
> ASP.NET application.
> --
> Gran Andersson
> _____
> http://www.guffa.com

Thread Safety?

The first application I wrote using asp.net started off rather small,
and as a result, the design of the application took a "Rapid
Application Development" type of approach. By this I mean that it was
simply built using a simple 3 tier architecture, where the interface
was created using css and master pages, the middle layer or business
logic classes, consisted of some simple public classes that defined
some of the business rules, and the underlying data layer contained
all the stored procedures and database schema. Everything worked fine,
since it was a rather simple application, and it was only being used
by a few people. Well, as some of you may already know, after each
demo, the new requirements kept getting added to the application, and
now it is turning into a huge application that is expected to be used
by hundreds of people. Incorporating a design pattern into the
application would have been a good idea, but I was not familiar with
some of the patterns when I started writing the application. I am also
not experienced with thread safety. Considering I am limited on
time(only a couple of weeks(2 or 3)), what are some things you experts
can suggest I take to prevent some unforeseen problems? FYI, All the
classes in my app_code folder are declared public. Nothing is static.carlos wrote:

Quote:

Originally Posted by

The first application I wrote using asp.net started off rather small,
and as a result, the design of the application took a "Rapid
Application Development" type of approach. By this I mean that it was
simply built using a simple 3 tier architecture, where the interface
was created using css and master pages, the middle layer or business
logic classes, consisted of some simple public classes that defined
some of the business rules, and the underlying data layer contained
all the stored procedures and database schema.


That sounds rather good. If it's really a three tier application, where
the presentation layer is completely isolated from the data layer, it's
pretty good.

If, on the other hand, the application only pretends to be layered, it's
not very good. This is usually visible by the fact that the presentation
layer is littered with database field names.

Quote:

Originally Posted by

Everything worked fine,
since it was a rather simple application, and it was only being used
by a few people. Well, as some of you may already know, after each
demo, the new requirements kept getting added to the application, and
now it is turning into a huge application that is expected to be used
by hundreds of people. Incorporating a design pattern into the
application would have been a good idea, but I was not familiar with
some of the patterns when I started writing the application. I am also
not experienced with thread safety. Considering I am limited on
time(only a couple of weeks(2 or 3)), what are some things you experts
can suggest I take to prevent some unforeseen problems? FYI, All the
classes in my app_code folder are declared public. Nothing is static.


If you don't have any static variables, you are pretty safe when it
comes to thread safety. As long as each instance of an object only is
used in one thread, it's safe. Also, only one page at a time is executed
for each session, so any data that is session specific is also thread
safe in an ASP.NET application.

--
Gran Andersson
_____
http://www.guffa.com
I'll chime in here to say don't implement patterns for the sake of patterns
either. Patterns solve specific problems. Don't invent the problem just so
you can apply the pattern in code. I used to be guilty of that - it made my
code overly complicated. Cool for me, difficult for others to maintain.

--
Regards,
Alvin Bruney
----------------
Shameless author plug
Excel Services for .NET - MS Press
Professional VSTO 2005 - Wrox/Wiley
OWC Black Book www.lulu.com/owc
"Gran Andersson" <guffa@.guffa.comwrote in message
news:%23OneyVI3HHA.212@.TK2MSFTNGP05.phx.gbl...

Quote:

Originally Posted by

carlos wrote:

Quote:

Originally Posted by

>The first application I wrote using asp.net started off rather small,
>and as a result, the design of the application took a "Rapid
>Application Development" type of approach. By this I mean that it was
>simply built using a simple 3 tier architecture, where the interface
>was created using css and master pages, the middle layer or business
>logic classes, consisted of some simple public classes that defined
>some of the business rules, and the underlying data layer contained
>all the stored procedures and database schema.


>
That sounds rather good. If it's really a three tier application, where
the presentation layer is completely isolated from the data layer, it's
pretty good.
>
If, on the other hand, the application only pretends to be layered, it's
not very good. This is usually visible by the fact that the presentation
layer is littered with database field names.
>

Quote:

Originally Posted by

>Everything worked fine,
>since it was a rather simple application, and it was only being used
>by a few people. Well, as some of you may already know, after each
>demo, the new requirements kept getting added to the application, and
>now it is turning into a huge application that is expected to be used
>by hundreds of people. Incorporating a design pattern into the
>application would have been a good idea, but I was not familiar with
>some of the patterns when I started writing the application. I am also
>not experienced with thread safety. Considering I am limited on
>time(only a couple of weeks(2 or 3)), what are some things you experts
>can suggest I take to prevent some unforeseen problems? FYI, All the
>classes in my app_code folder are declared public. Nothing is static.


>
If you don't have any static variables, you are pretty safe when it comes
to thread safety. As long as each instance of an object only is used in
one thread, it's safe. Also, only one page at a time is executed for each
session, so any data that is session specific is also thread safe in an
ASP.NET application.
>
--
Gran Andersson
_____
http://www.guffa.com