|
 |
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0  | This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 .
|
 |
|
|

March 21st, 2008, 02:56 PM
|
Wrox Author
Points: 13,255, Level: 49 |
|
|
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
Hi Jimi,
Two things:
First: Jim is working on the code download and it should be available relatively soon.
Second: While this is something I would definately consider writing, I can't say that it would or will be published since I don't control that, Jim does, but I could say something to him about it! =]
-Doug
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
|

March 21st, 2008, 03:11 PM
|
Friend of Wrox
|
|
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
|
|
doug - that all sounds very encouraging (and jim, if you're listening, it's a great idea!! :-)) and would definately make it a great resource. I've had a skim thro' the current version and like what i see (also i find it quite easy to follow which is a bonus). as i said, i'll have a proper read and get back with comments/suggestions (if there are any) in due course.
all the best..
jimi
http://www.originaltalent.com
|

March 21st, 2008, 04:26 PM
|
 |
Wrox Staff
Points: 17,869, Level: 58 |
|
|
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,934
Thanks: 62
Thanked 130 Times in 97 Posts
|
|
I've updated the original post here with a temporary link to the code. Sorry about this. I must have jumped the gun and told everyone about this before the code was posted.
As for another Blox, Doug is working on one on another topic right now, and by the time he's done with that, we should have a better idea of the demand and if more users here need it. One of th many great things about Wrox Blox is, we can get them done quickly and treat them almost like a version of on demand publishing: show us the demand, we'll find a way to publish!
Jim Minatel
Acquisitions Director
Wiley Technology Publishing
WROX Press
Blog: http://wroxblog.typepad.com/
Wrox online library: http://wrox.books24x7.com
|

March 21st, 2008, 06:33 PM
|
Wrox Author
Points: 13,255, Level: 49 |
|
|
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
So when will I have a Wrox Publishing On Demand option through my cable provider? ;]
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
|

March 22nd, 2008, 01:55 PM
|
Friend of Wrox
|
|
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
|
|
doug - i've both downloaded the code and looked thro the doc. i know that this example is just for articles but am i to assume that ALL code for all the linq stuff would go in the single TBH.dbml file?? from an organisational perspective (as well as the idea of doing discreet 'plug-ins'), this doesn't seem like a great idea. I'd imagined that there would be a folder under the DAL for each provider (i.e. Articles, Forums etc) that contained their own TBH.dbml file. maybe this is possible when extending the idea but for me, that was one of the things that struck me as being kinda 'un-organised' in the whole linq - sql example. please don't take this as a criticism of anything you've done as it could well be that the focus on just Articles is what is driving this decision, as well as the general way that linq operates (at the moment).
hope this makes sense and my point is valid without raising more questions than it answers :-).
jimi
http://www.originaltalent.com
|

March 22nd, 2008, 08:04 PM
|
Wrox Author
Points: 13,255, Level: 49 |
|
|
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
Since the DBML file is simply an abstraction of the database itself you could theoretically have multiple DBML files for each section. Since any LINQ command you issue is ultimately converted into SQL and then executed against the datastore itself, this shouldn't be a problem.
The only thing you might have an issue with is in the case where, hypothetically, a poll post would have a relation to something in the Artiles table and you wanted to navigate that Relationship via LINQ.
However, since the DBML files are partial classes by nature, if all of your classes shared the same class name, this shouldn't be to much of a problem but I would like to stress that this theory only and I have not actually tried it so am unsure of an exact answer.
Does that make sense?
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
|

March 23rd, 2008, 02:29 AM
|
Friend of Wrox
|
|
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
|
|
Quote:
quote:Originally posted by dparsons
So when will I have a Wrox Publishing On Demand option through my cable provider? ;]
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
|
doug, yes that does make sense and i had considered the partial class approach to the issue, so perhaps this would be the way around this.
well, heading off now so catch up at some point over the next 3 weeks connectivity permitting...
keep 'em coming
jimi
http://www.originaltalent.com
|

March 24th, 2008, 02:33 PM
|
Wrox Author
Points: 13,255, Level: 49 |
|
|
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
Thanks Jim.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
|

March 25th, 2008, 10:47 AM
|
Friend of Wrox
|
|
Join Date: Aug 2006
Location: , , .
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
wow, this looks nice.
I definitly will dive into this
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |