RE: For consideration...
I like it in principle but what is your idea of ajax based server side validation... Server side validation needs to always be done prior to the server uitlizing the inputs (inserting into the DB etc). You can't validate using an ajax request and THEN submit the form values using a submit request... You sumbit the form and then validate... Otherwise your validation is easily circumvented and of no value... Right? Am I missing something? Are you talking about ajax submissions encorporating validation? -Mark -Original Message- From: Justin Scott [mailto:jscott-li...@gravityfree.com] Sent: Friday, December 11, 2009 4:55 PM To: cf-talk Subject: For consideration... I'm tired of writing form input validation routines over and over again. Using CFINPUT and its validation options work great for the front end, but it's still a pain to write input validation on the server-side, and the rules between the two can get out of sync, and the built-in validation rules don't have as much flexibility as server-side rules do. I'm working on a project where I have some flexible time to write a new tool and wanted to see if there would be any interest in the community in a tool defined as such: A form library that would allow a form with all of its properties and validation requirements to be defined in one place (likely a JSON file) which would then 1) Generate the form for display (optional), 2) provide for AJAX-based client-side validation, and 3) provide server-side validation. The core library would have a number of built-in validation options and allow for new rules to be added as needed without changing the core library files. My thought is that this would help speed development by centralizing form definitions and properties and make input validation on both the client and server side consistent and reliable without having to constantly write and rewrite huge blocks of cfif/cfelseif code for each form. Thoughts? Opinions? Bad idea? Someone already release something that does this? If it sounds like something you could use, please let me know. If it's pursued, it would be released free for the community to use, but I don't want to waste time building it if something similar exists or nobody else could benefit from it. Any feedback appreciated. -Justin Scott ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329115 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: For consideration...
I haven't tried these but they may be what you are looking for http://www.validatethis.org/ http://www.validatethis.org/http://thor.riaforge.org/ http://thor.riaforge.org/ 2009/12/12 Justin Scott jscott-li...@gravityfree.com I'm tired of writing form input validation routines over and over again. Using CFINPUT and its validation options work great for the front end, but it's still a pain to write input validation on the server-side, and the rules between the two can get out of sync, and the built-in validation rules don't have as much flexibility as server-side rules do. I'm working on a project where I have some flexible time to write a new tool and wanted to see if there would be any interest in the community in a tool defined as such: A form library that would allow a form with all of its properties and validation requirements to be defined in one place (likely a JSON file) which would then 1) Generate the form for display (optional), 2) provide for AJAX-based client-side validation, and 3) provide server-side validation. The core library would have a number of built-in validation options and allow for new rules to be added as needed without changing the core library files. My thought is that this would help speed development by centralizing form definitions and properties and make input validation on both the client and server side consistent and reliable without having to constantly write and rewrite huge blocks of cfif/cfelseif code for each form. Thoughts? Opinions? Bad idea? Someone already release something that does this? If it sounds like something you could use, please let me know. If it's pursued, it would be released free for the community to use, but I don't want to waste time building it if something similar exists or nobody else could benefit from it. Any feedback appreciated. -Justin Scott ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329116 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: For consideration...
I like it in principle but what is your idea of ajax based server side validation... Server side validation needs to It would use JavaScript to push the form data to a validation routine on the server before the form is posted to give the user a better experience as a preferred method. If JavaScript were disabled then the form would post and the form data would be run through the validation process on the server as a fall-back. It would use the same validation engine for client-side and server-side so they would always be in sync and follow the same rules and not be able to be bypassed. -Justin Scott ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329117 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: For consideration...
The app can do both. The idea is to write one set of server-side validation routines in CF. The app then uses AJAX to check fields as the used fills them out, for the benefit of the user; it also checks them server side on submission to ensure data integrity and prevent circumvention of the validation routines. A framework to easily apply the validation at both ends would make it all a low maintenance thing - the validation need only be written once and can be maintained in one place. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/12/12 Mark Kruger mkru...@cfwebtools.com: You can't validate using an ajax request and THEN submit the form values using a submit request... You sumbit the form and then validate... ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329118 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: For consideration...
I haven't tried these but they may be what you are looking for http://www.validatethis.org/ That looks very promising and similar to what I had in mind. I certainly don't want to reinvent the wheel if this does what it appears to say it does. I'll check it out over the weekend and post back. -Justin Scott ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329119 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: For consideration...
Got... Clever. I see exactly what you are getting at. The use of ajax for client side makes the validation run the exact same routines. Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: James Holmes [mailto:james.hol...@gmail.com] Sent: Friday, December 11, 2009 5:35 PM To: cf-talk Subject: Re: For consideration... The app can do both. The idea is to write one set of server-side validation routines in CF. The app then uses AJAX to check fields as the used fills them out, for the benefit of the user; it also checks them server side on submission to ensure data integrity and prevent circumvention of the validation routines. A framework to easily apply the validation at both ends would make it all a low maintenance thing - the validation need only be written once and can be maintained in one place. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/12/12 Mark Kruger mkru...@cfwebtools.com: You can't validate using an ajax request and THEN submit the form values using a submit request... You sumbit the form and then validate... ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329120 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Hardware Consideration
Mark, I assume the OS would be windows advanced server? Why advanced? Michael. Date: Sun, 16 Sep 2001 14:11:10 +0200 From: Michael Lugassy [EMAIL PROTECTED] Subject: Hardware Consideration Message-ID: 000e01c13ea8$adc3c240$[EMAIL PROTECTED] This may seem a bit OT, but if any pro. can help me out here, I'll be glad to hear all tips and pointers. I'm intrested in buying a 1U server to host our full-text/SQL/coldfusion IIS website. The server mostly run SQL Full-text queries, (10-20 million text rows) Also, there some Coldfusion scripts that consumes some resources for calucluation, generating and querying. Further more, the site send out hunderds of images and htmls very quickly, in a high above average rate. How can I check which server will be enough? Should I consider SCSI or settle for IDE? Should I consider more ram (1-2Gb over 512MB) and settle for a slower CPU? Any help or links on the subject would be great! Michael. brbrbrMark Smeets/stranger0/ICQ #1062196 My new email: [EMAIL PROTECTED] Mr. West, not every situation requires your patented approach of shoot first, shoot later, shoot some more and then when everybody's dead try to ask a question or two - Wild Wild West A Stranger's Domain http://24.113.34.178/stranger Official Splitting Adam Homepage http://www.splittingadam.com/ ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hardware Consideration
You should only spend the money on Advanced Server if you have a massive farm, in which you have some high-dollar servers. That sounds like this isn't the case. (advantages of Win2K AS over regular Server: supports up to 8 cpus, up to 8 gb of ram, and has clustering support) --- Billy Cravens Web Development, EDS [EMAIL PROTECTED] -Original Message- From: Michael Lugassy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 18, 2001 5:38 AM To: CF-Talk Subject: Re: Hardware Consideration Mark, I assume the OS would be windows advanced server? Why advanced? Michael. Date: Sun, 16 Sep 2001 14:11:10 +0200 From: Michael Lugassy [EMAIL PROTECTED] Subject: Hardware Consideration Message-ID: 000e01c13ea8$adc3c240$[EMAIL PROTECTED] This may seem a bit OT, but if any pro. can help me out here, I'll be glad to hear all tips and pointers. I'm intrested in buying a 1U server to host our full-text/SQL/coldfusion IIS website. The server mostly run SQL Full-text queries, (10-20 million text rows) Also, there some Coldfusion scripts that consumes some resources for calucluation, generating and querying. Further more, the site send out hunderds of images and htmls very quickly, in a high above average rate. How can I check which server will be enough? Should I consider SCSI or settle for IDE? Should I consider more ram (1-2Gb over 512MB) and settle for a slower CPU? Any help or links on the subject would be great! Michael. brbrbrMark Smeets/stranger0/ICQ #1062196 My new email: [EMAIL PROTECTED] Mr. West, not every situation requires your patented approach of shoot first, shoot later, shoot some more and then when everybody's dead try to ask a question or two - Wild Wild West A Stranger's Domain http://24.113.34.178/stranger Official Splitting Adam Homepage http://www.splittingadam.com/ ~~ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hardware Consideration
Are you looking for a database Server ( SQL Server? Oracle?) or a ColdFusion server, or a machine that can handle both at once? It is usually recommended that you try to separate your database server from your Application Server. At 02:11 PM 09/16/2001 +0200, you wrote: This may seem a bit OT, but if any pro. can help me out here, I'll be glad to hear all tips and pointers. I'm intrested in buying a 1U server to host our full-text/SQL/coldfusion IIS website. The server mostly run SQL Full-text queries, (10-20 million text rows) Also, there some Coldfusion scripts that consumes some resources for calucluation, generating and querying. Further more, the site send out hunderds of images and htmls very quickly, in a high above average rate. How can I check which server will be enough? Should I consider SCSI or settle for IDE? Should I consider more ram (1-2Gb over 512MB) and settle for a slower CPU? Any help or links on the subject would be great! Michael. ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hardware Consideration
Jeffry, Are you looking for a database Server ( SQL Server? Oracle?) or a ColdFusion server, or a machine that can handle both at once? It is usually recommended that you try to separate your database server from your Application Server. Something that can handle both at once (SQL and IIS/Coldfusion). Michael. ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hardware Consideration
I got some good hardware from this guy, but it doesn't look like he's going to be selling any longer: http://www.dark-wave.net/index.html This may seem a bit OT, but if any pro. can help me out here, I'll be glad to hear all tips and pointers. I'm intrested in buying a 1U server to host our full-text/SQL/coldfusion IIS website. The server mostly run SQL Full-text queries, (10-20 million text rows) Also, there some Coldfusion scripts that consumes some resources for calucluation, generating and querying. Further more, the site send out hunderds of images and htmls very quickly, in a high above average rate. How can I check which server will be enough? Should I consider SCSI or settle for IDE? Should I consider more ram (1-2Gb over 512MB) and settle for a slower CPU? Any help or links on the subject would be great! Michael. ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hardware Consideration
It is not a general practice to put CF and SQL on the same box as SQL (as well as CF) can become extremely resource intensive and slow everything down to a halt. If you have the cash, buy two good boxes rather than one expensive box. Eric J Hoffman Director of Internet Development Small Dog Design, LLC www.smalldogdesign.com Home of MN Vikings Fans Worldwide! www.purplepride.org -Original Message- From: Michael Lugassy [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 16, 2001 7:11 AM To: CF-Talk Subject: Hardware Consideration This may seem a bit OT, but if any pro. can help me out here, I'll be glad to hear all tips and pointers. I'm intrested in buying a 1U server to host our full-text/SQL/coldfusion IIS website. The server mostly run SQL Full-text queries, (10-20 million text rows) Also, there some Coldfusion scripts that consumes some resources for calucluation, generating and querying. Further more, the site send out hunderds of images and htmls very quickly, in a high above average rate. How can I check which server will be enough? Should I consider SCSI or settle for IDE? Should I consider more ram (1-2Gb over 512MB) and settle for a slower CPU? Any help or links on the subject would be great! Michael. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hardware Consideration
Anandtech's IT pages are a great source for midrange server articles. Mostly they talk about their own web server farm, and what they have gone through. He also runs SQL Server and ColdFusion http://www.anandtech.com/it/index.html jon Michael Lugassy wrote: This may seem a bit OT, but if any pro. can help me out here, I'll be glad to hear all tips and pointers. I'm intrested in buying a 1U server to host our full-text/SQL/coldfusion IIS website. The server mostly run SQL Full-text queries, (10-20 million text rows) Also, there some Coldfusion scripts that consumes some resources for calucluation, generating and querying. Further more, the site send out hunderds of images and htmls very quickly, in a high above average rate. How can I check which server will be enough? Should I consider SCSI or settle for IDE? Should I consider more ram (1-2Gb over 512MB) and settle for a slower CPU? Any help or links on the subject would be great! Michael. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hardware Consideration
I'm intrested in buying a 1U server to host our full-text/SQL/ coldfusion IIS website. The server mostly run SQL Full-text queries, (10-20 million text rows) Also, there some Coldfusion scripts that consumes some resources for calucluation, generating and querying. Further more, the site send out hunderds of images and htmls very quickly, in a high above average rate. How can I check which server will be enough? Should I consider SCSI or settle for IDE? Should I consider more ram (1-2Gb over 512MB) and settle for a slower CPU? Before you can come up with especially useful answers, you'll need to know: 1. what amount of traffic you expect to get, 2. what amount of traffic you're willing to support in a worst-case scenario, 3. how this traffic will be distributed over the course of a day, 4. what kind of things happen on the site, 5. how long your users will be willing to wait, 6. and a bunch of things I'm surely forgetting. For example, you might normally have a load of five thousand users per day, but they might all visit at lunch time. Or, you might normally have one thousand users a day, but you're going to be mentioned on TV this week. The kinds of things that people do on the site will also have an effect on this. For example, transactional processing will require more resources than simply viewing data (which may very well be cached). On the other hand, if you have a relatively captive user base, they might be willing to wait longer than average. As you can see, there are a lot of variables that go into capacity planning. However, given the information you've provided, I'd recommend that: 1. You get two mediocre servers instead of one really good server. Put the SQL Server on a separate box. This not only improves performance, but increases stability - web/application servers tend to fail pretty often compared to database servers, and you don't want to constantly tinker with your database server. In addition, it will increase performance and prevent annoying fights between CF and SQL Server about who's getting what memory - those don't turn out very well. 2. Put as much RAM into your web/application server as you can. CF benefits from lots of in-memory caching, if it has the memory. I'd recommend at least 1 Gb. 3. You'll get considerably better disk performance with SCSI on your servers. IDE is getting better all the time, but I don't think it's caught up yet. 4. If you do get separate servers, you might get better performance by putting the database server on a separate network, and putting your web server on both the database server's network and the external one. Obviously, you'd need two NICs in your web server for this. In addition to better performance, you'd probably have better security. The down side of this is that it makes it harder to manage the servers if they're at a dedicated hosting facility. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hardware Consideration
Hey Michael, Having put together my own machines and my own server, this much I will say, while I've never used SQL, I am running IIS and CF. The thing is you're dealing with windows so you have to think memory. You need at least 256mb. I think what you should look at is something along the lines of a p4 850, 256mb with a 40gig drive. Cheap 50$ video card and no soundcard. That shouldn't be too much and go for SCSI too. I assume the OS would be windows advanced server? Date: Sun, 16 Sep 2001 14:11:10 +0200 From: Michael Lugassy [EMAIL PROTECTED] Subject: Hardware Consideration Message-ID: 000e01c13ea8$adc3c240$[EMAIL PROTECTED] This may seem a bit OT, but if any pro. can help me out here, I'll be glad to hear all tips and pointers. I'm intrested in buying a 1U server to host our full-text/SQL/coldfusion IIS website. The server mostly run SQL Full-text queries, (10-20 million text rows) Also, there some Coldfusion scripts that consumes some resources for calucluation, generating and querying. Further more, the site send out hunderds of images and htmls very quickly, in a high above average rate. How can I check which server will be enough? Should I consider SCSI or settle for IDE? Should I consider more ram (1-2Gb over 512MB) and settle for a slower CPU? Any help or links on the subject would be great! Michael. brbrbrMark Smeets/stranger0/ICQ #1062196 My new email: [EMAIL PROTECTED] Mr. West, not every situation requires your patented approach of shoot first, shoot later, shoot some more and then when everybody's dead try to ask a question or two - Wild Wild West A Stranger's Domain http://24.113.34.178/stranger Official Splitting Adam Homepage http://www.splittingadam.com/ _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: in consideration of large arrays?
Nevermind :) FOund what I was looking for. Sean -Original Message- From: Sean German [mailto:[EMAIL PROTECTED]] Sent: Monday, May 22, 2000 8:45 PM To: '[EMAIL PROTECTED]' Subject: in consideration of large arrays? Howdy fusioneers, I know theoretically the size of an array is limited by the available memory, but what other considerations need to be made when working with large arrays? -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.