473,406 Members | 2,707 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.

Building a web application with OO

I am doing some research into building web applications using Object
Oriented techniques. I have found the excellent patterns section on the
MSDN site, but other than that I cannot find any good, concrete examples. I
know Microsoft are really pushing OO with the .NET Framework and C#, but for
web stuff I am finding good examples sparse. Can anyone offer some links to
articles, whitepapers, sites etc that maybe give a good overview of the
techniques involved with building an OO based web application? I have looked
on ASP.NET but found nothing other than data-centric web applications, which
isnt what I want.

Thanks

Nick.
Nov 18 '05 #1
17 2020
The .NET framework itself is very OO. You can use it in object oriented
ways, including inheriting from many of the classes & such:
http://msdn.microsoft.com/library/de...bjectmodel.asp

Ditto for the whole object model of ASP.NET:
http://msdn.microsoft.com/library/de...mberstopic.asp

And every page is a class that is used in very object oriented ways:
http://msdn.microsoft.com/library/de...bjectmodel.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com


"Nick" <fr**@here.there> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I am doing some research into building web applications using Object
Oriented techniques. I have found the excellent patterns section on the
MSDN site, but other than that I cannot find any good, concrete examples. I know Microsoft are really pushing OO with the .NET Framework and C#, but for web stuff I am finding good examples sparse. Can anyone offer some links to articles, whitepapers, sites etc that maybe give a good overview of the
techniques involved with building an OO based web application? I have looked on ASP.NET but found nothing other than data-centric web applications, which isnt what I want.

Thanks

Nick.

Nov 18 '05 #2
Max
I use VB.NET which is truely OO now and performs just as well as C#.

Best examples are here:

Very basic
http://www.asp101.com

More advanced
http://aspnet.4guysfromrolla.com/

-Max
"Nick" <fr**@here.there> wrote
I am doing some research into building web applications using Object
Oriented techniques. I have found the excellent patterns section on the
MSDN site, but other than that I cannot find any good, concrete examples.

I

Nov 18 '05 #3
I think you should go back and learn about the .NET Framework. Look at the
..NET Framework Base Class Libraries. .NET is all about OO, so it's not a
matter of finding where OO is used, it's a matter of understanding the whole
architecture. For example, the web page itself is a programmable,
inheritable object.
"Nick" <fr**@here.there> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I am doing some research into building web applications using Object
Oriented techniques. I have found the excellent patterns section on the
MSDN site, but other than that I cannot find any good, concrete examples. I know Microsoft are really pushing OO with the .NET Framework and C#, but for web stuff I am finding good examples sparse. Can anyone offer some links to articles, whitepapers, sites etc that maybe give a good overview of the
techniques involved with building an OO based web application? I have looked on ASP.NET but found nothing other than data-centric web applications, which isnt what I want.

Thanks

Nick.

Nov 18 '05 #4
Be sure to checkout www.TechnicalVideos.net
Nov 18 '05 #5
Please do not supply resources that require a payment as a solution.
"Mike" <Mi*****@Hotmail.com> wrote in message
news:e9**************************@posting.google.c om...
Be sure to checkout www.TechnicalVideos.net

Nov 18 '05 #6
Steve C. Orr [MVP, MCSD] wrote:
Ditto for the whole object model of ASP.NET:
http://msdn.microsoft.com/library/de...mberstopic.asp


Hi Steve, excuse me for butting in, but I don't suppose you know where
I might find a high level UML class diagram of the entire framework?

It would make a handy reference document for us newbs.
Nov 18 '05 #7
Nick wrote:
I have found the excellent patterns section on the MSDN site


Hi, I haven't seen the patterns section on MSDN, would you mind giving
me the URL?
Nov 18 '05 #8
OK maybe my question was poorly written. While the whole framework is
purely based on OO, writing web applications isnt quite as rigorous. As a
comparable example, consider the Struts framework for J2EE based web
systems. ASP.NET provides a fairly reasonable attempt at Page Controller
with its code-behind pages, but I have found in my experience this isnt
enough to promote good extensibility and good separation of concerns.

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:ej****************@TK2MSFTNGP09.phx.gbl...
The .NET framework itself is very OO. You can use it in object oriented
ways, including inheriting from many of the classes & such:
http://msdn.microsoft.com/library/de...bjectmodel.asp
Ditto for the whole object model of ASP.NET:
http://msdn.microsoft.com/library/de...mberstopic.asp
And every page is a class that is used in very object oriented ways:
http://msdn.microsoft.com/library/de...bjectmodel.asp
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com


