CFXML - save with cffile - dont' work
Hi every One, I have some problem to save an CFMX XML doc on hard Disk I download xmlxslt tutorial on Macromedia. Everything is ok, but when I try to save on hard disk with CFFILE, the file is correctly create but totally Empty... nothing Code I used and result I obtained is bellow. If I execute file in browser I have just : XML has been written to disk. Is there an logical explanation ? I turn on window 2000 SP3 - IIS - CFMX Sp1 I recently installed free webTrend extension from webtrend site, but even I uninstall them it doesn't work Please help me understand Eric !--- This XML will be parsed and returned --- !--- as a XML Document Object named MyXML --- CFXML VARIABLE=MyXml company name=Macromedia location name=Newton employees personDemi Moore/person personBruce Willis/person /employees /location location name=San Francisco employees personTom Cruise/person personBen Forta/person personNicole Kidman/person /employees /location /company /CFXML !--- Write the XML to a file called Output.xml --- !--- (in same folder as this ColdFusion template) --- CFFILE ACTION=WRITE FILE=#ExpandPath('Output.xml')# OUTPUT=#ToString(MyXml)# pXML has been written to disk./p // result in Dreamweaver Mx if I use server debug button pXML has been written to disk./p - !-- cf_debug_start ?xml version=1.0 encoding=UTF-8 ? debug_root general timestamp![CDATA[10:13:43.043]]/timestamp product![CDATA[ColdFusion Server Entreprise]]/product product_version![CDATA[6,0,0,52311]]/product_version locale![CDATA[French (Standard)]]/locale user_agent![CDATA[Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Dreamweaver MX 6.0.1731)]]/user_agent remote_ip![CDATA[127.0.0.1]]/remote_ip host_name![CDATA[127.0.0.1]]/host_name file![CDATA[D:\17 cent 27\Site\XmlExampleCode\TMPrlr16qsat.cfm]]/file uri![CDATA[/ah/XmlExampleCode/TMPrlr16qsat.cfm]]/uri total_execution_time![CDATA[1563 ms]]/total_execution_time /general template_stack template jump_to_line file![CDATA[D:\17 cent 27\Site\XmlExampleCode\TMPrlr16qsat.cfm]]/file uri![CDATA[1 x D:\17 cent 27\Site\XmlExampleCode\TMPrlr16qsat.cfm]]/uri /jump_to_line execution_time![CDATA[70 ms]]/execution_time /template /template_stack variables cgivariablename![CDATA[AUTH_PASSWORD]]/name value![CDATA[]]/value/variable variablename![CDATA[AUTH_TYPE]]/name value![CDATA[]]/value/variable variablename![CDATA[AUTH_USER]]/name value![CDATA[]]/value/variable variablename![CDATA[CERT_COOKIE]]/name value![CDATA[]]/value/variable variablename![CDATA[CERT_FLAGS]]/name value![CDATA[]]/value/variable variablename![CDATA[CERT_ISSUER]]/name value![CDATA[]]/value/variable variablename![CDATA[CERT_KEYSIZE]]/name value![CDATA[]]/value/variable variablename![CDATA[CERT_SECRETKEYSIZE]]/name value![CDATA[]]/value/variable variablename![CDATA[CERT_SERIALNUMBER]]/name value![CDATA[]]/value/variable variablename![CDATA[CERT_SERVER_ISSUER]]/name value![CDATA[]]/value/variable variablename![CDATA[CERT_SERVER_SUBJECT]]/name value![CDATA[]]/value/variable variablename![CDATA[CERT_SUBJECT]]/name value![CDATA[]]/value/variable variablename![CDATA[CF_TEMPLATE_PATH]]/name value![CDATA[D:\17 cent 27\Site\XmlExampleCode\TMPrlr16qsat.cfm]]/value/variable variablename![CDATA[CONTENT_LENGTH]]/name value![CDATA[0]]/value/variable variablename![CDATA[CONTENT_TYPE]]/name value![CDATA[]]/value/variable variablename![CDATA[GATEWAY_INTERFACE]]/name value![CDATA[CGI/1.1]]/value/variable variablename![CDATA[HTTPS]]/name value![CDATA[off]]/value/variable variablename![CDATA[HTTPS_KEYSIZE]]/name value![CDATA[]]/value/variable variablename![CDATA[HTTPS_SECRETKEYSIZE]]/name value![CDATA[]]/value/variable variablename![CDATA[HTTPS_SERVER_ISSUER]]/name value![CDATA[]]/value/variable variablename![CDATA[HTTPS_SERVER_SUBJECT]]/name value![CDATA[]]/value/variable variablename![CDATA[HTTP_ACCEPT]]/name value![CDATA[image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*]]/value/variable variablename![CDATA[HTTP_ACCEPT_ENCODING]]/name value![CDATA[gzip, deflate]]/value/variable variablename![CDATA[HTTP_ACCEPT_LANGUAGE]]/name value![CDATA[fr]]/value/variable variablename![CDATA[HTTP_CONNECTION]]/name value![CDATA[Keep-Alive]]/value/variable variablename![CDATA[HTTP_COOKIE]]/name value![CDATA[JSESSIONID=80303179081039252272347]]/value/variable variablename![CDATA[HTTP_HOST]]/name
ColdFusion for kids
Hi all, My little brother, who's 13, is just starting to learn HTML. I'm storing his personal site on my CF5 account. He wants his site to be cooler than anyone else's at school, so I was thinking of making him a simple CF tutorial - maybe using cfinclude to get a header on each page, displaying and formatting the current date and time, stuff like that. Before I do this all myself, does anyone know of anything similar online already? Or, any suggestions for what I could include? Thanks, Kay. - http://kay.smoljak.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: ColdFusion for kids
Kay what a great idea! Don't know of any existing tutorials, though. Just some thoughts: Once he learns html well enough, CF shouldn't be too hard for him-- in fact, you may have trouble keeping up! The key, I think is being able to pique his interest. Do they have computer labs at the school he attends. As a challenge, you might have him try to duplicate some of the programs they use/write in the lab, on his web site-- likely, CF/HTML has more power and presentation capability then what they use in the lab (excluding word, excel, etc). If he has friends with email accounts, set up a mailbox for him on your site -- then have him develop a simple CF program to: 1) send mail 2) maintain an address book of his friends 3) receive mail This could evolve to his own little email client. At some early point, introduce him to a simple database, say for his email clients Ask him what he would like to have on his web site -- what interests his friends -- likely the data processing needs of a teenager are not too different than our own. Does he collect anything -- write a program to keep track of it! If he has access to a digital camera or scanner, then have him create a photo album/slideshow where CF and a simple db is used to store image metadata for search, display, etc. He could do the same thing for his audio. Not really CF, but he might like playing with SVG or Flash for some graphic animation effects. A really cool capability, for when his skills have improved, is for him to write a chat program that all his buddies can use (with secret passwords, etc).I think there several several offerings in the tag library that could be used as a starter. Then, have him write a tutorial to teach his friends, etc. Before long, you'll be asking him to answer questions about CF! I have a six-year-old grandaughter we are email pen pals -- the kids have no fear! Be sure and share the results with the rest of us! Dick On Saturday, December 7, 2002, at 07:11 AM, Kay Smoljak wrote: Hi all, My little brother, who's 13, is just starting to learn HTML. I'm storing his personal site on my CF5 account. He wants his site to be cooler than anyone else's at school, so I was thinking of making him a simple CF tutorial - maybe using cfinclude to get a header on each page, displaying and formatting the current date and time, stuff like that. Before I do this all myself, does anyone know of anything similar online already? Or, any suggestions for what I could include? Thanks, Kay. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: ColdFusion for kids
Some additional thoughts: Be sure to show him where/how to access CF online docs. In one of his first programs (actually a series of programs), have him create and manipulate a list of whatever interests him. It is important to use a list in application, not a textarea (where he can massage a single data entity) Point out to him that the list will disappear when his session ends. Then have him save the list to a file Next have him retrieve the file, display it in a select box Next have him add items to the end of the list Then add items to the middle of the list then delete an item then update an item in place After he is proficient with this, show him how to do this with a db rather than a flat file. So, now you have a 13-year-old who understands HTML, CFML, SQL-- watch out! Dick P.S. There is a member of this list who was/is a teenage prodigy with CF (and quite a few other web technologies) -- Dave, if you see this, you could provide some real-life experience for input! On Saturday, December 7, 2002, at 08:14 AM, Dick Applebaum wrote: Kay what a great idea! Don't know of any existing tutorials, though. Just some thoughts: Once he learns html well enough, CF shouldn't be too hard for him-- in fact, you may have trouble keeping up! The key, I think is being able to pique his interest. Do they have computer labs at the school he attends. As a challenge, you might have him try to duplicate some of the programs they use/write in the lab, on his web site-- likely, CF/HTML has more power and presentation capability then what they use in the lab (excluding word, excel, etc). If he has friends with email accounts, set up a mailbox for him on your site -- then have him develop a simple CF program to: 1) send mail 2) maintain an address book of his friends 3) receive mail This could evolve to his own little email client. At some early point, introduce him to a simple database, say for his email clients Ask him what he would like to have on his web site -- what interests his friends -- likely the data processing needs of a teenager are not too different than our own. Does he collect anything -- write a program to keep track of it! If he has access to a digital camera or scanner, then have him create a photo album/slideshow where CF and a simple db is used to store image metadata for search, display, etc. He could do the same thing for his audio. Not really CF, but he might like playing with SVG or Flash for some graphic animation effects. A really cool capability, for when his skills have improved, is for him to write a chat program that all his buddies can use (with secret passwords, etc).I think there several several offerings in the tag library that could be used as a starter. Then, have him write a tutorial to teach his friends, etc. Before long, you'll be asking him to answer questions about CF! I have a six-year-old grandaughter we are email pen pals -- the kids have no fear! Be sure and share the results with the rest of us! Dick On Saturday, December 7, 2002, at 07:11 AM, Kay Smoljak wrote: Hi all, My little brother, who's 13, is just starting to learn HTML. I'm storing his personal site on my CF5 account. He wants his site to be cooler than anyone else's at school, so I was thinking of making him a simple CF tutorial - maybe using cfinclude to get a header on each page, displaying and formatting the current date and time, stuff like that. Before I do this all myself, does anyone know of anything similar online already? Or, any suggestions for what I could include? Thanks, Kay. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
RE: Lists vs. Arrays vs. Structures
I'm not sure what you are really trying to accomplish here. It is a well known fact that the data structure of choice to do a linear search against is a list. Any linear search is going to be O(N) plus whatever overhead each operation incurs and a list has the lowest overhead per operation. You only want to use arrays or maps (structs) when you require random access to the data. Arrays tend to be a good way of representing different types of trees, which generally are the best data structures to search for a value against. For example, balanced trees can generally offer O(log N) worst case. Finally, maps are generally meant to be when you are dealing with known keys. If you know the key, a map is O(1) for retrieving the value, which is always going to be better than any other data structure. However, if you attempt to search a map without knowing a key then you are really no better off than searching a list. See http://www.cs.fiu.edu/~weiss/ for more information on algorithms and data structures. Matt Liotta President CEO Montara Software, Inc. http://www.montarasoftware.com/ 888-408-0900 x901 -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 12:06 AM To: CF-Talk Subject: Lists vs. Arrays vs. Structures I'm rewriting my CFMakeTree tag in order to make it tighter and work in CFMX better. One of the assumptions I had was that Lists would be problematic in comparison to Arrays or Structs. My first test was to find a value in one of these data collections. For Lists I used ListFindNoCase. For Arrays, I looped over the array to find the value and for Structs I used StructFindValue(). I ran each test in a 1000 iteration loop to see if anything showed up. On the whole, Arrays took the longest, which is to be expected as they had to loop (no native arrayfind function). Structures took less then 10% of the array time to search and lists took 1/3 of the struct time. The data set was 0-9a-z written out in full and the item searched for was the z. So the results are basically that lists are easier to search than either structures or arrays. As a side note, I tried using a query of queries and it was much, much slower. The second experiment was to loop over each data collection. In this, we see much different results. Arrays were fastest. Lists were anywhere from about as fast as an array to twice as slow. Structures tended to be on par with lists, but sometimes slower. On the whole, unless you see a need to, I'd stick with using lists in CFMX. I have heard of people who have seen some major slowdowns due to lists and I'd love to hear the specifics. Michael Dinowitz Master of the House of Fusion http://www.houseoffusion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Macromedia listening? is RE: ColdFusion for kids
This is a truly great thought Kay (IMHO). And Dick you are right Word-Excel are diabolical for creating good plain html. I wonder if someone at Macromedia is listening, maybe there could a stripped down free DWMX lite distributed to schools to help kids learn basic html skills in the way they do best, by visual example first then slowly bring them into the code and of course CF. Mike Brunt - CTO Webapper Services LLC Blog - http://www.webapper.net Downey CA Office 562.243.6255 AIM webappermb Web Application Specialists -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 8:35 AM To: CF-Talk Subject: Re: ColdFusion for kids Some additional thoughts: Be sure to show him where/how to access CF online docs. In one of his first programs (actually a series of programs), have him create and manipulate a list of whatever interests him. It is important to use a list in application, not a textarea (where he can massage a single data entity) Point out to him that the list will disappear when his session ends. Then have him save the list to a file Next have him retrieve the file, display it in a select box Next have him add items to the end of the list Then add items to the middle of the list then delete an item then update an item in place After he is proficient with this, show him how to do this with a db rather than a flat file. So, now you have a 13-year-old who understands HTML, CFML, SQL-- watch out! Dick P.S. There is a member of this list who was/is a teenage prodigy with CF (and quite a few other web technologies) -- Dave, if you see this, you could provide some real-life experience for input! On Saturday, December 7, 2002, at 08:14 AM, Dick Applebaum wrote: Kay what a great idea! Don't know of any existing tutorials, though. Just some thoughts: Once he learns html well enough, CF shouldn't be too hard for him-- in fact, you may have trouble keeping up! The key, I think is being able to pique his interest. Do they have computer labs at the school he attends. As a challenge, you might have him try to duplicate some of the programs they use/write in the lab, on his web site-- likely, CF/HTML has more power and presentation capability then what they use in the lab (excluding word, excel, etc). If he has friends with email accounts, set up a mailbox for him on your site -- then have him develop a simple CF program to: 1) send mail 2) maintain an address book of his friends 3) receive mail This could evolve to his own little email client. At some early point, introduce him to a simple database, say for his email clients Ask him what he would like to have on his web site -- what interests his friends -- likely the data processing needs of a teenager are not too different than our own. Does he collect anything -- write a program to keep track of it! If he has access to a digital camera or scanner, then have him create a photo album/slideshow where CF and a simple db is used to store image metadata for search, display, etc. He could do the same thing for his audio. Not really CF, but he might like playing with SVG or Flash for some graphic animation effects. A really cool capability, for when his skills have improved, is for him to write a chat program that all his buddies can use (with secret passwords, etc).I think there several several offerings in the tag library that could be used as a starter. Then, have him write a tutorial to teach his friends, etc. Before long, you'll be asking him to answer questions about CF! I have a six-year-old grandaughter we are email pen pals -- the kids have no fear! Be sure and share the results with the rest of us! Dick On Saturday, December 7, 2002, at 07:11 AM, Kay Smoljak wrote: Hi all, My little brother, who's 13, is just starting to learn HTML. I'm storing his personal site on my CF5 account. He wants his site to be cooler than anyone else's at school, so I was thinking of making him a simple CF tutorial - maybe using cfinclude to get a header on each page, displaying and formatting the current date and time, stuff like that. Before I do this all myself, does anyone know of anything similar online already? Or, any suggestions for what I could include? Thanks, Kay. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FW: Macromedia listening? is RE: ColdFusion for kids
i just forwarded this on to the appropriate people. really good suggestion. mike chambers [EMAIL PROTECTED] -Original Message- From: Mike Brunt [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 1:10 PM To: CF-Talk Subject: Macromedia listening? is RE: ColdFusion for kids This is a truly great thought Kay (IMHO). And Dick you are right Word-Excel are diabolical for creating good plain html. I wonder if someone at Macromedia is listening, maybe there could a stripped down free DWMX lite distributed to schools to help kids learn basic html skills in the way they do best, by visual example first then slowly bring them into the code and of course CF. Mike Brunt - CTO Webapper Services LLC Blog - http://www.webapper.net Downey CA Office 562.243.6255 AIM webappermb Web Application Specialists -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 8:35 AM To: CF-Talk Subject: Re: ColdFusion for kids Some additional thoughts: Be sure to show him where/how to access CF online docs. In one of his first programs (actually a series of programs), have him create and manipulate a list of whatever interests him. It is important to use a list in application, not a textarea (where he can massage a single data entity) Point out to him that the list will disappear when his session ends. Then have him save the list to a file Next have him retrieve the file, display it in a select box Next have him add items to the end of the list Then add items to the middle of the list then delete an item then update an item in place After he is proficient with this, show him how to do this with a db rather than a flat file. So, now you have a 13-year-old who understands HTML, CFML, SQL-- watch out! Dick P.S. There is a member of this list who was/is a teenage prodigy with CF (and quite a few other web technologies) -- Dave, if you see this, you could provide some real-life experience for input! On Saturday, December 7, 2002, at 08:14 AM, Dick Applebaum wrote: Kay what a great idea! Don't know of any existing tutorials, though. Just some thoughts: Once he learns html well enough, CF shouldn't be too hard for him-- in fact, you may have trouble keeping up! The key, I think is being able to pique his interest. Do they have computer labs at the school he attends. As a challenge, you might have him try to duplicate some of the programs they use/write in the lab, on his web site-- likely, CF/HTML has more power and presentation capability then what they use in the lab (excluding word, excel, etc). If he has friends with email accounts, set up a mailbox for him on your site -- then have him develop a simple CF program to: 1) send mail 2) maintain an address book of his friends 3) receive mail This could evolve to his own little email client. At some early point, introduce him to a simple database, say for his email clients Ask him what he would like to have on his web site -- what interests his friends -- likely the data processing needs of a teenager are not too different than our own. Does he collect anything -- write a program to keep track of it! If he has access to a digital camera or scanner, then have him create a photo album/slideshow where CF and a simple db is used to store image metadata for search, display, etc. He could do the same thing for his audio. Not really CF, but he might like playing with SVG or Flash for some graphic animation effects. A really cool capability, for when his skills have improved, is for him to write a chat program that all his buddies can use (with secret passwords, etc).I think there several several offerings in the tag library that could be used as a starter. Then, have him write a tutorial to teach his friends, etc. Before long, you'll be asking him to answer questions about CF! I have a six-year-old grandaughter we are email pen pals -- the kids have no fear! Be sure and share the results with the rest of us! Dick On Saturday, December 7, 2002, at 07:11 AM, Kay Smoljak wrote: Hi all, My little brother, who's 13, is just starting to learn HTML. I'm storing his personal site on my CF5 account. He wants his site to be cooler than anyone else's at school, so I was thinking of making him a simple CF tutorial - maybe using cfinclude to get a header on each page, displaying and formatting the current date and time, stuff like that. Before I do this all myself, does anyone know of anything similar online already? Or, any suggestions for what I could include? Thanks, Kay. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription:
CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
Mike Isn't Kay's idea really great? I didn't mean using trying to compete with word for producing clear, concise html -- who could do that :) Rather, schools teach word and excel for their data presentation and problem-solving capabilities, respectively. More importantly, the use of these tools is likely standalone. CF4K, would broaden the problem-solving and presentation capabilities and add the ability to interact with others over the web or a LAN. All the schools are wired for the internet, right ? -- I saw Bill and Al on TV, laying the cables. And we continue to pay taxes (phone bills) for this. So the Internet should available to all schools (but access may be restricted). I think that many high schools have LANs for their computer labs. These likely are used mainly by the instructors to broadcast the lesson to all the displays and to monitor or assist individual students. Your idea about DWMX is an excellent one. I think we could go a step further. Make available a Modified Trial version of CFMX especially for classrooms. One that they could install on a server (or the main computer on the LAN, that acts as such). Then schools could teach problem solving, development collaboration, web/network application development, etc -- without needing access to the Internet The components would be something like: HTML as the basic presentation layer Flash, etc, for the rich/extended presentation layer CFML for the problem solving layer SQL for the data management layer The SQL piece is already available (open source, or from several vendors) For example, Sybase_ASE has an free, easy to install, full-featured database (very similar to SQL-Server) that allows 25 (I think) concurrent connections-- even that's not a problem as CFMX pools connections. Getting back to Kay's original request, what's missing is some tutorials oriented to kids -- there are companies that specialize in doing that for any topic -- but I suspect that many of the members of this list have the talents necessary to develop CF4K material. It must be a slow day -- is some holiday approaching? This is such a great idea, that I am surprised by the few responses. Maybe, everyone sees the potential and are busy presenting the case for this or that to those who can make it happen -- that's what I did! Dick On Saturday, December 7, 2002, at 10:10 AM, Mike Brunt wrote: This is a truly great thought Kay (IMHO). And Dick you are right Word-Excel are diabolical for creating good plain html. I wonder if someone at Macromedia is listening, maybe there could a stripped down free DWMX lite distributed to schools to help kids learn basic html skills in the way they do best, by visual example first then slowly bring them into the code and of course CF. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
I think it's cool...schools here teach office starting in grade 7 or less... -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 5:05 PM To: CF-Talk Subject: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids Mike Isn't Kay's idea really great? I didn't mean using trying to compete with word for producing clear, concise html -- who could do that :) Rather, schools teach word and excel for their data presentation and problem-solving capabilities, respectively. More importantly, the use of these tools is likely standalone. CF4K, would broaden the problem-solving and presentation capabilities and add the ability to interact with others over the web or a LAN. All the schools are wired for the internet, right ? -- I saw Bill and Al on TV, laying the cables. And we continue to pay taxes (phone bills) for this. So the Internet should available to all schools (but access may be restricted). I think that many high schools have LANs for their computer labs. These likely are used mainly by the instructors to broadcast the lesson to all the displays and to monitor or assist individual students. Your idea about DWMX is an excellent one. I think we could go a step further. Make available a Modified Trial version of CFMX especially for classrooms. One that they could install on a server (or the main computer on the LAN, that acts as such). Then schools could teach problem solving, development collaboration, web/network application development, etc -- without needing access to the Internet The components would be something like: HTML as the basic presentation layer Flash, etc, for the rich/extended presentation layer CFML for the problem solving layer SQL for the data management layer The SQL piece is already available (open source, or from several vendors) For example, Sybase_ASE has an free, easy to install, full-featured database (very similar to SQL-Server) that allows 25 (I think) concurrent connections-- even that's not a problem as CFMX pools connections. Getting back to Kay's original request, what's missing is some tutorials oriented to kids -- there are companies that specialize in doing that for any topic -- but I suspect that many of the members of this list have the talents necessary to develop CF4K material. It must be a slow day -- is some holiday approaching? This is such a great idea, that I am surprised by the few responses. Maybe, everyone sees the potential and are busy presenting the case for this or that to those who can make it happen -- that's what I did! Dick On Saturday, December 7, 2002, at 10:10 AM, Mike Brunt wrote: This is a truly great thought Kay (IMHO). And Dick you are right Word-Excel are diabolical for creating good plain html. I wonder if someone at Macromedia is listening, maybe there could a stripped down free DWMX lite distributed to schools to help kids learn basic html skills in the way they do best, by visual example first then slowly bring them into the code and of course CF. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
Dick Applebaum wrote: This is such a great idea, that I am surprised by the few responses. cynical That is because most people with experience in that field expect the resistance to change that seems to be inherent in educational systems to overcome this idea just like all great ideas of the past. /cynical Apart from the fact that I don't think it is such a great idea at all. Learn kids to write in a concise and structured way, don't give them HTML to play with (just think of the poor teachers that have to grade something that was written with inordinate amounts of blink tags and text colors on a purple background). If you want to add layout, add some stylesheets and XSLT and let the rounding of the mark depend on it, but the mixing of content and layout is something you *don't* want to teach children. Maybe we will raise a generation that understands the difference between form and substance. Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
CF4K... What about tying in Flash4K as well? Then there'd finally be a learning path I'd have the time and capacity to grasp :D --Matt Robertson-- MSB Designs, Inc. http://mysecretbase.com -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 2:36 PM To: CF-Talk Subject: RE: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids I think it's cool...schools here teach office starting in grade 7 or less... -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 5:05 PM To: CF-Talk Subject: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids Mike Isn't Kay's idea really great? I didn't mean using trying to compete with word for producing clear, concise html -- who could do that :) Rather, schools teach word and excel for their data presentation and problem-solving capabilities, respectively. More importantly, the use of these tools is likely standalone. CF4K, would broaden the problem-solving and presentation capabilities and add the ability to interact with others over the web or a LAN. All the schools are wired for the internet, right ? -- I saw Bill and Al on TV, laying the cables. And we continue to pay taxes (phone bills) for this. So the Internet should available to all schools (but access may be restricted). I think that many high schools have LANs for their computer labs. These likely are used mainly by the instructors to broadcast the lesson to all the displays and to monitor or assist individual students. Your idea about DWMX is an excellent one. I think we could go a step further. Make available a Modified Trial version of CFMX especially for classrooms. One that they could install on a server (or the main computer on the LAN, that acts as such). Then schools could teach problem solving, development collaboration, web/network application development, etc -- without needing access to the Internet The components would be something like: HTML as the basic presentation layer Flash, etc, for the rich/extended presentation layer CFML for the problem solving layer SQL for the data management layer The SQL piece is already available (open source, or from several vendors) For example, Sybase_ASE has an free, easy to install, full-featured database (very similar to SQL-Server) that allows 25 (I think) concurrent connections-- even that's not a problem as CFMX pools connections. Getting back to Kay's original request, what's missing is some tutorials oriented to kids -- there are companies that specialize in doing that for any topic -- but I suspect that many of the members of this list have the talents necessary to develop CF4K material. It must be a slow day -- is some holiday approaching? This is such a great idea, that I am surprised by the few responses. Maybe, everyone sees the potential and are busy presenting the case for this or that to those who can make it happen -- that's what I did! Dick On Saturday, December 7, 2002, at 10:10 AM, Mike Brunt wrote: This is a truly great thought Kay (IMHO). And Dick you are right Word-Excel are diabolical for creating good plain html. I wonder if someone at Macromedia is listening, maybe there could a stripped down free DWMX lite distributed to schools to help kids learn basic html skills in the way they do best, by visual example first then slowly bring them into the code and of course CF. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
Stacy Young wrote: I think it's cool...schools here teach office starting in grade 7 or less... Q: Can you spell? A: F7 Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
Stacy Young wrote: I think it's cool...schools here teach office starting in grade 7 or less... Q: Can you spell? A: F7 The keyboard shortcut for check-spelling? s. isaac dealey954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
but of course it is, heck i think it was f7 way back in word perfect on my 386, and it followed to this new thing called microsoft word, now it still lives in office xp tony -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 6:33 PM To: CF-Talk Subject: Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids Stacy Young wrote: I think it's cool...schools here teach office starting in grade 7 or less... Q: Can you spell? A: F7 The keyboard shortcut for check-spelling? s. isaac dealey954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
Actually the best starting place for the youngsters is to use pre-built templates, available everywhere for free, to use Web builder apps provided by the host. They always have the option to view and tweak the HTML code that underlies the site. More advanced languages, such as CF, PHP, XML, JavaScript, Perl, various flavors of SQL, etc. are for the more advanced students, and usually the ones that have a proclivity for structured programming languages. Web sites that appear cool to the kids (for the wow factor among their peers) are completely different in concept from what a business-oriented adult developer will consider Cool. = Douglas White group Manager mailto:[EMAIL PROTECTED] http://www.samcfug.org = - Original Message - From: Jochem van Dieten [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, December 07, 2002 5:13 PM Subject: Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids | Dick Applebaum wrote: | | This is such a great idea, that I am surprised by the few responses. | | cynical | That is because most people with experience in that field expect the | resistance to change that seems to be inherent in educational systems to | overcome this idea just like all great ideas of the past. | /cynical | | Apart from the fact that I don't think it is such a great idea at all. | Learn kids to write in a concise and structured way, don't give them | HTML to play with (just think of the poor teachers that have to grade | something that was written with inordinate amounts of blink tags and | text colors on a purple background). If you want to add layout, add some | stylesheets and XSLT and let the rounding of the mark depend on it, but | the mixing of content and layout is something you *don't* want to teach | children. | | Maybe we will raise a generation that understands the difference between | form and substance. | | Jochem | | ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
On Saturday, December 7, 2002, at 03:13 PM, Jochem van Dieten wrote: Dick Applebaum wrote: This is such a great idea, that I am surprised by the few responses. cynical That is because most people with experience in that field expect the resistance to change that seems to be inherent in educational systems to overcome this idea just like all great ideas of the past. /cynical I, actually, do have some experience in that field (computer training in high school), although a bit dated. I was involved in a project that installed the first computer LAN in a high school. There was some initial resistance (as there is with all change). But, once people grasped the concept and the benefits, acceptance, well, just snowballed! The lab became a prototype and everyone involved benefitted -- particularly the students -- there were high school students opening their own computer consulting firms. Apart from the fact that I don't think it is such a great idea at all. Learn kids to write in a concise and structured way, don't give them HTML to play with (just think of the poor teachers that have to grade something that was written with inordinate amounts of blink tags and text colors on a purple background). If you want to add layout, add some stylesheets and XSLT and let the rounding of the mark depend on it, but the mixing of content and layout is something you *don't* want to teach children. I agree that writing skills are very important and should be learned in a structured way. But we are discussing additional skills to bring the content (the results of writing kills) to a broader audience the internet. Kids will learn to program the Internet -- just because it's there! Why leave them to their own devices and some of the more obscure languages -- to helter-skelter mix format layout and content. Rather, teach them to do it right (better) with superior tools. Are you saying that while the CFMX approach is good enough for you and I to use,it is not good enough for our kids? What do you propose instead? Finally, I think that kids will not have much trouble grasping the difference between content and layout (packaging), as they are constantly exposed to it in there everyday lives. I think that, properly presented, the value of both form and substance can be learned -- and the web contains millions of examples (good and bad) of both. Dick Maybe we will raise a generation that understands the difference between form and substance. Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: CFGRIDUPDATE 'could not find the grid named' ERROR
Ali - Are there primary keys defined in your database table and are they columns in the grid? I was having the same problem and it was because the data was not structured correctly and there was no primary key defined. I added my own primary key and the grid update worked. Melissa Ali Daniali wrote: Folks I've just had my first need to use the CFGRID/CFGRIDUPDATE duo but keep hitting a road block !-- updateQVF.cfm - builds the grid -- no problems here -- cfquery name=Recordset1 datasource=dbTL_MSSQL2k_colo SELECT tblQVF_FieldName, tblQVF_Value, tblQVF_Description FROM dbo.tblQVF WHERE tblQVF_CustomerID = 'alidaniali' /cfquery html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body cfform action=CFGRID_Action.cfm method=post name=GridForm H3QVF Data/H3 CFGRID name=grid query=Recordset1 selectmode=EDIT width=700 height=1600 cfgridcolumn name=tblQVF_FieldName cfgridcolumn name=tblQVF_Value cfgridcolumn name=tblQVF_Description /CFGRID pinput type=submit value=save/p /cfform /body /html !-- CFGRID_Action.cfm - updates the DB -- problems here -- cfgridupdate datasource=dbTL_MSSQL2k_colo tablename=dbo.tblQVF grid = grid Updated! !-- Error Message -- Error Variable Value Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Date/Time 12/05/02;02:04:14 P Diagnostics cfgridupdate could not find the grid named grid. The error occurred on line 3. I've done some research on this issue (Macromedia ColdFusion Forums, CF-Talk, Expert Exchange, Google) but have had zero luck in getting it resolved. Other folks have identified this error before but NO one has a work around. !-- System Stats -- Win2k Server MSSQL2k CFMX w/o updater Any help would be appreciated. Thank you. -Ali Daniali ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Why doesn't this update query work?
Hi, everyone. Just installed MySQL for the first time and trying to learn to use it. Why won't this query update work? CFQUERY Name=UpdateText Datasource=#DSN1# Update Welcome W Set WelcomeText='#Form.WelcomeText#' Where W.BusinessID=#Request.BusinessID# /CFQUERY I get this error: ODBC Error Code = 42000 (Syntax error or access violation) [TCX][MyODBC]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WelcomeText='Whether you are moving across town or across Thanks! Rick ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
RE: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
This is my old highschool...was mostly gangs back when I was there but pretty impressive changes in recent years...by grade 11 they're building e-com systems. http://www.riverdalehighonline.com/showcase.html -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 6:47 PM To: CF-Talk Subject: Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids On Saturday, December 7, 2002, at 03:13 PM, Jochem van Dieten wrote: Dick Applebaum wrote: This is such a great idea, that I am surprised by the few responses. cynical That is because most people with experience in that field expect the resistance to change that seems to be inherent in educational systems to overcome this idea just like all great ideas of the past. /cynical I, actually, do have some experience in that field (computer training in high school), although a bit dated. I was involved in a project that installed the first computer LAN in a high school. There was some initial resistance (as there is with all change). But, once people grasped the concept and the benefits, acceptance, well, just snowballed! The lab became a prototype and everyone involved benefitted -- particularly the students -- there were high school students opening their own computer consulting firms. Apart from the fact that I don't think it is such a great idea at all. Learn kids to write in a concise and structured way, don't give them HTML to play with (just think of the poor teachers that have to grade something that was written with inordinate amounts of blink tags and text colors on a purple background). If you want to add layout, add some stylesheets and XSLT and let the rounding of the mark depend on it, but the mixing of content and layout is something you *don't* want to teach children. I agree that writing skills are very important and should be learned in a structured way. But we are discussing additional skills to bring the content (the results of writing kills) to a broader audience the internet. Kids will learn to program the Internet -- just because it's there! Why leave them to their own devices and some of the more obscure languages -- to helter-skelter mix format layout and content. Rather, teach them to do it right (better) with superior tools. Are you saying that while the CFMX approach is good enough for you and I to use,it is not good enough for our kids? What do you propose instead? Finally, I think that kids will not have much trouble grasping the difference between content and layout (packaging), as they are constantly exposed to it in there everyday lives. I think that, properly presented, the value of both form and substance can be learned -- and the web contains millions of examples (good and bad) of both. Dick Maybe we will raise a generation that understands the difference between form and substance. Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
Part of the curriculum is Flash and DW LOL -Original Message- From: Stacy Young Sent: Saturday, December 07, 2002 7:33 PM To: '[EMAIL PROTECTED]' Subject: RE: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids This is my old highschool...was mostly gangs back when I was there but pretty impressive changes in recent years...by grade 11 they're building e-com systems. http://www.riverdalehighonline.com/showcase.html -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 6:47 PM To: CF-Talk Subject: Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids On Saturday, December 7, 2002, at 03:13 PM, Jochem van Dieten wrote: Dick Applebaum wrote: This is such a great idea, that I am surprised by the few responses. cynical That is because most people with experience in that field expect the resistance to change that seems to be inherent in educational systems to overcome this idea just like all great ideas of the past. /cynical I, actually, do have some experience in that field (computer training in high school), although a bit dated. I was involved in a project that installed the first computer LAN in a high school. There was some initial resistance (as there is with all change). But, once people grasped the concept and the benefits, acceptance, well, just snowballed! The lab became a prototype and everyone involved benefitted -- particularly the students -- there were high school students opening their own computer consulting firms. Apart from the fact that I don't think it is such a great idea at all. Learn kids to write in a concise and structured way, don't give them HTML to play with (just think of the poor teachers that have to grade something that was written with inordinate amounts of blink tags and text colors on a purple background). If you want to add layout, add some stylesheets and XSLT and let the rounding of the mark depend on it, but the mixing of content and layout is something you *don't* want to teach children. I agree that writing skills are very important and should be learned in a structured way. But we are discussing additional skills to bring the content (the results of writing kills) to a broader audience the internet. Kids will learn to program the Internet -- just because it's there! Why leave them to their own devices and some of the more obscure languages -- to helter-skelter mix format layout and content. Rather, teach them to do it right (better) with superior tools. Are you saying that while the CFMX approach is good enough for you and I to use,it is not good enough for our kids? What do you propose instead? Finally, I think that kids will not have much trouble grasping the difference between content and layout (packaging), as they are constantly exposed to it in there everyday lives. I think that, properly presented, the value of both form and substance can be learned -- and the web contains millions of examples (good and bad) of both. Dick Maybe we will raise a generation that understands the difference between form and substance. Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: Why doesn't this update query work?
Rick Faircloth wrote: Hi, everyone. Just installed MySQL for the first time and trying to learn to use it. Why won't this query update work? CFQUERY Name=UpdateText Datasource=#DSN1# Update Welcome W Set WelcomeText='#Form.WelcomeText#' Where W.BusinessID=#Request.BusinessID# /CFQUERY I get this error: ODBC Error Code = 42000 (Syntax error or access violation) [TCX][MyODBC]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WelcomeText='Whether you are moving across town or across Thanks! try removing the doublequotes around Welcometext Jesse ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
On Saturday, December 7, 2002, at 04:33 PM, Stacy Young wrote: This is my old highschool...was mostly gangs back when I was there but pretty impressive changes in recent years...by grade 11 they're building e-com systems. http://www.riverdalehighonline.com/showcase.html Impressed! That's quite a site! Do most of the highschools in Canada have computer labs, as in the US? With what do they build their e-com sites? Dick ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
RE: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
I would say they do...school system is quite good in most areas. We had a computer lab when I was in elementary school. (All MACs/Apples)...There were maybe 15 machinesand that was back in..um...83-84 maybe? Most projects involved working with a program called Logo...it was a little turtle that u would program to draw pictures. That's actually what generated my first interest in puters. FD 60 (forward 60 pixels) RT 45 (right turn 45 degrees) FD 100 LT 90 FD 150 There were school contests for drawing more elaborate things that involved some flash-like programming... Stace -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 7:51 PM To: CF-Talk Subject: Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids On Saturday, December 7, 2002, at 04:33 PM, Stacy Young wrote: This is my old highschool...was mostly gangs back when I was there but pretty impressive changes in recent years...by grade 11 they're building e-com systems. http://www.riverdalehighonline.com/showcase.html Impressed! That's quite a site! Do most of the highschools in Canada have computer labs, as in the US? With what do they build their e-com sites? Dick ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: Why doesn't this update query work?
Thanks, Jesse! That did it! I thought I had tried every combination of quotes, no quotes, and double-quotes... but, naturally, I hadn't tried the right one! Rick -Original Message- From: Jesse Houwing [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 7:35 PM To: CF-Talk Subject: Re: Why doesn't this update query work? Rick Faircloth wrote: Hi, everyone. Just installed MySQL for the first time and trying to learn to use it. Why won't this query update work? CFQUERY Name=UpdateText Datasource=#DSN1# Update Welcome W Set WelcomeText='#Form.WelcomeText#' Where W.BusinessID=#Request.BusinessID# /CFQUERY I get this error: ODBC Error Code = 42000 (Syntax error or access violation) [TCX][MyODBC]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WelcomeText='Whether you are moving across town or across Thanks! try removing the doublequotes around Welcometext Jesse ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
On Saturday, December 7, 2002, at 04:33 PM, Stacy Young wrote: This is my old highschool...was mostly gangs back when I was there but pretty impressive changes in recent years...by grade 11 they're building e-com systems. http://www.riverdalehighonline.com/showcase.html Well, here is the high school that installed the first computer lab network in June 1980: 7 Apple ][ computers networked to a 5 MB Corvus Hard disk and a Centronics printer Only the administrators Apple ][ had floppy drives. http://www.saratogahigh.org/shs/academics/academics.html My daughter is an alumnus of SHS, -- though she never took computer lab. I haven't had contact with anyone at the school since !988 -- but they seem to be doing quite well. As I mentioned, SHS was the prototype for HS computer labs all over the US. Mmmm... maybe they are already doing web stuff just need to upgrade to dynamic content Dick ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
Maybe this thread is going a little OT here but one last comment...Just read that some elementary schools here are teaching multimedia math...in kindergarten !! Damn...all we did was draw with crayons and throw paint everywhere... Stace -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 8:03 PM To: CF-Talk Subject: RE: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids I would say they do...school system is quite good in most areas. We had a computer lab when I was in elementary school. (All MACs/Apples)...There were maybe 15 machinesand that was back in..um...83-84 maybe? Most projects involved working with a program called Logo...it was a little turtle that u would program to draw pictures. That's actually what generated my first interest in puters. FD 60 (forward 60 pixels) RT 45 (right turn 45 degrees) FD 100 LT 90 FD 150 There were school contests for drawing more elaborate things that involved some flash-like programming... Stace -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 7:51 PM To: CF-Talk Subject: Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids On Saturday, December 7, 2002, at 04:33 PM, Stacy Young wrote: This is my old highschool...was mostly gangs back when I was there but pretty impressive changes in recent years...by grade 11 they're building e-com systems. http://www.riverdalehighonline.com/showcase.html Impressed! That's quite a site! Do most of the highschools in Canada have computer labs, as in the US? With what do they build their e-com sites? Dick ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
Yes! Logo! Who can forget the turtle turtlegraphics? Dick On Saturday, December 7, 2002, at 05:02 PM, Stacy Young wrote: I would say they do...school system is quite good in most areas. We had a computer lab when I was in elementary school. (All MACs/Apples)...There were maybe 15 machinesand that was back in..um...83-84 maybe? Most projects involved working with a program called Logo...it was a little turtle that u would program to draw pictures. That's actually what generated my first interest in puters. FD 60 (forward 60 pixels) RT 45 (right turn 45 degrees) FD 100 LT 90 FD 150 There were school contests for drawing more elaborate things that involved some flash-like programming... Stace ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
RE: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
Ya it seems every site I've checked are into all kinds of multimedia and web... -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 8:09 PM To: CF-Talk Subject: Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids On Saturday, December 7, 2002, at 04:33 PM, Stacy Young wrote: This is my old highschool...was mostly gangs back when I was there but pretty impressive changes in recent years...by grade 11 they're building e-com systems. http://www.riverdalehighonline.com/showcase.html Well, here is the high school that installed the first computer lab network in June 1980: 7 Apple ][ computers networked to a 5 MB Corvus Hard disk and a Centronics printer Only the administrators Apple ][ had floppy drives. http://www.saratogahigh.org/shs/academics/academics.html My daughter is an alumnus of SHS, -- though she never took computer lab. I haven't had contact with anyone at the school since !988 -- but they seem to be doing quite well. As I mentioned, SHS was the prototype for HS computer labs all over the US. Mmmm... maybe they are already doing web stuff just need to upgrade to dynamic content Dick ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
On Saturday, December 7, 2002, at 05:09 PM, Stacy Young wrote: Maybe this thread is going a little OT here but one last comment...Just read that some elementary schools here are teaching multimedia math...in kindergarten !! Damn...all we did was draw with crayons and throw paint everywhere... What about clay-class, finger-painting and paper-machae [sp] -- Oh, those were in High school in Pasadena, California. It's a slow day, Michael and Judith are tolerant --- --- and Kay's original post was spot on! This is an opportunity, if I've ever seen one! Dick ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: ColdFusion for kids
Wow... thanks to everyone for all the responses! Here's what I think I'm going to do. I'll create a couple of basic tutorials, and test 'em on my brother. Then I'll put them online on my site, so if anyone else wants to mould the mini-nerds in their lives, there's somewhere to start. I've taken all your ideas on board. Jochem, I see your point. But these kids are already doing some computing in school, and I think they are better off learning something they can build on in the future than how to use Word (it was Microsoft Works when I was in high school, but same deal). In my brother's case, creating his personal site - that was last weekend's project - also involved checking his spelling, grammar, and thinking out his message so it was clear and made sense. I'm emphasising quality control at every step. He's using DWMX (as he's using my computer), so we're looking at the html source a little too. He's interested in creating web sites, so I want to encourage him to try new, more challenging projects. Interesting anecdote: when he first took his school project html site and started editing it for real, each page had a different horrific tiling background. My Dad and I tried not to say anything, not wanting to dampen his enthusiasm. But a week later he had removed all the hideous backgrounds and put a consistent colour scheme on each page. Kids really do learn by osmosis. I bought him a book called html with css and xhtml for Christmas - we'll get rid of those tables yet :) Macromedia have a very small presence in Australia. If anything, I think their educational focus should be getting CF into universities first, which is starting to happen. But for kids with an interest, who want to be ahead of their peers, I think CF is a great stepping stone. Kay. http://kay.smoljak.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
I can't help myself... I have to chime in. Totally OT: Dick Applebaum wrote: Well, here is the high school that installed the first computer lab network in June 1980: snip http://www.saratogahigh.org/shs/academics/academics.html Small world. I graduated from Fremont High in June 1980, which is in the same town and high school district as Saratoga High. We were pretty fierce rivals. At the time all we had was a few Commodore PETs, and a LOT of cobbled-together stuff, much of it hand-me-downs from parents working in/around HP, Atari, Lockheed, Fairchild et al. Wasn't it SHS where the entire senior class all got straight F's on their report cards cuz persons-unknown broke into the FUHSD system and... Tinkered? Was either 1979 or 1980. Killed too many gray cells since to remember exactly. Great time/place to grow up: Sunnyvale CA, right when all that PC stuff started. --Matt Robertson-- MSB Designs, Inc. http://mysecretbase.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
Matt Really, Really OT If you were a computer geek between 1978 and 1989, then we've probably met! Yeah, I know FHS -- Freemont and Saratoga-Sunnyvale. I and 2 others owned some computer stores, one was 2 blocks away at Fremont and Mary -- Computer Plus --across the parking lot from the Velvet Turtle. You guys (FHS) were behind in some ways, but you had cable TV VCRs in every classroom (unique at that time). There was a teacher there Jerry -- can't remember his last name but, he was really progressive and liked by the students -- Jerry was trying to set up a computer lab -- got no support from anybody. We did some small stuff with FHS, but it never really got going. Anyway, FHS was in a different district than SHS, with completely different funding. But we had several FHS students on our payroll -- between skateboarding, and Hires graphics they helped sell a lot of computers. Greg Porter, Joe Wilson come to mind. A few years after you graduated, Woz tried to donate several million to Sunnyvale HS (same district) to set up a computer lab, But, politics got in the way they could never could figure out what to do with the money. You/we grew in the heart of Silicon Valley, when everything was exciting new! Dick On Saturday, December 7, 2002, at 06:43 PM, Matt Robertson wrote: I can't help myself... I have to chime in. Totally OT: Dick Applebaum wrote: Well, here is the high school that installed the first computer lab network in June 1980: snip http://www.saratogahigh.org/shs/academics/academics.html Small world. I graduated from Fremont High in June 1980, which is in the same town and high school district as Saratoga High. We were pretty fierce rivals. At the time all we had was a few Commodore PETs, and a LOT of cobbled-together stuff, much of it hand-me-downs from parents working in/around HP, Atari, Lockheed, Fairchild et al. Wasn't it SHS where the entire senior class all got straight F's on their report cards cuz persons-unknown broke into the FUHSD system and... Tinkered? Was either 1979 or 1980. Killed too many gray cells since to remember exactly. Great time/place to grow up: Sunnyvale CA, right when all that PC stuff started. --Matt Robertson-- MSB Designs, Inc. http://mysecretbase.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Java in CF (CFMX) - MM Drivers
Anybody from MM Product Team can explain this? on November 24, 2002 5:24 PM Product Teams reply 2 weeks later on the Thread!. Talked to Sean and figured out this already. Anyways since you mentioned it, Are all CFMX Native Drivers DataDirect Drivers(Oracle,DB2 UDB). If you configure a Type IV Native Datasource in CMFX... Does CFMX manage connection pooling? Single Connection.. Multiple Statements? How does this work? Thanks Joe -Original Message- From: Phil Costa [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 4:49 PM To: CF-Talk Subject: RE: Java in CF (CFMX) - MM Drivers It's throwing that error because you're trying to access the JDBC drivers in an unlicensed fashion. The DataDirect drivers are licensed for use with ColdFusion, which includes support for JSP as well as CFML, not the scenario you're describing. Phil Costa Sr. Product Manager, ColdFusion Macromedia -Original Message- From: Joe Eugene [mailto:[EMAIL PROTECTED]] Sent: Sunday, November 24, 2002 5:24 PM To: CF-Talk Subject: RE: Java in CF (CFMX) - MM Drivers I got this partially resolved... Sean helped out.. Thanks Sean. It was a classpath problem. However after i load the drivers(macromedia.jdbc.MacromediaDriver) which is in the lib directory of your installation(eg. G:\CFusionMX\lib\macromedia_drivers.jar) and give it the connection url.. Connection con = DriverManager.getConnection(jdbc:macromedia:sqlserver://SqlServerName:1433 ,userid,Pwd); I get an Exception.. macromedia.jdbc.MacromediaDriver$InvalidLicenseException: An Enterprise license is needed to use the Macromedia JDBC Drivers on the DB2, Oracle, Sybase and Info rmix servers. I am running CFMX Enterprise version(6,0,0,48097). I have the same connection working fine in JSP Pages under CFMX. Are CFMX Enterprise drivers protected from usage in Java Applications(Console/Swing)? Anybody from MM Product Team can explain this? Joe -Original Message- From: Joe Eugene [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 4:11 PM To: CF-Talk Subject: RE: Java in CF (CFMX) - MM Drivers I can use the CFMX MM DB drivers in a JSP page..No problem. however.. i need to use it in a Java Application..tried to load the Driver.. Class.forName(macromedia.jdbc.MacromediaDriver) Keep getting ClassNotFound Error.. I put the macromedia_driver.jar in the class path.. still not loading.. Do i need to import something? What am i missing? Joe PS:Old Thread. I am just catching up on this Thread.. Isnt the idea to comply with J2EE Architecture? Model-View-Controller model etc.. Why would some want to write in-line Java..? Anyways... On Fri, 22 Nov 2002 09:09:16 -0500 Phil Costa [EMAIL PROTECTED] wrote: The decision to disallow inline java code was definitely not a cut and dry one. One reason was definitely to enforce a cleaner separation of syntax; the other, which I hadn't mentioned, was to remove some additional complexity from the parsing/compiling process. Because of the differences between typing and syntax, parsing a page that had both Java and CFML/CFScript would have been a bear. Phil -Original Message- From: Jon Hall [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 2:37 AM To: CF-Talk Subject: Re: Java in CF (CFMX) Thursday, November 21, 2002, 11:54:58 PM, you wrote: MT Jon Hall wrote: The case for allowing inline Java is simple, CF developers can use Java without having to know everything about Java. Methods and classes are easy to get. Compiling, classpath's, and understanding the lengths Java goes to, to abstract everything, etc. is not. MT Knowing just a little about a language as deep/complex as Java can MT be dangerous in a number of ways... MT It's very easy to run into errors in java if you don't understand MT how it all works (ex. trying to instantiate an interface). One of MT the overriding strengths of CF is that it offers a great deal of MT power in an easy to use/learn style. This sort of thing, IMO, goes MT against that strength. MT Mixing CFML and Java can very quickly lead to code that is horribly MT organized and difficult to follow/maintain. Obviously, anal coders MT will keep things nice and neat, but others will be mashing CFML, MT CFScript, Java, and SQL together haphazardly. MT Then there's the compatibility thing... Java lists != CF lists. MT Java arrays != CF arrays. Etc. Again, this can lead to confusion MT and cause all kinds of errors. I say let the coders (and the pm's who have a clue ) who write the applications make the decision on what works in their application. I'm not trying to be facetious, but be brutally honest, I couldn't care less that anyone else thinks my hypothetical hybrid Java/CF code is unorganized or difficult to maintain, as long as those that it matters to, like my boss and clients don't care either. So I
RE: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
LAST on-list OT, I promise! We have met, I think. I know that store if my (hazy) recollection is correct. Near a Farrells and the Bicycle Tree? I dinked around on some ***really*** early Apple computers there. Highly advanced casette recorder used to load programs. Way too sophisticated for floppies. If that was you, then a) I remember it quite well and b) you bear partial blame for getting me interested in this field. Man, talk about memory lane! I took boxing at Sunnyvale High. Tough crowd ;) --Matt-- -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 7:22 PM To: CF-Talk Subject: Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids Matt Really, Really OT If you were a computer geek between 1978 and 1989, then we've probably met! Yeah, I know FHS -- Freemont and Saratoga-Sunnyvale. I and 2 others owned some computer stores, one was 2 blocks away at Fremont and Mary -- Computer Plus --across the parking lot from the Velvet Turtle. You guys (FHS) were behind in some ways, but you had cable TV VCRs in every classroom (unique at that time). There was a teacher there Jerry -- can't remember his last name but, he was really progressive and liked by the students -- Jerry was trying to set up a computer lab -- got no support from anybody. We did some small stuff with FHS, but it never really got going. Anyway, FHS was in a different district than SHS, with completely different funding. But we had several FHS students on our payroll -- between skateboarding, and Hires graphics they helped sell a lot of computers. Greg Porter, Joe Wilson come to mind. A few years after you graduated, Woz tried to donate several million to Sunnyvale HS (same district) to set up a computer lab, But, politics got in the way they could never could figure out what to do with the money. You/we grew in the heart of Silicon Valley, when everything was exciting new! Dick On Saturday, December 7, 2002, at 06:43 PM, Matt Robertson wrote: I can't help myself... I have to chime in. Totally OT: Dick Applebaum wrote: Well, here is the high school that installed the first computer lab network in June 1980: snip http://www.saratogahigh.org/shs/academics/academics.html Small world. I graduated from Fremont High in June 1980, which is in the same town and high school district as Saratoga High. We were pretty fierce rivals. At the time all we had was a few Commodore PETs, and a LOT of cobbled-together stuff, much of it hand-me-downs from parents working in/around HP, Atari, Lockheed, Fairchild et al. Wasn't it SHS where the entire senior class all got straight F's on their report cards cuz persons-unknown broke into the FUHSD system and... Tinkered? Was either 1979 or 1980. Killed too many gray cells since to remember exactly. Great time/place to grow up: Sunnyvale CA, right when all that PC stuff started. --Matt Robertson-- MSB Designs, Inc. http://mysecretbase.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: ColdFusion for kids
I do have to say my daughter is 2 and loves to play with the keyboard and pretend to read one of my CF books on my desks. I think I'll start her next year ;) - Perhaps she'll be one of the youngest yet ! he he All kidding and OT aside - I think it's amazing and very positive the response received. Now if only all the juggling and red tape and most school districts was easier to navigate through.. I am sure dreamed up future programs such as this would be easier to integrate. jay miller Kay Smoljak wrote: Wow... thanks to everyone for all the responses! Here's what I think I'm going to do. I'll create a couple of basic tutorials, and test 'em on my brother. Then I'll put them online on my site, so if anyone else wants to mould the mini-nerds in their lives, there's somewhere to start. I've taken all your ideas on board. Jochem, I see your point. But these kids are already doing some computing in school, and I think they are better off learning something they can build on in the future than how to use Word (it was Microsoft Works when I was in high school, but same deal). In my brother's case, creating his personal site - that was last weekend's project - also involved checking his spelling, grammar, and thinking out his message so it was clear and made sense. I'm emphasising quality control at every step. He's using DWMX (as he's using my computer), so we're looking at the html source a little too. He's interested in creating web sites, so I want to encourage him to try new, more challenging projects. Interesting anecdote: when he first took his school project html site and started editing it for real, each page had a different horrific tiling background. My Dad and I tried not to say anything, not wanting to dampen his enthusiasm. But a week later he had removed all the hideous backgrounds and put a consistent colour scheme on each page. Kids really do learn by osmosis. I bought him a book called html with css and xhtml for Christmas - we'll get rid of those tables yet :) Macromedia have a very small presence in Australia. If anything, I think their educational focus should be getting CF into universities first, which is starting to happen. But for kids with an interest, who want to be ahead of their peers, I think CF is a great stepping stone. Kay. http://kay.smoljak.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
RE: ColdFusion for kids
My little brother, who's 13, is just starting to learn HTML. I'm storing his personal site on my CF5 account. He wants his site to be cooler than anyone else's at school, so I was thinking of making him a simple CF tutorial - maybe using cfinclude to get a header on each page, displaying and formatting the current date and time, stuff like that. Before I do this all myself, does anyone know of anything similar online already? Or, any suggestions for what I could include? At one point, Macromedia (or Allaire, I forget which) offered a tutorial CD, called SkillBuilding or something like that. You might look for that - it was around $75 or so. I don't know if it was any good, since I never used it. I don't know if it's still offered, but even if it isn't, you might be able to get it from someone. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
RE: ColdFusion for kids
P.S. There is a member of this list who was/is a teenage prodigy with CF (and quite a few other web technologies) -- Dave, if you see this, you could provide some real-life experience for input! I'm not sure whether you're referring to me, since there are plenty of Daves, so forgive me if I'm presuming too much. If you are referring to me, I unfortunately will have to disappoint you, since I was never a teenage prodigy with CF or anything else, although I was considered pretty competent with small arms in my late teens. I can comment on learning programming informally, though. I didn't come from a CS background, but learned programming the hard way, by trial-and-error, basically. Being self-taught sounds nice, but if you think about it, it's kind of silly - if you're self-taught, your teacher is by definition incompetent! And, that sums it up pretty well - by not learning programming in a formal setting, I made it a lot harder than it had to be. I think that this is true for a lot of people who got into programming during the web boom, actually - the lack of formal training is often very apparent. Kids will learn to program the Internet -- just because it's there! Why leave them to their own devices and some of the more obscure languages -- to helter-skelter mix format layout and content. Rather, teach them to do it right (better) with superior tools. Are you saying that while the CFMX approach is good enough for you and I to use, it is not good enough for our kids? What do you propose instead? I hate to be a wet blanket, but I'm not a big fan of teaching CF programming to kids, for several reasons. First, I'm not sure that we should be teaching programming to kids generally; on the list of things that everyone should learn, I think it's pretty low. There's a difference between learning basic computer skills (which, sadly, are necessary for almost everyone nowadays) and learning how to program. I think it's a sad commentary on the state of the computer industry that people have to spend so much time learning basic computer skills, actually - these things are supposed to be easy to use, but of course they aren't, really. I'd much rather see every student have a firmer grasp on the three Rs than have them all able to churn out web applications. I'd rather see civics classes again, actually. I just don't think programming is all that important, I guess. Second, for those students who want to learn programming, I think it's more important to focus on core programming concepts than it is to teach the specifics of CFMX. I'd rather see them learn programming using a lower-level language than CFML, and a more general-purpose language, too. I think Java and Python would be better languages for learning how to program. Finally, for teaching purposes, you don't want to make things too easy - for example, if you wanted to teach someone about HTML, Notepad would be a better tool (I think) than Dreamweaver MX. I see this a lot, actually, now that Dreamweaver is used in the Macromedia courses. The Fast Track To ColdFusion class is easier for students, because they don't have to know any HTML to get through it, but the students don't actually know how to generate a dynamic select box, say, because in Dreamweaver you do it by clicking on a button or two, rather than by typing in the necessary HTML and CFML. So, yes, CFMX is good enough for us to use, but not good enough for our kids. Personally, I'd be very distraught if my kids ended up being CF programmers. Shouldn't we want our kids to be better off than we are? (I don't have any kids, so this is purely hypothetical for me. If I did, I'd be pushing them toward law school instead of programming.) So, now you have a 13-year-old who understands HTML, CFML, SQL-- watch out! That's all well and good - if he's going to start working today as a consultant. In the long run, again, I think he'd be better served by learning general programming theory rather than the specifics of languages that may well be obsolete by the time he's ready to work in the field. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
RE: CFSET in CFMX
It's really interesting - to me - to see such attention to such 'small' language details in terms of performance. ColdFusion is the only language I've ever worked in where such small details made such big difference in speed... and now it seems it is only historical (which is code: CFML now behaves more like other languages). In my experience, which may run contrary to others', these small language details didn't generally make much difference in CF 5 or previous versions, actually. For some reason, though, CF programmers have tended to focus on them to a degree way out of proportion to their actual impact on the average web application. I'm not sure why this is; I think it might have to do with the degree of ambiguity and looseness in CFML. I've worked with quite a few CF applications, though, and I haven't yet encountered a situation where these sorts of things were the performance bottlenecks within the application. So, when I see these sorts of things, they bring to mind debates about how many angels can dance on the head of a pin. Meanwhile, I've seen far too many CF developers neglect the very foundations of adequate web application performance - caching, database optimization, server tuning, and did I mention caching? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: Lists vs. Arrays vs. Structures
I think your missing the point of what a list is in ColdFusion in relationship to what an array or structure is. A list is simply a string that will have to be parsed by CF to be seen as a collection of data. After its been parsed it can then be searched. That parsing, especially when done in Java is what the true question is. Will a structure, which already has the individual items separated into storage areas operate faster than a string which has to do more work? I'd expect the structure to be faster, but its not. I think that a new array search function might be in order here. Something to look through an array for a value and return its index. I'm not sure what you are really trying to accomplish here. It is a well known fact that the data structure of choice to do a linear search against is a list. Any linear search is going to be O(N) plus whatever overhead each operation incurs and a list has the lowest overhead per operation. You only want to use arrays or maps (structs) when you require random access to the data. Arrays tend to be a good way of representing different types of trees, which generally are the best data structures to search for a value against. For example, balanced trees can generally offer O(log N) worst case. Finally, maps are generally meant to be when you are dealing with known keys. If you know the key, a map is O(1) for retrieving the value, which is always going to be better than any other data structure. However, if you attempt to search a map without knowing a key then you are really no better off than searching a list. See http://www.cs.fiu.edu/~weiss/ for more information on algorithms and data structures. Matt Liotta President CEO Montara Software, Inc. http://www.montarasoftware.com/ 888-408-0900 x901 -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 12:06 AM To: CF-Talk Subject: Lists vs. Arrays vs. Structures I'm rewriting my CFMakeTree tag in order to make it tighter and work in CFMX better. One of the assumptions I had was that Lists would be problematic in comparison to Arrays or Structs. My first test was to find a value in one of these data collections. For Lists I used ListFindNoCase. For Arrays, I looped over the array to find the value and for Structs I used StructFindValue(). I ran each test in a 1000 iteration loop to see if anything showed up. On the whole, Arrays took the longest, which is to be expected as they had to loop (no native arrayfind function). Structures took less then 10% of the array time to search and lists took 1/3 of the struct time. The data set was 0-9a-z written out in full and the item searched for was the z. So the results are basically that lists are easier to search than either structures or arrays. As a side note, I tried using a query of queries and it was much, much slower. The second experiment was to loop over each data collection. In this, we see much different results. Arrays were fastest. Lists were anywhere from about as fast as an array to twice as slow. Structures tended to be on par with lists, but sometimes slower. On the whole, unless you see a need to, I'd stick with using lists in CFMX. I have heard of people who have seen some major slowdowns due to lists and I'd love to hear the specifics. Michael Dinowitz Master of the House of Fusion http://www.houseoffusion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids
This led me to do some searching for Logo and turtle graphics (2nd grade for me) and I found this, and it actually pertains to the original thread (kind of) http://c2.com/cgi/wiki?WhatSortOfComputationWouldInterestJuniorSchoolCh ildren This is an off-shoot of an article talking about Logo in general. The link for that is: http://c2.com/cgi/wiki?LogoLanguage -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 5:13 PM To: CF-Talk Subject: Re: CF4K was Re: Macromedia listening? is RE: ColdFusion for kids Yes! Logo! Who can forget the turtle turtlegraphics? Dick On Saturday, December 7, 2002, at 05:02 PM, Stacy Young wrote: I would say they do...school system is quite good in most areas. We had a computer lab when I was in elementary school. (All MACs/Apples)...There were maybe 15 machinesand that was back in..um...83-84 maybe? Most projects involved working with a program called Logo...it was a little turtle that u would program to draw pictures. That's actually what generated my first interest in puters. FD 60 (forward 60 pixels) RT 45 (right turn 45 degrees) FD 100 LT 90 FD 150 There were school contests for drawing more elaborate things that involved some flash-like programming... Stace ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com