Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 27th, 2005, 02:45 PM
Registered User
 
Join Date: Mar 2005
Location: , , United Kingdom.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Is this book obsolete

Question: How does the architecture mentioned in the above book different with the Microsoft Enterprise Library
which can be found on http://msdn.microsoft.com/library/de...tml/entlib.asp
This is very intensive plugin procedure for producing .NET frame work projects.

Which would be a better architecture to follow for developing a web portal which would be running on a web farm
and will also have extensive use of webservices by other portals to link into it

  #2 (permalink)  
Old March 28th, 2005, 03:45 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

I don't know the the architecture from this book too well, but you can't compare the Ent Lib with an architecture.

Ent Lib is a very useful set of tools that help at various stages in your application development. It will make things like Data Access, exception handling, logging and caching much easier. However, it doesn't guide you or force you into some sort of architecture.

You can use Ent Lib in a single tier, flat file ASPX page with all the presentation, business logic and data access in one file. It would still work, enabling you to log, access the database whatever. You can also use it in complex, multi tier architectures.

So, Ent Lib doesn't make existing architectures superfluous; it just allows you to plug in specific functionality into your own system / architecture.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
  #3 (permalink)  
Old March 28th, 2005, 05:58 AM
Registered User
 
Join Date: Mar 2005
Location: , , United Kingdom.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Imar,
But I think in some way you agree with me. I did not say that what this book says is bad. I say in the light of EntLib this is obsolete.

I'm reading this booking and working with the examples as we speak, also reading the EntLib and I can see that there are a lot of similarities between the two and Entlib is a far more exhaustive approach than as suggested by this book.

Would really like an a response who would know EntLib and this book
And thats not me, maybe you.

Thanks in advance

  #4 (permalink)  
Old March 29th, 2005, 02:32 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I am not sure I if I agree with you.

Does the book propose an architecture? Does it give suggestions about slicing up the application in layers like presentation, business and data access? Does it give information about setting up the DAL?

If so, I don't think the book is obsolete. Some of the code might be, because it can be replaced with code from the Ent Lib.

If all the book does is provide a solution for caching, data access, logging and exception handling, then yes, it might be obsolete. But I don't think it does.....

Maybe someone else who fully read the book can comment on this. Englere maybe?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
  #5 (permalink)  
Old March 29th, 2005, 10:07 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The book does have a multi-tier design with a DAL and business classes. It also has a custom logging methodology.

However, the book doesn't try to say "this is the best way to do it", but rather, it just says "this is one way to do it", and the book does a pretty good job explaining the architecture.

You need to consider many different design options for a real-world site. The Enterprise Library can be used along with the code in the book - you can also migrate some of the features in over a period of time.

The Enterprise Libbrary also has a UI module, but I haven't looked at it. The UI code would be the hardest to integrate into ThePhile.

By the way, the DAL in ThePhile looks a *LOT* like the Data Access Application Block (now part of Enterprise Library) - did you notice the resemblence? This would be an easy change.

Eric
  #6 (permalink)  
Old March 29th, 2005, 02:56 PM
Registered User
 
Join Date: Mar 2005
Location: , , United Kingdom.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Imar again.
I think only after reading both of them would I be able to decide.
But as for what I have read so far they both look quite similar.

This book goes more indepth with ASP.NET is specific and uses what is inately available to ASP.NET like chahing. Class like configuration, logging etc are same topics.

But will keep posting what I find different in both

I think I will do my project based on this book as i think it explains what it wants to say but the EntLib will be something will have to understand on myself and I think by the time I'm able to understand it there will be another version of it. and my project will never come to existence.

regards
Deepak

  #7 (permalink)  
Old March 29th, 2005, 03:01 PM
Registered User
 
Join Date: Mar 2005
Location: , , United Kingdom.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Eric,
 Thanks for your reply. True very true. i'm finding a lot of similarity between the two. And I think you have suggested rightly. That the easier way to go about my project would be by following this book which explains everything. Atleast my project will get off the ground. and migration will take later .

And when I read the EntLib after that it makes the same noises.
Maybe reading this is a stepping stone to EntLib.

Regards
Deepak



Similar Threads
Thread Thread Starter Forum Replies Last Post
AppSettings("ConnectionString") obsolete stevecist ASP.NET 1.0 and 1.1 Basics 1 December 29th, 2006 01:56 AM
is Beginninig PHP4 obsolete? 132591 BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 0 October 19th, 2006 06:24 PM
Navigator.cs Obsolete in .NET 1.1 jfs1967 BOOK: ASP.NET Website Programming Problem-Design-Solution 2 October 14th, 2005 05:54 PM
Public properties becoming obsolete BenCh BOOK: ASP.NET Website Programming Problem-Design-Solution 1 July 17th, 2005 08:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.