Databases :: SQL Compatibility issues :: Coldfusion vs. HTML |
|||
| By: WarriorLibrarian |
Date: 20/10/2004 00:00:00 |
Points: 125 | Status: Answered Quality : Excellent |
|
Greetings -- I work at a small local newspaper that is posted online daily, which anyone could access for free. 7 months ago, the publisher of the paper decided that we should collect aggregate data about our viewers. This snowballed into a total re-design of the site. Originally, the site was built everyday by running the stories through a html exporter which generated each story into a nice, simple .htm page. Now, it is all ColdFusion and loads up far slower and the viewers hate it. Plus, for my collegues and I, who have to post the site, it has become far more difficult. The site now requires registration before viewing the full text of a story. Views can see the "section" (Front, Sports, etc.) without registration. Here's the question; would it have been possible to create a site that required registration before viewing full text, collected simple aggragate data while still using .htm files? As you can tell, I'm wholly unfamiliar with ColdFusion (and pretty much anything other than HTML), so I don't know if I have asked this right. Basically, would it have been possible to require registration to our site's content while not changing anything else? Thanks! WarriorLibrarian |
|||
| By: daniel_c | Date: 21/10/2004 23:54:00 | Type : Answer |
|
| would it have been possible to create a site that required registration before viewing full text, collected simple aggragate data while still using .htm files? ---> Yes, it's possible. <html> <head><title>Test</title></head> <body> <form name=form1 action="mailto:daniel@eresources.com?subject=registration" method="post" enctype="text/plain"> Name: <input type=text name=txtName> E-mail: <input type=text name=txtEmail> <input type=submit> </form> </body> </html> |
|||
| By: VGR | Date: 22/10/2004 00:31:00 | Type : Assist |
|
| I also think the answer is "yes", and I would probably have recommended PHP for this. The changes could have been 100% unnoticeable by the users (I already ported sites like this) |
|||
| By: pstavrinides | Date: 22/10/2004 00:50:00 | Type : Assist |
|
| It's quite simple to do it, especially with a very powerfull language such as ColdFusion, ColdFusion should not have slowed your site, and is ideal for what you want. |
|||
| By: Odyssey122 | Date: 22/10/2004 14:35:00 | Type : Assist |
|
| You could of done it in ASP, PHP, ASP.NET.. There are tons of sites for just this.. <A HREF="http://www.hotscripts.com">www.hotscripts.com</A> <A HREF="http://www.totalscripts.com">www.totalscripts.com</A> <A HREF="http://www.asp-free.com">www.asp-free.com</A> <A HREF="http://www.w3schools.com">www.w3schools.com</A> You can search each of those sites, for examples scripts. Now take it <A HREF="http://www.w3schools.com">www.w3schools.com</A> is more for learning and research, but it also has example scripts. It's just more into training you, than you ripping off a script like the others. It's however you want to learn, I use them all. CFM is powerful, but I would have to say it's one of the slower languages and I wouldn' suggest it for a high traffic site. Microsoft used it there for a little while and now they are using asp, htm and mspx. Cause it was way to slow to load on their high traffic site. Now the database part may be coldfusion, but my guess it's probably SQL. Hope that helps! CJ |
|||
| By: Odyssey122 | Date: 22/10/2004 14:36:00 | Type : Comment |
|
My bad it's <A HREF="http://www.aspfree.com">www.aspfree.com</A> .... CJ |
|||
| By: sg_310l | Date: 25/10/2004 20:36:00 | Type : Assist |
|
| You can create secure folders with .htaccess with just using HTML (without using Coldfusion, ASP, etc) So that if users wanted to read the fuill text of a story you would link them to an HTML file inside this secure folder, the user would be prompted with a dialog box for a username and password. This is really the only way without learning a programming language But it is a pain maintaining a userlist with .htaccess I would say learn ASP |
|||
| By: fmedia | Date: 26/10/2004 17:32:00 | Type : Assist |
|
| Coldfusion should never have slowed down your site ... if it did, something is wrong and the cause might be in the code quality ( like spaghetty code ) ... As for the performance issue ( coldfusion performance ), that's completly untrue, specially if you use cfmx 6.1, wich is a lot faster than classic asp that's for sure ! ( i currently work with all cfmx, php and asp+, and they act almost equal, but i prefer cfmx in the scalability area ). The best option i guess is to hire or talk to a cf developer and make him search for some kind of botleneck. As sg_310l using .htaccess files can be a real pain in the neck to mantain ... P.S : check also the version of your cf server ! regards, idss |
|||
|
Do register to be able to answer |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








