Re: Search bug. Help

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43511
interpreted = N
texte = If an error is caused and occurs it must be able to be caught. I'm not arguing the fact that coders shouldn't write bad code... I'm arguing the fact that bad code shouldn't bring down a service.You put a coma in the wrong place and your webserver stops working... because of a typo. This is not one of the trates of a solid application.I'm guesing your one of these guys who likes to use his chainsaw with the saftey bar removed to save yourself 3 minutes an hour. Unfortunately when you finally do make a mistake it will be nice and messy. :-(Everybody on the list wants to see webcat succeed as a web development langugage so that the hard work and time we have invested in learning, using and promoting it is not a waste and we can make lots of pingers off of it for being experts in the latest hot platform. Its just not going to get to this point with problems and missing functionality like this.Its fundamental.We don't even have the ability to test for and catch exceptions ourselves in code with such things as try, except, fail blocks or onerror, try, resume next....&Sort=1&type=num&... [showif [webserver_crashed]=T] [!]*** now what? ***[/!] [/showif]There's nothing wrong with a little programmer hand holding now and then and we could all use the help - except you Mr Peacock. I can't find a single instance in the archives where you have actually asked a single question ;-)... smarty pants.----- Original Message ----- From: John Peacock To: WebCatalog Talk Sent: Wednesday, September 18, 2002 11:13 PM Subject: Re: Search bug. Help > Andrew Simpson wrote: > > Error - line 14: you have specified an invallid data type, data type does > > not match record in database or casting not required for this search type. > > Click Here for help on data types. > > WebCat is not a strongly-typed language, so your programmer hand-holding is not > possible. A given column of a table can contain text or numbers or dates and > can be searched/sorted as text or numbers or dates at the whim of the > programmer. In fact, unless you tell WebCat otherwise by using FIELDtype=???, > every single field in every database is text and is sorted by ASCII text rules. > > However, this means that the programmer must know what they are doing. If you > assert that a column contains numbers (FIELDtype=num) WebCat will change the way > it deals with that field for the duration of that template. Hence if the field > contains something that is not a number, you are going to have problems. > > This is a classic DON'T DO THAT! sort of behavior. If you want to have a > strongly typed API, use ASP or C or VB. > > John > > -- > John Peacock > Director of Information Research and Technology > Rowman & Littlefield Publishing Group > 4720 Boston Way > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5747 > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Search bug. Help (John Peacock 2002)
  2. Re: Search bug. Help (Kenneth Grome 2002)
  3. Re: Search bug. Help (Kenneth Grome 2002)
  4. Re: Search bug. Help (Clint Davis 2002)
  5. Re: Search bug. Help (Brian Fries 2002)
  6. Re: Search bug. Help (Andrew Simpson 2002)
  7. Re: Search bug. Help (John Peacock 2002)
  8. Re: Search bug. Help (Kenneth Grome 2002)
  9. Re: Search bug. Help (marc malacarme 2002)
  10. Re: Search bug. Help (Kenneth Grome 2002)
  11. Re: Search bug. Help (Kenneth Grome 2002)
  12. Re: Search bug. Help (marc malacarme 2002)
  13. Re: Search bug. Help (marc malacarme 2002)
  14. Re: Search bug. Help (Kenneth Grome 2002)
  15. Re: Search bug. Help (Andrew Simpson 2002)
  16. Re: Search bug. Help (Kenneth Grome 2002)
  17. Re: Search bug. Help (Brian Fries 2002)
  18. Re: Search bug. Help (Rob Marquardt 2002)
  19. Re: Search bug. Help (Gary Krockover 2002)
  20. Re: Search bug. Help (Rob Marquardt 2002)
  21. Re: Search bug. Help (marc malacarme 2002)
  22. Re: Search bug. Help (marc malacarme 2002)
  23. Re: Search bug. Help (Brian Fries 2002)
  24. Re: Search bug. Help (Brian Boegershausen 2002)
  25. Re: Search bug. Help (Andrew Simpson 2002)
  26. Re: Search bug. Help (marc malacarme 2002)
  27. Re: Search bug. Help (marc malacarme 2002)
  28. Re: Search bug. Help (Glenn Busbin 2002)
  29. Re: Search bug. Help (Brian Boegershausen 2002)
  30. Search bug. Help (marc malacarme 2002)
If an error is caused and occurs it must be able to be caught. I'm not arguing the fact that coders shouldn't write bad code... I'm arguing the fact that bad code shouldn't bring down a service.You put a coma in the wrong place and your webserver stops working... because of a typo. This is not one of the trates of a solid application.I'm guesing your one of these guys who likes to use his chainsaw with the saftey bar removed to save yourself 3 minutes an hour. Unfortunately when you finally do make a mistake it will be nice and messy. :-(Everybody on the list wants to see webcat succeed as a web development langugage so that the hard work and time we have invested in learning, using and promoting it is not a waste and we can make lots of pingers off of it for being experts in the latest hot platform. Its just not going to get to this point with problems and missing functionality like this.Its fundamental.We don't even have the ability to test for and catch exceptions ourselves in code with such things as try, except, fail blocks or onerror, try, resume next....&Sort=1&type=num&... [showif [webserver_crashed]=T] [!]*** now what? ***[/!] [/showif]There's nothing wrong with a little programmer hand holding now and then and we could all use the help - except you Mr Peacock. I can't find a single instance in the archives where you have actually asked a single question ;-)... smarty pants.----- Original Message ----- From: John Peacock To: WebCatalog Talk Sent: Wednesday, September 18, 2002 11:13 PM Subject: Re: Search bug. Help > Andrew Simpson wrote: > > Error - line 14: you have specified an invallid data type, data type does > > not match record in database or casting not required for this search type. > > Click Here for help on data types. > > WebCat is not a strongly-typed language, so your programmer hand-holding is not > possible. A given column of a table can contain text or numbers or dates and > can be searched/sorted as text or numbers or dates at the whim of the > programmer. In fact, unless you tell WebCat otherwise by using FIELDtype=???, > every single field in every database is text and is sorted by ASCII text rules. > > However, this means that the programmer must know what they are doing. If you > assert that a column contains numbers (FIELDtype=num) WebCat will change the way > it deals with that field for the duration of that template. Hence if the field > contains something that is not a number, you are going to have problems. > > This is a classic DON'T DO THAT! sort of behavior. If you want to have a > strongly typed API, use ASP or C or VB. > > John > > -- > John Peacock > Director of Information Research and Technology > Rowman & Littlefield Publishing Group > 4720 Boston Way > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5747 > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Andrew Simpson

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[WebDNA] New Licenses (2009) timing out? (1997) Summing a field full of numbers ... (1997) Enhancement Request for WebCatalog-NT (1996) Adding a product from another site (1997) WebCat2: Items xx to xx shown, etc. (1997) reading a email (2000) Confusing [protect] (long) (1999) [Sum] function? (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Re2: Calculating multiple shipping... (1997) spaces in [texta] (1998) quotation marks (2004) Hiding HTML and breaking the page (1997) 'page impression' techniques for banner ads (1999) Bug when including a db file ... ? (2000) ssl/empty cart problem (2003) Cart/Cookie question (2005) Not really WebCat (1997) WebCat2: Items xx to xx shown, etc. (1997)