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 notarguing the fact that coders shouldn't write bad code... I'm arguing thefact 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 thesaftey bar removed to save yourself 3 minutes an hour. Unfortunately whenyou finally do make a mistake it will be nice and messy. :-(Everybody on the list wants to see webcat succeed as a web developmentlangugage so that the hard work and time we have invested in learning, usingand promoting it is not a waste and we can make lots of pingers off of itfor being experts in the latest hot platform. Its just not going to get tothis point with problems and missing functionality like this.Its fundamental.We don't even have the ability to test for and catch exceptions ourselves incode with such things as try, except, fail blocks or onerror, try, resumenext....&Sort=1&type=num&...[showif [webserver_crashed]=T] [!]*** now what? ***[/!][/showif]There's nothing wrong with a little programmer hand holding now and then andwe could all use the help - except you Mr Peacock. I can't find a singleinstance 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 PMSubject: Re: Search bug. Help> Andrew Simpson wrote:> > Error - line 14: you have specified an invallid data type, data typedoes> > not match record in database or casting not required for this searchtype.> > Click Here for help on data types.>> WebCat is not a strongly-typed language, so your programmer hand-holdingis not> possible. A given column of a table can contain text or numbers or datesand> can be searched/sorted as text or numbers or dates at the whim of the> programmer. In fact, unless you tell WebCat otherwise by usingFIELDtype=???,> every single field in every database is text and is sorted by ASCII textrules.>> However, this means that the programmer must know what they are doing. Ifyou> assert that a column contains numbers (FIELDtype=num) WebCat will changethe way> it deals with that field for the duration of that template. Hence if thefield> 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 havea> 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:
If an error is caused and occurs it must be able to be caught. I'm notarguing the fact that coders shouldn't write bad code... I'm arguing thefact 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 thesaftey bar removed to save yourself 3 minutes an hour. Unfortunately whenyou finally do make a mistake it will be nice and messy. :-(Everybody on the list wants to see webcat succeed as a web developmentlangugage so that the hard work and time we have invested in learning, usingand promoting it is not a waste and we can make lots of pingers off of itfor being experts in the latest hot platform. Its just not going to get tothis point with problems and missing functionality like this.Its fundamental.We don't even have the ability to test for and catch exceptions ourselves incode with such things as try, except, fail blocks or onerror, try, resumenext....&Sort=1&type=num&...[showif [webserver_crashed]=T] [!]*** now what? ***[/!][/showif]There's nothing wrong with a little programmer hand holding now and then andwe could all use the help - except you Mr Peacock. I can't find a singleinstance 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 PMSubject: Re: Search bug. Help> Andrew Simpson wrote:> > Error - line 14: you have specified an invallid data type, data typedoes> > not match record in database or casting not required for this searchtype.> > Click Here for help on data types.>> WebCat is not a strongly-typed language, so your programmer hand-holdingis not> possible. A given column of a table can contain text or numbers or datesand> can be searched/sorted as text or numbers or dates at the whim of the> programmer. In fact, unless you tell WebCat otherwise by usingFIELDtype=???,> every single field in every database is text and is sorted by ASCII textrules.>> However, this means that the programmer must know what they are doing. Ifyou> assert that a column contains numbers (FIELDtype=num) WebCat will changethe way> it deals with that field for the duration of that template. Hence if thefield> 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 havea> 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:
Nested tags count question (1997)
japanese characters (1997)
Converting Esiting Html Table Forms to WebCat (1997)
Limitations on fields? Server is crashing (1997)
RE: what characters are replaced for tab and CR? (1998)
Lost and Recovered. (1998)
Server Freeze (1998)
Webcat2, WebCommerce, Mod 10 etc. (1997)
ShowNext (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
[replace] has protection feature like [delete]? (2000)
Banner DNA (1997)
Nesting searches. (1998)
Emailing html (1998)
available times? (2003)
Getting total number of items ordered (1997)
Old Topic - [OT] - server speeds. (2002)
Looking for a Manual (1997)
Just Testing (1997)
date format (another question) (2000)