"Nick" <fr**@here.there> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I am doing some research into building web applications using Object
Oriented techniques. I have found the excellent patterns section on the
MSDN site, but other than that I cannot find any good, concrete
examples. I
know Microsoft are really pushing OO with the .NET Framework and C#, but for
web stuff I am finding good examples sparse. Can anyone offer some

links to
articles, whitepapers, sites etc that maybe give a good overview of the
techniques involved with building an OO based web application? I have

looked
on ASP.NET but found nothing other than data-centric web applications,

which
isnt what I want.

Thanks

Nick.


Nov 18 '05 #9
Here you go: http://msdn.microsoft.com/practices/...ns/Enterprise/
"Adie" <ar*******@h-o-t-m-a-i-l.com> wrote in message
news:4d******************************@news.teranew s.com...
Nick wrote:
I have found the excellent patterns section on the MSDN site


Hi, I haven't seen the patterns section on MSDN, would you mind giving
me the URL?

Nov 18 '05 #10
Hi Scott thanks for getting back to me. As you are aware the whole
framework is based on OO. However, (and just ignore the fact OO is the
basis the framework) the stuff on the web and from the MSDN site offer
suggestions for systems building that are quite clearly not OO in the true
sense. Some of the stuff on ASP.NET shows how to build web applications in
ASP.NET/C#/VB.NET. By definition these must be OO solutions right? Wrong.
Just because the term object is used, to me doesnt conclude that OO is being
used, and certainly doesnt conclude OO is being used well or effectively.
Indeed the solution advice I found on ASP.NET clearly admitted that the
design was data-centric. I am looking for stuff thats on a par to Struts for
J2EE.

When I say OO based web application, I mean one that is :

1. Broken down into relevant classes
2. Has a good separation of concerns
3. Supports the removal of duplication through abstraction
4. Is extendible

Now you could come back and say you get all of this with the winforms and
code-behind. But I have spent 12 months working with a team on this type of
system, and the OO parts in the web tier have become more monolithic as the
system has become more complex. Right now, I am considering other options
than the vanilla support with web forms, because I am working on a new
system that is extremely complex and has a lot of OO at its core. Likewise
I would like to achieve the same throughout the layers. I may well be that
the way we built the system I have been working on for a while is completely
wrong, but it has been done so with Microsoft people and certified people
along with good OO developers. But all of us are unhappy wit the results,
and feel it was more the way we worked with the winforms that caused us the
problems.

"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:eY**************@TK2MSFTNGP09.phx.gbl...
I think you should go back and learn about the .NET Framework. Look at the .NET Framework Base Class Libraries. .NET is all about OO, so it's not a
matter of finding where OO is used, it's a matter of understanding the whole architecture. For example, the web page itself is a programmable,
inheritable object.
"Nick" <fr**@here.there> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I am doing some research into building web applications using Object
Oriented techniques. I have found the excellent patterns section on the
MSDN site, but other than that I cannot find any good, concrete
examples. I
know Microsoft are really pushing OO with the .NET Framework and C#, but for
web stuff I am finding good examples sparse. Can anyone offer some

links to
articles, whitepapers, sites etc that maybe give a good overview of the
techniques involved with building an OO based web application? I have

looked
on ASP.NET but found nothing other than data-centric web applications,

which
isnt what I want.

Thanks

Nick.


Nov 18 '05 #11
On 2004-01-04, Nick <fr**@here.there> wrote:
OK maybe my question was poorly written.
It really wasn't.
While the whole framework is purely based on OO, writing web
applications isnt quite as rigorous. As a comparable example,
consider the Struts framework for J2EE based web systems. ASP.NET
provides a fairly reasonable attempt at Page Controller with its
code-behind pages, but I have found in my experience this isnt enough
to promote good extensibility and good separation of concerns.


I've not seen anything along the lines of Struts for .NET, although
there may be (probably are) some high-end products I don't know about.
A good start at looking at various OO techniques for ASP.NET is grabbing
the larger samples from MS, like Duwamish, Fitch and Mather, the Pet
Shop sample, etc., although as you've mentioned some of those aren't
particularly OO.

Rockford Lhotka's CSLA .Net (www.lhotka.net) is probably the closest
thing to an OO framework I've seen, but I haven't really looked closely
at it yet and so I can't really comment. But given his track record,
I'd say it's definitely worth looking at if you're interested in better
OO architectures in the .NET environment.
--
David
dfoster at
hotpop dot com
Nov 18 '05 #12
Hi David,

