Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 4th, 2005, 12:05 PM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using ThePhile for company intranet?

Hi all,

Can I reuse ThePhile code to build an intranet for my company? If yes, how should I acknowledge the authors' work?

Thanks.

  #2 (permalink)  
Old January 5th, 2005, 03:39 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sure you can. I don't think you need to acknowledge the authors because you'll probably make a lot of changes to customize the code. You can have some kind of link called "this website" where you explain that the code is based on this book if you want to.
  #3 (permalink)  
Old January 16th, 2005, 06:02 PM
Authorized User
 
Join Date: Nov 2003
Location: LA, CA, USA.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Following the technique used by the authors in this book to develop professional website will be a catastrophic mistake.

Few Reasons:
  -this approach is hardcoded approch and solution will not scale. You have stored procedure to insert\update\delete\search for each module\category. In case you need to add some new field to your schema, you end up modifying the stored proc, data layer, business layer, recompile, retest and many other pains. Same applies when you want to delete some fields.

  -It might work for personal website with ~1000 records having a childish schema as well as when you know beforehand that your scheme will never change. Otherwise you have to make changes in everywhere.

For professional site, you need to develop complex schema driven by metadata and program each functionality once. Why writing 5 different stored procedures for 5 modules while you doing same operation-insert?
Ideally you need to write a generic logic that will work for entire schema driven by what is on the form rather than table name.

I am surprized to see that few people just love writing books with limited skills and knowledge and misguide developers to a wrong direction.

Thanks
Mohammad Musa

  #4 (permalink)  
Old January 16th, 2005, 09:22 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

We agree that the schema needs work!

But the idea of hard-coded procs vs general procs is a matter of choice. It's common to see specialized procs to get the most performance, even though it makes new development and maintenance harder.

But then, performance wasn't a serious goal of the designers of this particular application. I think it's clear that these authors weren't SQL experts when they wrote the book.

What do you think of the ASP.NET design? The real goal of this book was the code. The database was just something they needed, and wasn't a big part of their goals (at least I hope it wasn't one of their big goals).

Eric
  #5 (permalink)  
Old January 19th, 2005, 01:24 PM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by musa


For professional site, you need to develop complex schema driven by metadata and program each functionality once...you need to write a generic logic that will work for entire schema driven by what is on the form rather than table name.
Generic data access logic has security issues. You give the presentation layer control and duties better suited to the data access layer.

But least I appear to have "limited skills and knowledge" (as you claim of the authors) please post links that support Generic data access.

Thanks,
Dave
  #6 (permalink)  
Old January 22nd, 2005, 11:51 AM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to orangel
Default

 love when people critized everything other people do.... but never give any solution... as a General manager of a department of development in Venezuela, I always am, very clear if some one is going to pin-point a problem [u]they better have a solution with it</u> ....

Thanks ! ;)

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking Web design and hosting company ayeshas Oracle 0 October 21st, 2007 06:55 AM
Send EMAIL within INTRANET .... hunzian78@yahoo.com ASP.NET 1.0 and 1.1 Professional 0 May 26th, 2006 05:05 AM
keep getting an error with ThePhile ar3ol BOOK: ASP.NET Website Programming Problem-Design-Solution 15 February 4th, 2004 01:19 PM
onclick button, we want to save our company profil pawan Javascript 3 September 26th, 2003 07:04 AM
Schedule backups from hosting company kiwidude SQL Server 2000 2 June 9th, 2003 12:14 PM



All times are GMT -4. The time now is 07:08 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.