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 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 .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #31 (permalink)  
Old November 4th, 2008, 02:01 PM
Registered User
 
Join Date: Nov 2008
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by jimibt
 
Quote:
quote:Originally posted by CFair
Quote:
 Ok, so I cleared everything. The registry settings are gone, I uninstalled the older version, and extracted the latest zip file to teh appropriate location.

Everything worked correctly, no errors, and the "site" compiles and runs correctly.

However, the title bar still shows v 1.3.0.0, and not 1.4.0.0 as expected. I looked at the version of the DLL in the zip and it appears to be 1.3.

ok - i've 'zipped' that version (FlixonV3.02.zip) back up again and you can download it. make sure to clear the browser cache etc in case it's holding the previous zip.

Let me know if this works this time (version wise).



jimi

http://www.originaltalent.com

It is now 1.4.0.0. Thanks!

  #32 (permalink)  
Old November 4th, 2008, 02:05 PM
Friend of Wrox
 
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
Default

great - please keep me updated of any issues and/or suggestions as i'm now into the final few days of bedding in with this version, prior to a proper release at some point next week.

thanks again.

jimi

http://www.originaltalent.com
  #33 (permalink)  
Old November 4th, 2008, 05:03 PM
Registered User
 
Join Date: Nov 2008
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by jimibt
 great - please keep me updated of any issues and/or suggestions as i'm now into the final few days of bedding in with this version, prior to a proper release at some point next week.

thanks again.

jimi

http://www.originaltalent.com

Well, I've run it successfully several times, just to test it out. I even added new tables to the default beer house database, and it worked like a charm.

One thing I noticed, and it could probably just go in the documentation: If you forget to make a key on a table (I had a lookup table, with two columns, ItemID and ItemDescription, and assigned it to the "Store" Provider) the tool will throw object errors when processing the "DAL_AbstractClass.cs.tpl" file each time it tries to generate one of the provider classes - even if the aforementioned table has nothing to do with the provider. This then results in the code not compiling.

Once I went back into my database and created an Identity Key on ItemID for the lookup table, then everything ran perfectly fine.

Other than that, nothing else has jumped out at me in any way :)

  #34 (permalink)  
Old November 4th, 2008, 07:39 PM
Friend of Wrox
 
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
Default

CF - good, glad that's worked out fine. I'll take a look at that issue re the non-indexed table and see what's happening. it 'should' be coded (the template) in such a way as to handle any such eventuality. anyway, as you say, it's more of a warning that requires action, rather than a showstopper but i'll see if i can effect a fix this week on that.

do continue to try and both exhaust and break it tho' (plenty of foreign keys and complex logic should do the trick insofar as putting it to task :)) as i'm aiming for 100% integrity on this final leg - thus as much difficult stuff thrown at it as possible is in order.

thanks again

jimi

http://www.originaltalent.com
  #35 (permalink)  
Old November 5th, 2008, 06:53 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
Default

CF - I've now updated the DLL and tweaked a few of the templates in order to report the missing primary key error inside the application, rather than as an obscure messagebox message. you can pick the latest version (DLL Version 1.5.0.0) from here:

http://www.originaltalent.com/downloads/FlixonV3.03.zip

thanks again for your support and encouragement.

jimi

http://www.originaltalent.com
  #36 (permalink)  
Old November 24th, 2008, 06:11 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
Default

once more (once more :))...

been over it all with a hoover now (as well as mr muscle), so it's as clean as an ermmm - pin. (cough) - anyway, in keeping with the promise to keep this simple and effective, i've spent a few weeks focussing on each section of the site builder and have arrived at a (almost) perfect implementation of this that is 100% fit for purpose. As before, just download from the link below and have a play.

http://www.originaltalent.com/downloads/FlixonV3.05.zip

I can only presume that the last version was so good that no-one wanted to comment (after an intial barrage of praise/critique on the 1st 2 versions, all went quiet on v3.03) :). I'd love to hear of any suggestion/criticisms on the above version as this project is aimed at 'us', and my view is that it should be taken over by the community following this version, so any thoughts at this stage would be most welcome.

All the best once more...

jimi

http://www.originaltalent.com
  #37 (permalink)  
Old December 12th, 2008, 05:14 PM
JSR JSR is offline
Registered User
 
Join Date: Dec 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Key Field does not show

I have just started using your tool V306 and it is very usefull. One comment I make is when using your admin app to add/update table rows. As an example i used the tool to generate your website for TBH Articles provider (Articles,Categories, Comments tables).

While editing/inserting the Articles or Comments table the Key field (CategoryID or ArticleID) do not show the actual key field (INTEGER) but rather the TITLE field.

Since we could have identical titles, it is not obvious which category or article we are pointing to.

Is this by design or am I doing something wrong ?

Thanks

Joe
  #38 (permalink)  
Old December 13th, 2008, 05:03 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
Default

Quote:
Originally Posted by JSR View Post
I have just started using your tool V306 and it is very usefull. One comment I make is when using your admin app to add/update table rows. As an example i used the tool to generate your website for TBH Articles provider (Articles,Categories, Comments tables).

While editing/inserting the Articles or Comments table the Key field (CategoryID or ArticleID) do not show the actual key field (INTEGER) but rather the TITLE field.

Since we could have identical titles, it is not obvious which category or article we are pointing to.

Is this by design or am I doing something wrong ?

Thanks

Joe
Hi Joe,

This is by design (to not 'show' the uneditable primary key), however, you could either edit the template \Flixon\Site Generator\Templates\Table\Admin_Default.aspx.tpl to 'show' this field as readonly or alternatively, edit the resulting Default.aspx and add a new

<asp:TemplateField HeaderText="CategoryID">
<ItemTemplate>
<%#Eval("CategoryID")%>
</ItemTemplate>
</asp:TemplateField>

section.

I'd suggest opening the \Flixon\Site Generator\Templates\Table\Admin_Default.aspx.tpl and having a play around with that to see if you can get it to add this functionality automatically each time you generate content. As i've said before, the actual CRUD forms were added as a little bit of sugar to test the resulting underlaying BLL/DAL but it would seem from some comments both here and on other forums that folks would like to extend and enhance the visual interface templates. this is all good stuff and i'd encourage you to have a bash at it and let me know how you get on.

cheers for now
__________________
jimi

http://www.originaltalent.com

Last edited by jminatel; December 17th, 2008 at 01:00 PM.. Reason: removed user email
  #39 (permalink)  
Old December 14th, 2008, 03:28 AM
JSR JSR is offline
Registered User
 
Join Date: Dec 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Jimmi, thanks for your quick reply. I will soon have some time to try what you suggest and will give you feeback.
Thanks again, joe
  #40 (permalink)  
Old December 22nd, 2008, 08:15 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
Default

Just a quick one to say merry xmas and seasons greetings to all!!

As a special xmas extra, i've updated the Site uilder for one last time, you can check out the changes etc here:

http://www.originaltalent.com/downloads/FlixonV3.06.zip

enjoy...
__________________
jimi

http://www.originaltalent.com
 


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
Announce: Search Module for TBH available jimibt BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 54 August 9th, 2009 04:42 PM
[Announce] Intellium For Web is released Intellium ASP.NET 1.0 and 1.1 Basics 0 April 3rd, 2008 03:23 AM
[Announce] LGPL Java, XSL and Ajax based Framework erkan_cengiz XSLT 0 March 27th, 2008 10:27 AM
Flixon Site Generator jimibt BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 February 14th, 2008 11:33 AM
IE7 Beta v2 crmpicco HTML Code Clinic 0 February 15th, 2006 05:08 AM



All times are GMT -4. The time now is 04:21 AM.


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