Thanks for the reply. I have just been reading some stuff from the link you
have provided. It seems the CSLA is interesting. One thing I have noticed,
even with the big push towards a more OO based environment, is that the
envelope still hasnt been pushed. I am looking at the latest Petshop
example from Microsoft, and even that still needs to push the envelope, at
version 3. Separation of concerns, and simple, crisp abstractions are what
OO is all about. Its ok to make pragmatic decisions about whether you
decide to use something like Transaction Script or Active Record, where the
logic for DB access is coupled tightly with the business logic. But if the
domain model of an OO based system, be it a web app or not, is rich and
complex, these simple examples just dont cut it. The PetShop example is one
taken purely out of context I think, from Microsofts perspective. Their
original version was horrendous from a software development good practice
perspective. Version 3 looks a lot better, but the objects still arent
crisp and there is still redundancy in the web tier.

Thanks David,

Nick.

"David" <df*****@127.0.0.1> wrote in message
news:sl********************@woofix.local.dom...
On 2004-01-04, Nick <fr**@here.there> wrote:
OK maybe my question was poorly written.


It really wasn't.
While the whole framework is purely based on OO, writing web
applications isnt quite as rigorous. As a comparable example,
consider the Struts framework for J2EE based web systems. ASP.NET
provides a fairly reasonable attempt at Page Controller with its
code-behind pages, but I have found in my experience this isnt enough
to promote good extensibility and good separation of concerns.


I've not seen anything along the lines of Struts for .NET, although
there may be (probably are) some high-end products I don't know about.
A good start at looking at various OO techniques for ASP.NET is grabbing
the larger samples from MS, like Duwamish, Fitch and Mather, the Pet
Shop sample, etc., although as you've mentioned some of those aren't
particularly OO.

Rockford Lhotka's CSLA .Net (www.lhotka.net) is probably the closest
thing to an OO framework I've seen, but I haven't really looked closely
at it yet and so I can't really comment. But given his track record,
I'd say it's definitely worth looking at if you're interested in better
OO architectures in the .NET environment.
--
David
dfoster at
hotpop dot com

Nov 18 '05 #13
No, I don't know where you would find such a beast.
The object browser in VS.NET is about the closest thing I know of, and of
course the documentation is fairly thorough.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Adie" <ar*******@h-o-t-m-a-i-l.com> wrote in message
news:26******************************@news.teranew s.com...
Steve C. Orr [MVP, MCSD] wrote:
Ditto for the whole object model of ASP.NET:
http://msdn.microsoft.com/library/de...-us/cpref/html

/frlrfsystemwebhttpcontextmemberstopic.asp
Hi Steve, excuse me for butting in, but I don't suppose you know where
I might find a high level UML class diagram of the entire framework?

It would make a handy reference document for us newbs.

Nov 18 '05 #14
Yes, I've read that book and I agree it's a good source for this kind of
information.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"David" <df*****@127.0.0.1> wrote in message
news:sl********************@woofix.local.dom...
On 2004-01-04, Nick <fr**@here.there> wrote:
OK maybe my question was poorly written.


It really wasn't.
While the whole framework is purely based on OO, writing web
applications isnt quite as rigorous. As a comparable example,
consider the Struts framework for J2EE based web systems. ASP.NET
provides a fairly reasonable attempt at Page Controller with its
code-behind pages, but I have found in my experience this isnt enough
to promote good extensibility and good separation of concerns.


I've not seen anything along the lines of Struts for .NET, although
there may be (probably are) some high-end products I don't know about.
A good start at looking at various OO techniques for ASP.NET is grabbing
the larger samples from MS, like Duwamish, Fitch and Mather, the Pet
Shop sample, etc., although as you've mentioned some of those aren't
particularly OO.

Rockford Lhotka's CSLA .Net (www.lhotka.net) is probably the closest
thing to an OO framework I've seen, but I haven't really looked closely
at it yet and so I can't really comment. But given his track record,
I'd say it's definitely worth looking at if you're interested in better
OO architectures in the .NET environment.
--
David
dfoster at
hotpop dot com

Nov 18 '05 #15
On 2004-01-04, Nick <fr**@here.there> wrote:
Hi David,

Thanks for the reply. I have just been reading some stuff from the
link you have provided. It seems the CSLA is interesting.
Ironically, since you mentioned struts, VS.NET wound up at the msdn site
again today (totally off-topic, but does anyone know how to get to the
Start window in VS after it's closed?) and they just posted an article
that compares ASP.Net and Struts development. It's more of a rah-rah,
go team article than a serious analysis, but there's some interesting
stuff.
One thing
I have noticed, even with the big push towards a more OO based
environment, is that the envelope still hasnt been pushed. I am
looking at the latest Petshop example from Microsoft, and even that
still needs to push the envelope, at version 3.
Yeah, I'm not disagreeing, I was just pointing to the samples as a
source of ideas. I'm not exactly sure why, but there's always been a
real lack of good mid-to-high level literature/samples in the MS
development world. I suspect it's partially because there's so many
beginners, they sort of drown the rest of the market (not unlike the
newsgroups at times), and partially because there simply isn't the
vendor competition to encourage robust debate.

Of course, .Net is still pretty new, and already I think the literature
out there is much, much better than MS development tools have enjoyed in
the past.

Anyway, my main point was that the situation that you're in, one major
project that you aren't entirely happy with, is pretty much the
situation everyone's in (especially since 2001/2002 was so bad
economically, which led to late adoption of .NET in major markets). I'd
expect to see more mature frameworks and patterns next year some time,
after lots of folks have been through a couple of enterprise-level
projects and can seriously evaluate and debate the various
architectures.
Separation of
concerns, and simple, crisp abstractions are what OO is all about.
Its ok to make pragmatic decisions about whether you decide to use
something like Transaction Script or Active Record, where the logic
for DB access is coupled tightly with the business logic. But if the
domain model of an OO based system, be it a web app or not, is rich
and complex, these simple examples just dont cut it. The PetShop
example is one taken purely out of context I think, from Microsofts
perspective. Their original version was horrendous from a software
development good practice perspective. Version 3 looks a lot better,
but the objects still arent crisp and there is still redundancy in the
web tier.


To be honest, I haven't looked at it since all the fuss over version 1.
--
David
dfoster at
hotpop dot com
Nov 18 '05 #16
On 2004-01-05, Steve C. Orr [MVP, MCSD] <St***@Orr.net> wrote:
Yes, I've read that book and I agree it's a good source for this kind
of information.


Re: Rockford Lhotka's Business Object book

It's on my soon-to-read list. Have you read his older Business Objects
books? Is there a lot of new stuff in this one, or is mostly a rehash
(in the same his VB6 book was pretty much just an update of the VB5
book).

--
David
dfoster at
hotpop dot com
Nov 18 '05 #17
It's pretty different because OO capabilities have been brought to a whole
new level with VB.NET.
There really wasn't much difference between VB5 and VB6.
His older techniques have been thoroughly improved to take advantage of
these new OO capabilities.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com


"David" <df*****@127.0.0.1> wrote in message
news:sl********************@woofix.local.dom...
On 2004-01-05, Steve C. Orr [MVP, MCSD] <St***@Orr.net> wrote:
Yes, I've read that book and I agree it's a good source for this kind
of information.


Re: Rockford Lhotka's Business Object book

It's on my soon-to-read list. Have you read his older Business Objects
books? Is there a lot of new stuff in this one, or is mostly a rehash
(in the same his VB6 book was pretty much just an update of the VB5
book).

--
David
dfoster at
hotpop dot com

Nov 18 '05 #18

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

Similar topics

1
by: Darius Blaszijk | last post by:
Hello, I have a rather unusual question. I would like to build a demo application that is completely local. So no client-server at all (at least not in the sense it is usually used). The purpose...
4
by: Capri | last post by:
HI ... Can anyone tell me what do we mean by building an application ? How is it diffrent from compling and executing an application ? If you can help me remove my doubt then kindly mail me at...
0
by: andrei | last post by:
Hi Group, Environment: Windows 2000 Professional, VS.NET 2003 The solution has 30 projects (one main asp.net application and the rest are dlls) We have this annoying behaviour with our...
1
by: Diffident | last post by:
Hello All, I have a question as to why my users are noticing error when I am building the project on the production system. Here is the problem's background. In order to build the project on...
2
by: Gawel | last post by:
Hajo, I have soulutin with 7 library projects and 2 web projects. When I change something in one of the libraries and hit F5 it takes literally 1-2 minutes to start an application. I've...
0
by: s | last post by:
I need to develop a multiuser database application to be used by four people(The number of users are not likely to increase). It is for storing records of different versions of particular papers. I...
20
by: Thorsten Kampe | last post by:
Hi, I've already sent this to the Komodo mailing list (which seemed to me the more appropriate place) but unfortunately I got no response. I'd like to build a Python GUI app. Neither Tkinter...
0
by: ...:::JA:::... | last post by:
Hello, I have problem with building directpython ( .exe ) application , actually when I finish building application and when I run it, in log file I get an error: Traceback (most recent call...
1
by: prajaktabk | last post by:
Hi, I am building a application on Visual studio 2005. I have included file #include<fstream> with using namespace std. & I am getting errors like : error C2039: 'openprot' : is not a member...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.